Re: WebKit and POST requests
Re: WebKit and POST requests
- Subject: Re: WebKit and POST requests
- From: Dominik Pich <email@hidden>
- Date: Fri, 22 Jun 2007 20:02:19 +0200
On Jun 22, 2007, at 7:01 PM, Mike Stanger wrote:
3. For SOAP there's no Cocoa-API or did I completely miss that?
Very often you don't actually need an API for SOAP, because you
know which requests you're sending and what you're expecting back,
so you can encode the XML "by hand" for the request, and can just
parse the XML that comes back to get a reply.
I'm sure someone has written a SOAP implementation for Cocoa though.
SOAP can be fairly simple if you're calling a service that doesn't
change frequently: you can use /Developer/Tools/WSMakeStubs to
easily generate static stubs based on the WSDL from a SOAP
service... you don't need to parse the XML yourself in this case.
WSMakeStubs is a command line utility: Give it a WSDL URL and some
command line options to select the language output (ObjC, C++,
Applescript) and it'll create the files for you to include in your
project.
Running WSMakeStubs with no options will give you the command
syntax, of course :-)
Did that am using the Web Services Core just fine.
Just wondered if there was an object-oriented framework.
BTW WSMakesStubs ONLY makes a proxy for the calls. Parameter and
return values are only represented as CFDictionaryRefs
Regards,
Dominik
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden