Search code examples
iphoneweb-servicessoapcode-reusereusability

reusable web services code for iPhone


I am very new to iPhone development and previously was working with Java.

Currently I am using SOAP web services in my project and want to continue with the same.

But everytime i have to write the same code for all kinds of web services except for the parameters.

Can anyone guide me regarding how can i create a reusable code for web-services, so that i can use it as a static library or something for every project and then i wont need to write any code separately for each kind of web service?

I want to create a code which would be very generic and will be work for all kinds of web services irrespective of the number of parameters.


Solution

  • create the singleton class and method will be class methods then they will be globally used you can use them by doing a little modification in the code .