• 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
SOAP fault handling
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Prev by Date: Re: container window
  • Next by Date: Script Editor 2, Compiled Scripts vs. Script Bundles and Speakable Items
  • Previous by thread: Re: container window
  • Next by thread: Script Editor 2, Compiled Scripts vs. Script Bundles and Speakable Items
  • Index(es):
    • Date
    • Thread