Printer Services Mail Archive: PS> RE: Throwing exceptions

PS> RE: Throwing exceptions

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

  • Next message: Harry Lewis: "PS> RE: Throwing exceptions"

    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@us.ibm.com]
    Sent: Thursday, September 19, 2002 9:22 AM
    To: HALL,DAVID (HP-Vancouver,ex1)
    Cc: ps@pwg.org; alan_berkema@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
    ----------------------------------------------



    This archive was generated by hypermail 2b29 : Thu Sep 19 2002 - 12:33:26 EDT