• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebKit and POST requests
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >WebKit and POST requests (From: Orr Philip <email@hidden>)
 >Re: WebKit and POST requests (From: Uli Kusterer <email@hidden>)
 >Re: WebKit and POST requests (From: John Stiles <email@hidden>)
 >Re: WebKit and POST requests (From: Dominik Pich <email@hidden>)
 >Re: WebKit and POST requests (From: Alastair Houghton <email@hidden>)
 >Re: WebKit and POST requests (From: Mike Stanger <email@hidden>)

  • Prev by Date: Re: KVC and arrays
  • Next by Date: Re: WebKit and POST requests
  • Previous by thread: Re: WebKit and POST requests
  • Next by thread: Re: WebKit and POST requests
  • Index(es):
    • Date
    • Thread