Solved

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

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

JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
The viewer will learn how to dynamically set the form action using jQuery.
CodeTwo Sync for iCloud (http://www.codetwo.com/sync-for-icloud?sts=6554) automatically synchronizes your Outlook 2016, 2013, 2010 or 2007 folders with iCloud folders available via iCloud Control Panel. This lets you automatically sync them with…

749 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