Solved

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

Posted on 2008-10-21
3
10,840 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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

Are you having trouble connecting or getting your iPhone / Samsung device(s) to sync with Microsoft Exchange Server?   What have you tried?   What haven't you tried?
You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

726 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