Solved

Can I call SOAP based web service from Cocoa Touch?

Posted on 2010-09-24
8
1,050 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
[X]
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
  • 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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Are you looking to clear some space on your phone for the latest iOS 8 update? Did you switch to Spotify so you no longer need to keep music native on your phone? Run out of space for taking photos while in the middle of vacation? Sometimes the quic…
If you use the Google Now Launcher, as an aftermarket add on, have a Samsung Note 5 and are worried about power consumption be wary of using the ultra power saving mode.  Here is what happened to me when I made the mistake of trying this out...
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 how to use strings and some functions related to them in the C programming language.

688 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