I have a WSDL service that is working fine with .NET using HTTP POST Bindings, rather than using SOAP. 开发者_开发技巧 The HTTP Post request returns the raw XML for the objects etc. removing all the overhead of SOAP.
I would like to use this within the iPhone. I have located the tool at wsdl2objc tool (http://code.google.com/p/wsdl2objc/) however it seems to only generate SOAP bindings which I don't use because I don't need the overhead.
What would be the best option for using WSDL HTTP POST Bindings within the iPhone OS? It would be great if the wsdl2objc tool also supported the HTTP POST bindings however I don't see that happening soon. I would rather have this code automatically generated for when the service changes etc.
Any ideas would be greatly appreciated.
It seems that there are very few code generators around for this kind of thing. For now I lumped with wsdl2objc but shrunk the size of the data being returned from the web service in a bid to make the XML smaller and more manageable. On a slower cellular connection that the iPhone sometimes has (2G etc.) I noticed slight improvement, but nothing worth an awards evening.
精彩评论