Wsdl Parsing in ios - ios

Can any one help me how to consume WCF services in an iPhone application?
I am searching it desperately. I have also installed the wsdl2objc from http://code.google.com/p/wsdl2objc/. but still I am not getting any clue that How can I use it to worth get the correct responce.
Please get me out of this trouble...I need the right solution!!
Thanks.

If you are about to use the SOAP services than my advice is don't.....because for SOAP services you may able to construct the base classes using http://code.google.com/p/wsdl2objc/ but the response you will get from the service will give the references and the whole data structures along with response and you can't parse the response.

You can use this wonderful framework called CSOAP

Related

Data fetch using OData API in ios

I an new in iPhone.Currently i am working on OData based web service. But i am little confusing with how to call webservice and getting response with OData.I have below information with me.
The metadata of this service is located at :
http://enumbler.azurewebsites.net/odata/$metadata
and Base url is :: http://enumbler.azurewebsites.net/odata/User
Can anyone help me to solve this?
Thanks in advance.
I'm not familiar with IOS, but I may help with common way to consume OData services. Take one OData sample service TripPin, if you want to get all airlines, you can simple calling http://services.odata.org/V4/TripPinService/Airlines. The response is in JSON payload, you can consume this either directly dealing with JSON or use some OData client libraries for IOS. One difference your service and the sample service has may be that TripPin is OData V4 and your service is OData V3. Maybe your service doesn't support JSON but ATOM payload, but you can deal with either way I mentioned above. For more detailed information of OData, you can go directly to OData.org. Hope I helped you with part of your problem.

SOAP on IOS - considering new approach

Hey guys Im currently working on ios application which is requesting data using SOAP. Till this point i have been using ASIHTTPRequest to send request and handle response. But i realy can't get client certificate working (yes, i tried replacing code in if-statement in asihttprequest.m, and i also fixed many other bugs).
So due to this problem and to fact, this framework is not longer supported i have decided to use another framework. I am thinking about AFNetworking but it doesnt realy seem easy to use this one for SOAP and im not realy into overriding its method beacause im realy new to this whole apple/objective-c platform.
So what are you guys suggesting ? What is best way to send SOAP requests (and handle responses) to WS with client certificate ?
OK, i've abandoned any 3rd party libraries and wrote the whole web service interface using NSURLConnection and NSMutableRequest. It was foolish to depend on 3rd party software. It is most definitely way to go, especially if you want to use client certificate you can use
-(void)connection:(NSURLConnection *)con didReceiveAuthenticationChallenge ....

Call Rails API in Oracle BPEL

I'm trying to integrate a simple Rails app with a BPEL process but it's been hard since BPEL has few or maybe none support for RESTfull web services.
I've tried already using a HTTP binding but i'm not sure if I got what I want since the component moved to the internal side, and it's actually an external service.
So I have two questions:
I needed to write the xsd file to define the request and response xml structure. I searched and it seems there is no gem for doing this automatically. Is there any? Or even better, is there a gem that creates something like a wsdl file? I know this is for SOAP web services and in RESTful there is no such thing, but creating this files by hand is a pain in the ass. So I search something similar.
HTTP binding is the only way I found to call a RESTfull web service. Is there anything better? Has anyone been successful using it? Or code it in Java and use the Java adapter or something would be easier?
Any suggestion, even if not directly for my questions are appreciated. Thanks.
Also if there are some articles about it, links are welcome.
WashOut is a new SOAP server library and definitely worth checking out.

calling JSON Service from Objective C with MULTIPLE parameters

I've found code samples for calling a JSON service, but I'm not sure how to add multiple parameters. Could somebody help me out?
My JSON Service is a .NET WCF service SearchTalent(talentName, agentName, agencyName)
I think you will need to find out the URL's of the service, not the .Net representation of the service.
I'd suggest you use Restkit to interface with the service once you know the urls. You might want to look into that.

Access Web Services on BlackBerry

What are the ways of accessing web services on a BlackBerry device?
I've learned about XML for webservices. We use SAX and DOM parsers in Blackberry. Are there any more ideas like this?
I also want to know what KSOAP is and how to use it on BlackBerry.
AFAIK, kSOAP is a library that lets you post soap requests to your web service. If the service accepts a simple POST request, the easiest way would be to use HttpConnection. Here's a good tutorial
I've also used kXML2 for XML parsing, and that has worked out well for me till now.
Additionally, including 3rd party libraries is a pain (kSOAP and kXML), so here's a guide that will hopefully save you some time.
You can try http://wsclient.neurospeech.com/wsclient/java-android-blackberry/ which supports soap code generation for blackberry with additional library that manages everything, it generates native typed soap client and calling them is very easy. Otherwise you will be spending lot of time in xml to your types and types to xml conversions and so on. Plus date and many things are little complex to handle.

Resources