how to make a ksoap2 request with multiple property in android?

Posted by nexusone on Stack Overflow See other posts from Stack Overflow or by nexusone
Published on 2012-08-31T14:48:20Z Indexed on 2012/08/31 15:39 UTC
Read the original article Hit count: 193

Filed under:
|
|
|

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!

© Stack Overflow or respective owner

Related posts about java

Related posts about request