Today I searched for a possibility to make a webservice available for the IPhone. After looking at some forum and threads I found the following great tool: wsdl2objc – Generates Objective-C (Cocoa) code from a WSDL for calling SOAP services.

It worked fine for my development. The only thing I need to change from the usage instructions is the “Other C flags” options. (Add “-I/usr/include/libxml2″ to the Other C Flags property). I search for a predefined field until I learned that it needs to defined as a user specfic field.