PS> RE: Throwing exceptions

PS> RE: Throwing exceptions

HALL,DAVID (HP-Vancouver,ex1) dhall at hp.com
Thu Sep 19 12:33:01 EDT 2002


We are rapidly approaching a working PSI prototype that will be able to
"throw exceptions" from the method calls.  They are known as "soap
faults"...
 
Our current methods don't "throw exceptions" in the XML string parameters
that are returned, it was an unfortunate naming of the return paramater -
"ExceptionAttributes" that is now named "UnsupportedAttributes".  Returning
"UnsupportedAttributes" does not mean that an error has occured, rather that
some requested attributes are not supported by the service.
 
We will be throwing "faults" from the soap calls...
 
Hopefully this is clearer now..
 
:)
 
Dave

-----Original Message-----
From: Harry Lewis [mailto:harryl at us.ibm.com]
Sent: Thursday, September 19, 2002 9:22 AM
To: HALL,DAVID (HP-Vancouver,ex1)
Cc: ps at pwg.org; alan_berkema at hp.com
Subject: Throwing exceptions



How to throw an exception form a SOAP method. 
I see this in the spec as a question ... "DHall - define exactly how to
throw an exception from a SOAP method" section 5.3.1. 
Our current definition packages exceptions as a multi XML string parm set in
the return. Is this our conscious resolution to PSI exceptions? Have we
considered throwing exceptions, independently, across the web services
interface? 
---------------------------------------------- 
Harry Lewis 
IBM Printing Systems 
---------------------------------------------- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pwg.org/archives/ps/attachments/20020919/9c062e0f/attachment-0001.html


More information about the Ps mailing list