how to parse soap response data
<?xml version="1.0" encoding="utf-8" ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:sqltypes=
"http://schemas.microsoft.com/SQLServer/2001/12/SOAP/types"
xmlns:sqlmessage=
"http://schemas.microsoft.com/SQLServer/2001/12/SOAP/
types/SqlMessage"
xmlns:sqlresultstream=
"http://schemas.microsoft.com/SQLServer/2001/12/SOAP/types
/SqlResultStream"
xmlns:tns="http://server/nwind2/soap"
<SOAP-ENV:Body>
<tns:MethodNameResponse>
<tns:OutputParam>Error Code 1152</tns:OutputParam>
</tns:MethodNameResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I expected the response data will be simple xml format, but the response is in soap-env.
how to parse the soap envelop xml data?
Is in soap-envelop format xml parsing is same has simple xml data parse?
example:Simple XML
<?xml version="1.0" encoding="utf-8" ?>
<error >Error Code 1152 </error>
@all Any one advice me how to parse this kind on xml
Thanks in advance.
This is wsdl web services. You can use
which will generate Objective C stubs for you.