iossoapwsdltouchxml

Part `<` and part `&lt;` in one NSData


I'm accessing http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php using code generated by http://sudzc.com

The SOAP message is being sent and I can see the returned message and here I've a screenshot for the NSData that I print out in connectionDidFinishLoading.

Wired thing is, symbol < shows up correct at the beginning, but then it's &lt;.

Can anyone suggest how can I fix this?

Output


Solution

  • I checked the WSDL for this web service, it actually returns a xml in the html body part.

    <message name="NDFDgenByDayResponse">
       <part name="dwmlByDayOut" type="xsd:string" />
    </message>
    

    So that respond is actually correct and I will just have to parse it on my own.