?
Solved

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

Posted on 2008-10-21
3
Medium Priority
?
10,854 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 200 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Email is way too noisy, prone to hiding the important stuff, and really becoming unreliable for critical/timely communications. There are better ways to communicate.
Learn how to use the free Acronis True Image app to easily transfer data between iPhones and Android phones.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to count occurrences of each item in an array.
Suggested Courses

741 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