Solved

Consuming .NET Web Service in objective-c using apple XCode

Posted on 2008-10-21
3
10,833 Views
Last Modified: 2013-11-19
Hi All,
         I am developing an iPhone application by using Objective-C and apple Xcode IDE. I need to consume a .NET Web Service in that iPhone application. So, can anybody please provide me the solution with some sample examples.

Thanks in advance.
Regards
0
Comment
Question by:venkatesh_basi
[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
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
SkydiverFL earned 50 total points
ID: 22847146
This isn't gonna happen... at least, not by default.  However, I followed this example and was able to build a parser to do it quite easily:

http://www.iphonedevsdk.com/forum/iphone-sdk-development/2841-resolved-how-call-soap-service.html

I hope this helps.
0
 
LVL 2

Expert Comment

by:SkydiverFL
ID: 27644615
I realize the question is gonna close, but I'd like to post one more piece of info, if I may.  My previous answer was incomplete.  I misread the question.

If you are looking to consume a .NET web service using the same point-and-click mechanism as you would in Visual Studio, then THIS is not going to happen.  XCode does not have this ability nor does the iPhone use the SOAP protocol by default.  Also, SOAP is the norm in .NET with WebServices and there is not native support for SOAP on the iPhone or the iPhone SDK.

That being said, you CAN make a RESTful web service with Visual Studio and consume THAT service rather easily.  So, while your default web services won't be able to be consumed directly by the iPhone, if you rebuild them using REST, you will be able to use them quite nicely.

Here's a link to the toolkit to get you started:
http://code.msdn.microsoft.com/WebAppToolkitREST

Sorry for such a poor answer earlier.  Even though this question is going to close, I hope you have a chance to look at it again and find this posting.

Good luck!
0

Featured Post

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!

Question has a verified solution.

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

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
iCloud Drive was introduced after iOS 8 was launched last year. This drive is Apple’s online storage device that lets users sync their files and access them from all their Apple devices.   There is a lot of data that is not automatically backed up…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

738 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