how to make a ksoap2 request with multiple property in android?
- by nexusone
I must make the following soap request, but we can not succeed, I tried in several ways and fails, I always get a blank field in response.
Request should look like this:
POST /service.asmx HTTP/1.1
Host: host
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "SOAPAction"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<GetQuickParkEvents xmlns="NAMESPACE">
<User>
<ID>int</ID>
<Name>string</Name>
<UserName>string</UserName>
<Password>string</Password>
</User>
<Filter>
<TimeSpan>
<Since>dateTime</Since>
<To>dateTime</To>
</TimeSpan>
<Reg>string</Reg>
<Nalog>string</Nalog>
<Status>string</Status>
<Value>string</Value>
</Filter>
</GetQuickParkEvents>
</soap:Body>
</soap:Envelope>
I thank you in advance if anyone can help me!