SOAP fault handling
SOAP fault handling
- Subject: SOAP fault handling
- From: Conrad Hirano <email@hidden>
- Date: Wed, 1 Oct 2003 11:01:43 -0700
In my script, I send a SOAP request which fails and get the following
response from the server:
<SOAP-ENV:Fault>
<faultcode xsi:type="xsd:string"
>SOAP-ENV:Client.Proxy</faultcode>
<faultstring xsi:type="xsd:string"
>Wrong server; please change to the correct endpoint for this
user</faultstring>
<detail xsi:type="xsd:string"
>Wrong server specified; User: testuser; Required endpoint:
http://www.fastmail.fm/SOAP2/; ServerName: 2; HostNum: 1</detail>
<faultactor xsi:type="xsd:string"
>
http://www.fastmail.fm/SOAP2/</faultactor>
</SOAP-ENV:Fault>
The "call soap" fails, and the error handler catches it. The
error-message variable is set to the fault string, but I need the
fault-actor information to properly respond to the failed request. How
are you supposed to get the rest of the information returned by the
server when a SOAP request fails?
_______________________________________________
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.