Currently I am working on the problem to communicate with a WebService using Soap.
There seems to be no really stable framework coded in objective-c. So I thought about using some C++. But I wonder if its really possible to work with C++ on the Iphone because of the need C++ libs.
Has anyone other ideas for connection to a Web Service or experience in using C++ on Iphone ?
Currently I am working on the problem to communicate with a WebService using Soap.
There seems to be no really stable framework coded in objective-c. So I thought about using some C++. But I wonder if its really possible to work with C++ on the Iphone because of the need C++ libs.
Has anyone other ideas for connection to a Web Service or experience in using C++ on Iphone ?
I use the iPhone SDK for webservices. I create a request like the next code fragment shows, and use NSXMLParser for parsing the response. (use NSXMLParser delegates for nested XML tags).
Yes shure it works for small things like communication with a Hello World passing a string an receiving somehting.
The webservice i have to connect to offers several services with a lot of objects to serialize and pass through. So my favorite way would be a good wsdl2obejctive-c with a soap framework...
My last option would be to write all the objects by hand and setup all the needed soap messages by hand...
Yes shure it works for small things like communication with a Hello World passing a string an receiving somehting.
The webservice i have to connect to offers several services with a lot of objects to serialize and pass through. So my favorite way would be a good wsdl2obejctive-c with a soap framework...
My last option would be to write all the objects by hand and setup all the needed soap messages by hand...
FYI (& others): I use it to parse xml responses 5 to 8 levels deep.
It's usable for more complex stuff than just 'Hello World'.
But hey, If you do find an easy shortcut, please share.
I'm the author of dXml. I'm fairly new to Mac stuff so theres been a delay whilst I've figured out howto document stuff. I just recently found the GitHub Pages and worked out how to use it. It's quite a learning curve with Objective C iphone SDK, markdown, textile, jekyll and liquid all in the mix
I have a problem: when i receive the response from the webservice, i receive a xml file, but it contains a header (soap header).
When I use the NSXMLParser, is recognizes 4 elements (soap header) and the other elements (the ones i'm interested in), it recognizes as string.
How can i not receive the soap header?
I use the iPhone SDK for webservices. I create a request like the next code fragment shows, and use NSXMLParser for parsing the response. (use NSXMLParser delegates for nested XML tags).