Re: WebKit and POST requests
Re: WebKit and POST requests
- Subject: Re: WebKit and POST requests
- From: Mike Stanger <email@hidden>
- Date: Fri, 22 Jun 2007 10:01:18 -0700
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 :-)
Mike
--
+------------------------
|Mike Stanger
|Systems Consultant, Academic Computing Services
|SH1023 Simon Fraser University
|Burnaby, BC Canada V5A 1S6
|Phone: (604) 291-3361
|FAX: (604) 291-4242
|email: email@hidden
|http://www.sfu.ca/~mstanger
_______________________________________________
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