I have problems regarding the output of the XMLReader , which should be able to parse any SOAP-Result into an NSDictionary.
When I go through the results I get the following:
Key: soapEnvelope, Value: {the rest of the xml-file to the end, with all tags, but it seems to be a long string}
What am I doing wrong here since I expected to get a NSDictionary with all of my XML-Tags as a key?
Edit: Since I´m working and trying to understand this since days, I may be totally in the wrong direction, so if possible... here´s my XML:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GetData2Response xmlns="http://tempuri.org/">
<GetData2Result>
<NoOfObjectsDetected>1</NoOfObjectsDetected>
<RectanglesForPicture>
<Rectangle>
<Location>
<X>90</X>
<Y>14</Y>
</Location>
<Size>
<Width>352</Width>
<Height>352</Height>
</Size>
<X>90</X>
<Y>14</Y>
<Width>352</Width>
<Height>352</Height>
</Rectangle>
</RectanglesForPicture>
<ReturnMessage>Juhu!</ReturnMessage>
</GetData2Result>
</GetData2Response>
</soap:Body>
When I want to have Lets say NoOfObjectsDetected in an int - what exactly do I have to do? (It´s stupid, I know... but I´m lost atm... thx)