Version: 1.0

Posted: 2005-06-06

Build Requirements: Mac OS X 10.4

Runtime Requirements: Mac OS X 10.4

View Source Code:

Download Sample (“CocoaSOAP.zip”, 49.6K)
Download Sample (“CocoaSOAP.dmg”, 98.6K)



Description

This examples uses Cocoa NSXML and NSURL APIs to show one technique for accessing SOAP services on the Internet. A simple server is included to implement the SOAP service being accessed by the client, which reuses the basic HTTP server class from the CocoaHTTPServer example. The Xcode project builds two command-line programs; the Client program accepts two floating point numbers as parameters, and sends them to the Server to be added, then prints the returned result.

Document Revision History

Date Notes
2005-06-06Demonstrates implementing a SOAP client and server in Cocoa.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.