Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1074
  • Last Modified:

Can I call SOAP based web service from Cocoa Touch?

I am proting an app from c# win mobile to iPhone 4.  I would like to reuse existing web service.  Is this possible and if so what is involved

Note, I have no clue about iPhone dev.  I am being trained later on

Thanks
0
gbzhhu
Asked:
gbzhhu
  • 5
  • 3
1 Solution
 
pgnatyukCommented:
webservices is not a part of the iOS SDK. So you will need to write your own solution.

Using SOAP web services on the iPhone
https://developer.omniture.com/node/321

iPhone Programming Tutorial – Intro to SOAP Web Services
http://icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/
0
 
gbzhhuAuthor Commented:
pgnatyuk

Thanks for that.  The webservice was/is for extracting data from DB and writing data back to DB, that is all.  What is the best way to do that with iOS? CoreData?
0
 
pgnatyukCommented:
I'd implement this way: https://developer.omniture.com/node/321
 
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
gbzhhuAuthor Commented:
Thanks.

Could you share your reasons of why you chose that.  I have people here who will want to knowwhy I did the weay I did things.  
0
 
pgnatyukCommented:
Ok. So don't do it.
0
 
pgnatyukCommented:
Check this code:
Send NSString to windows Web Service through SOAP
http://iphonesdksnippets.com/post/2010/03/26/Send-NSString-to-windows-Web-Service.aspx
0
 
gbzhhuAuthor Commented:
That reads much better and I can see what is being done.  Thanks
0
 
pgnatyukCommented:
You are welcome
 
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now