Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 19, 2011, 07:56 AM   #1
mpramodjain
macrumors regular
 
Join Date: Nov 2008
Location: Banglore
DOM Parser - Parse Soap Body

As per this link , I found libxml2-DOMhttp://www.raywenderlich.com/553/how...iphone-project parser as the best to go.

But I had the following problem. The xml response I am getting from the server includes the soap body also as follows :

Quote:
<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>

<xmlContent> subtags and data </xmlContent>

</soap:Body></soap:Envelope>



Now my problem, when I use libxmlparser (or any dom parser as mentioned), My response is not getting parsed as expected.

How to parse the soap response with above format without using substring methods of nsstring (as I don't want to hardcode the response).
mpramodjain is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Disable DOM Context Menus Blakeasd Mac Programming 0 Sep 3, 2013 07:27 PM

Forum Jump

All times are GMT -5. The time now is 09:16 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC