soap:Header with AppleScript's "call soap"?
soap:Header with AppleScript's "call soap"?
- Subject: soap:Header with AppleScript's "call soap"?
- From: email@hidden
- Date: Tue, 23 Sep 2003 10:34:44 +0100
I'm trying to learn how to use the "call soap" command from AppleScript. The
project I'm working on as I learn will require me to send a soap:Header
containing a sessionID with each request after a successful login. Does
anyone know if this is possible with AppleScript and how?
The soap:Envelope needs to look something like this (for a logout action):
<soap:Envelope
xmlns:soap="
http://schemas.xmlsoap.org/soap/envelope"
soap:encodingStyle="
http://schemas.xmlsoap.org/soap/encoding"
<soap:Header>
<auth:SessionID
xmlns:auth="urn:schemas-XXX-com:Authentication"
soap:mustUnderstand="1">
sess.a01GLw
</auth:SessionID>
</soap:Header>
<soap:Body>
<m:Logout xmlns:m="urn:schemas-XXX-com:Logout" />
</soap:Body>
</soap:Envelope>
Thanks in advance!
Guy
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.