Part 4: Talking to an asmx web service – A .net developer learns objective-c for iPhone iPad

So here i am reading up on how the cocoa touch framework doesn’t have support for working with xml too easily and its not an easy task to undertake in manually parsing a soap xml… when along comes something so amazing i may have wee’d my pants a little.

Behold http://sudzc.com

SudzC is an amazingly helpful website where you simply pass it a url to an asmx or upload a wsdl file, it spits you out a fully fledged example project along with reference documentation and the source code you’ll need to include to make webservice communication as easy as…

image

Important stuff is the:

[service … line and the Completed action (or event in .net speak) it returns. I simply just spat some stuff out to the log to see some results.

What’s is awesome and worth mentioning (again) is what is in ws.iPhone.zip\Source\Examples. From within the zip you get sent from SudzC is the all important examples you need to start cracking (with YOUR webmethods).

SudzC … i think i’m in love!