This is a very simple example. More typically you would be parsing the xml string into a document and then setting values first. Also note that whilst not obvious, dXml is parsing the response from the web service into it’s own document model and storing it inside the response object. Another point of interest is the error handling. Very simple here, but usually you would use methods from a category dXml applies to the NSError class which can tell you if there is a SOAP fault and provide the data from it.

Dependencies

If you just want to use the static library then there are no dependencies.

If you wish to compile the code then you will need the following APIs:

dUsefulStuff is a project that I have created to centralise stuff I want to use across many projects. Some of that are a set of bash scripts which I use to build projects such as this. You will need to either download the project dmg file or check out the project to get the scripts.

GH-Unit is a JUnit style unit testing framework for iPhone applications. The advantages of it over the sen testing framework that comes with xcode is that it runs on the simulator, allows full debugging and is dead simple to use.