Solved

Can I call SOAP based web service from Cocoa Touch?

Posted on 2010-09-24
8
1,044 Views
Last Modified: 2013-11-25
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
Comment
Question by:gbzhhu
  • 5
  • 3
8 Comments
 
LVL 33

Expert Comment

by:pgnatyuk
ID: 33759557
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
 
LVL 12

Author Comment

by:gbzhhu
ID: 33768401
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
 
LVL 33

Expert Comment

by:pgnatyuk
ID: 33768465
I'd implement this way: https://developer.omniture.com/node/321
 
0
 
LVL 12

Author Comment

by:gbzhhu
ID: 33768478
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
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 33

Expert Comment

by:pgnatyuk
ID: 33772453
Ok. So don't do it.
0
 
LVL 33

Accepted Solution

by:
pgnatyuk earned 500 total points
ID: 33783961
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
 
LVL 12

Author Comment

by:gbzhhu
ID: 33902442
That reads much better and I can see what is being done.  Thanks
0
 
LVL 33

Expert Comment

by:pgnatyuk
ID: 33903839
You are welcome
 
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
undefined reference to `bswap_128' 9 124
change to a different email 5 37
Link to a specific evernote 6 87
Secure mobile phones 7 70
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
A brand new malware strain was recently discovered by security researchers at Palo Alto Networks dubbed “AceDeceiver.” This new strain of iOS malware can successfully infect non-jailbroken devices and jailbroken devices alike.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now