Solved

Can I call SOAP based web service from Cocoa Touch?

Posted on 2010-09-24
8
1,048 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Suggested Solutions

Title # Comments Views Activity
SD card might be causing Note 4 issues.  How can I fix? 103 179
Droid 4 15 140
Using popen() and gunzip() to open file in HTTPServer 6 75
What is sub-make ? 2 88
Let me explain this picture a little bit.  First, in case you haven't already guessed, you are looking at my 2 phones, an Android Samsung Galaxy S5 on the left and an iPhone 5 on the right.  They are on their respective cradles on my desk.  But, you…
Working settings for French ISP Orange "Prêt à Surfer" SIM cards for data connections only. Can't be found anywhere else !
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 and use switch statements in the C programming language.

730 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