One of the main requirement for our project is to communicate with the SOAP web service methods. Previously with the java and kSoap2 protocol, I am able to parse the response messages.
We have some complex response messages to parse with. I did not find any other sample than the currency converter sample.
We have some method which needs to be called with 2 parameters and needs to parse the response which is having several Xml parent and child elements. Do we have any sample application which parses the response to elements/array etc.?
I tried to retrieve one of the method output, it just returns the html without required value in response text.
Any example can I get in this regard.
Format of the webservice response is like this. Version tag will have the result.
<?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>
<CurrentVersionResponse xmlns="http://**********/">
<CurrentVersionResult>
<Version>string</Version>
</CurrentVersionResult>
</CurrentVersionResponse>
</soap:Body>
</soap:Envelope>
We have some complex response messages to parse with. I did not find any other sample than the currency converter sample.
We have some method which needs to be called with 2 parameters and needs to parse the response which is having several Xml parent and child elements. Do we have any sample application which parses the response to elements/array etc.?
I tried to retrieve one of the method output, it just returns the html without required value in response text.
Any example can I get in this regard.
Format of the webservice response is like this. Version tag will have the result.
<?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>
<CurrentVersionResponse xmlns="http://**********/">
<CurrentVersionResult>
<Version>string</Version>
</CurrentVersionResult>
</CurrentVersionResponse>
</soap:Body>
</soap:Envelope>