cancel
Showing results for 
Search instead for 
Did you mean: 

SOA in objective-C

joao_sousa2
Active Contributor
0 Kudos

Is there an easy way to consume SAP Webservices in Objective-C as there is in, for example, C# using VS2010?

I've done a lot of SOA aplications in C# but if finding it very hard to call SAP webservices in objective-C.

Do you know of any blog or web page where I can get some guidance on this subject?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You'll be beter off writing your own classes for communication, parsing, ..

There is no real good framework for webservices in the Apple API's.

It sounds challenging but it's quite simple actually.

have a look at this:

http://icodeblog.com/2008/11/03/iphone-programming-tutorial-intro-to-soap-web-services/

Answers (4)

Answers (4)

Former Member
0 Kudos

I see this post gets a lot of hits, so I wanted to post a good link for integrating SAP webservices to ObjectiveC successfully.

I am using SUDZc which is a great tool for helping to create a class surrounding your SAP bapi's and custom webservices

www.sudzc.com

the full project is available on the github server link:

https://github.com/teonivalois/sudzc

I think if you guys try it out you will be more than pleasantly surprised

Former Member
0 Kudos

Hi ,

please check the following links it may help you..

1> http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/803ae155-d81b-2e10-5c99-86f57900b083 by Christian

2> /people/antonello.lapolla2/blog/2011/02/24/consuming-xml-web-services-in-iphone-applicationsSDNWeblogs_MobileInfrastructuremi%2528SAPNetworkWeblogs%253A+Mobile%2529 by Antonello Lapolla

Former Member
0 Kudos

There is an entry in the FAQ about this:

https://wiki.sdn.sap.com/wiki/display/mobile/AccessinganRFC

Former Member
0 Kudos

I wrote this blog...maybe it can help you:

/people/antonello.lapolla2/blog/2011/02/24/consuming-xml-web-services-in-iphone-applications

Former Member
0 Kudos

Hi Antonello,

Thank you very much for your help

i followed it and i am able to get the response back from my service but the only problem i am facing now is that i couldn't pass the parameter to the web service as you are passing (bpNumber) . In my case i am passing a string (@"vineet") it should return as "web service has successfully consumed by vineet" but here i am getting web service has successfully consumed by null.

and one more thing when i tried to change in the file SOAP.m (adding urn:) i am getting an error

Thanks And Regards

vineet sharma

Former Member
0 Kudos

Hi,

plz help me

i am passing a string to my web service as you did but i am not able to get the response back from the service as it should return "web service has successfully consumed by parameter(which you passed to the service)"

but it is returning as web service has successfully consumed by null

Thanks in advance

vineet sharma

GrahamRobbo
Active Contributor
0 Kudos

The Developer Documentation for Objective C is the place to go - all at http://developer.apple.com

Here is a link to some stuff on web services

[http://developer.apple.com/library/mac/#documentation/Networking/Conceptual/UsingWebservices/Introduction/Introduction.html]

Cheers

Graham Robbo