Solved

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

Posted on 2008-10-21
3
10,779 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
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
SkydiverFL earned 50 total points
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Learn new improvements released by Google for Google Calendar. Noted in this article are simple tips and tricks that can make your everyday use of Google Calendar better.
Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL (http://www.experts-exchange.com/articles/201/Handling-Date-and-Time-in-PHP-and-MySQL.html) several years ago, it seemed like now was a good time to updat…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

744 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

14 Experts available now in Live!

Get 1:1 Help Now