Fault reason in SOAP client
Hello,
does anybody know how to differentiate ZSOAP failures when using %SOAP.WebClient? I would need to know what error condition occurred, e.g. authorization failed, endpoint timeout etc.
All I get on failure is an ZSOAP exception which does not seem to explain anything specific.
Thanks
Jiri
Hi Jiri,
take a look at this part of the documentation:
http://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY=...
I recommend using a code structure as described in example 1 (try-catch).
HTH,
Stefan
Hi Stefan,
the method you referenced works fine, thanks.
Jiri