Skip to content

Soap request changes by device #133

@hadmir

Description

@hadmir

Same request is sent as different HTTP request on 2 different phones:

Request:

SoapObject request = new SoapObject(http://server.naviservices.zmo.digitech.cz/, "getTour");
addStringProperty(request, "id", "q27uw3");
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.dotNet = false;
envelope.setOutputSoapObject(request);
HttpTransportSE androidHttpTransport = new HttpTransportSE("http:/someurl.com", 5000);
androidHttpTransport.call("http://server.naviservices.zmo.digitech.cz/getTour", envelope);

Sony device (Android 8.0) and most (all?) other phones:

<v:Envelope
	xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
	xmlns:d="http://www.w3.org/2001/XMLSchema"
	xmlns:c="http://schemas.xmlsoap.org/soap/encoding/"
	xmlns:v="http://schemas.xmlsoap.org/soap/envelope/">
	<v:Header />
	<v:Body>
		<n0:getTour id="o0" c:root="1"
			xmlns:n0="http://server.naviservices.zmo.digitech.cz/">
			<id i:type="d:string">q27uw3</id>
		</n0:getTour>
	</v:Body>
</v:Envelope>

Zebra device TC75 (Android 5.1.1):

<soap:Envelope
	xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:spp="http://www.wi-fi.org/specifications/hotspot2dot0/v1.0/spp">
	<soap:Header />
	<soap:Body>
		<n0:getTour id="o0" n1:root="1"
			xmlns:n0="http://server.naviservices.zmo.digitech.cz/"
			xmlns:n1="http://schemas.xmlsoap.org/soap/encoding/">
			<n0:id n3:type="n2:string"
				xmlns:n2="http://www.w3.org/2001/XMLSchema"
				xmlns:n3="http://www.w3.org/2001/XMLSchema-instance">q27uw3
			</n0:id>
		</n0:getTour>
	</soap:Body>
</soap:Envelope>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions