Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jan 19, 2011, 06: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
KML parser - GroundOverlay and href-tag? MACloop iPhone/iPad Programming 0 Mar 22, 2011 04:16 AM
iPhone SDK RSS Parser - Traversing XML computerartist iPhone/iPad Programming 4 Sep 7, 2010 09:45 AM
Suds McKenzie HD - iPad Soap Scum Killing! mehware iPad Apps 1 Jun 5, 2010 01:55 AM
Parsing SOAP Response pdm7883 iPhone/iPad Programming 0 Sep 30, 2008 03:48 AM


All times are GMT -5. The time now is 01:20 AM.

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

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