Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Can I call SOAP based web service from Cocoa Touch?

Posted on 2010-09-24
8
1,046 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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
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
 
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you are anything like me, you install many apps on your phone and have your life on it, sometimes literally.  When I bought my current phone, a Samsung Galaxy S5 from Verizon, they were only selling the versions with 16 GB internal.  I didn't rea…
For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

856 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