Anyone using SOAP from iPhone?

206 views
Skip to first unread message

Tim Perrett

unread,
Aug 19, 2008, 1:36:04 PM8/19/08
to iPhone SDK Development
Hey chaps,

Has anyone successfully created an iphone soap client yet? If so, can
they point me in the right direction?

Any help / advice would be appreciated

Tim

Tim Perrett

unread,
Aug 19, 2008, 3:55:35 PM8/19/08
to iPhone SDK Development
No doubt people have seen this:

http://code.google.com/p/mac-soapclient/

Thoughts about leveraging it onto the iphone?

Tim

James Ottaway

unread,
Aug 22, 2008, 6:53:01 AM8/22/08
to iPhone SDK Development
I found this when researching SOAP in the iPhone SDK:
http://iphonedevelopment.blogspot.com/2008/06/web-services-core.html

A friend is looking into writing a Rails wrapper for SOAP and calling
that instead.

He was also wondering whether this could be ported to the iPhone
(unlikely): http://ws.apache.org/axis2/c/

James

Tim Perrett

unread,
Aug 22, 2008, 7:00:55 AM8/22/08
to iphonesdkd...@googlegroups.com
WebServices core is not part of the platform SDK so I know you cant
use it. I played with making a wrapper around the soap service and
transmitting binary stream using HessianKit, but now I have just gone
back to writing a whole bunch of C and CoreFoundation to make it work.

It seems to be working ok so far - its just a very manual and un-
decoupled way of doing it unfortunately.

Personally, I don't like axis anyway, it generates so much verbose
code its crazy. I'd say there was a limited chance of porting it, as
the vast majority of dependencies it has wouldn't be available on the
platform.

It would be nice if someone could write a generator which would create
the relevant CoreFoundation and C code required to do this type of
work as its just so manual its crazy. I cant help but feel like Apple
really did drop the ball massively here...

Cheers

Tim

Lost

unread,
Oct 6, 2008, 3:13:07 AM10/6/08
to iPhone SDK Development
Hi Tim

If possible, can you share the code on the forum?

Regards

On Aug 22, 4:00 pm, Tim Perrett <he...@timperrett.com> wrote:
> WebServices core is not part of the platform SDK so I know you cant  
> use it. I played with making a wrapper around thesoapservice and  
> transmitting binary stream using HessianKit, but now I have just gone  
> back to writing a whole bunch of C and CoreFoundation to make it work.
>
> It seems to be working ok so far - its just a very manual and un-
> decoupled way of doing it unfortunately.
>
> Personally, I don't like axis anyway, it generates so much verbose  
> code its crazy. I'd say there was a limited chance of porting it, as  
> the vast majority of dependencies it has wouldn't be available on the  
> platform.
>
> It would be nice if someone could write a generator which would create  
> the relevant CoreFoundation and C code required to do this type of  
> work as its just so manual its crazy. I cant help but feel like Apple  
> really did drop the ball massively here...
>
> Cheers
>
> Tim
>
> On 22 Aug 2008, at 11:53, James Ottaway wrote:
>
> > I found this when researchingSOAPin the iPhone SDK:
> >http://iphonedevelopment.blogspot.com/2008/06/web-services-core.html
>
> > A friend is looking into writing a Rails wrapper forSOAPand calling

Joseph Heck

unread,
Oct 6, 2008, 1:19:35 PM10/6/08
to iphonesdkd...@googlegroups.com
If you're looking for source and "how to do it", you might check out
http://ditchnet.org/soapclient/

-joe

Larry Whipple

unread,
Oct 6, 2008, 2:58:23 PM10/6/08
to iphonesdkd...@googlegroups.com
I'm dealing with SOAP on the iPhone as well, but this is from a Dashcode
app. Any suggestions on that one? I'm finding that a standard SOAP-based
web service doesn't play nice with XMLHttpRequest on Safari - especially
given the cross-domain limitations (I'm getting a lot of access denied).
Suggestions?

L.

Larry

Reply all
Reply to author
Forward
0 new messages