SOAP 2001 Schema
SOAP 2001 Schema
- Subject: SOAP 2001 Schema
- From: Sean Kilmurray <email@hidden>
- Date: Thu, 02 Nov 2006 10:43:11 +0000
- Thread-topic: SOAP 2001 Schema
I am trying to figure out how to set the XML schema for a SOAP request to
the 2001 schema.
According to Apple's "XML-RPC and SOAP Programming Guide" (p16) the Apple
Event Manager can use both the 1999 and 2001 schemas - see below.
Does anyone know how to set the schema with an Applescript. I need to write
an script to pull information from and server which uses the 2001 schema.
Thanks
=============================================
>From the "XML-RPC and SOAP Programming Guide"
=============================================
The SOAP specification defines a schema for encoding (or serializing)
information. The Apple Event Manager can work with both the 1999 (or SOAP
specification version 1.1) and 2001 (SOAP specification version 1.2)
schemas. Listing 1-4 (page 16) shows the constants for specifying the SOAP
schema used to format the SOAP request in a remote procedure call Apple
event.
You can specify a serialization schema by adding a parameter of type
typeType and key keySOAPSchemaVersion to the direct object of a SOAP request
Apple event. If you do not specify a schema, the default is kSOAP1999Schema.
Listing 1-4 Constants for specifying a SOAP schema.
enum {
kSOAP1999Schema = 'ss99',
kSOAP2001Schema = 'ss01',
//...
keySOAPSchemaVersion = 'ssch'
};
Listing 1-5 (
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users
This email sent to email@hidden