attachment-0001
<br><font size=2 face="sans-serif">OK, thanks for that clarification. Related question...</font>
<br>
<br><font size=2 face="sans-serif">In the TargetDeviceSupportInterface the operation GetNextJob "throws and exception" if no job is available for the target device. I assume, then, this is a SOAP "fault"? If so, is this really what we want? The design is polling from target device to print service. In this case won't "no job available" be the more likely case? Or, are we suggesting (via the scenarios) that the target device isn't expected to poll unless having been asked to out of band by a client (implying there SHOULD be a job present... thus the "fault")?<br>
---------------------------------------------- <br>
Harry Lewis <br>
IBM Printing Systems <br>
---------------------------------------------- </font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>"HALL,DAVID (HP-Vancouver,ex1)" <dhall@hp.com></b></font>
<p><font size=1 face="sans-serif">09/19/2002 10:33 AM</font>
<br>
<td><font size=1 face="Arial"> </font>
<br><font size=1 face="sans-serif"> To: Harry Lewis/Boulder/IBM@IBMUS, "HALL,DAVID (HP-Vancouver,ex1)" <dhall@hp.com></font>
<br><font size=1 face="sans-serif"> cc: ps@pwg.org, "BERKEMA,ALAN C (HP-Roseville,ex1)" <alan_berkema@hp.com></font>
<br><font size=1 face="sans-serif"> Subject: RE: Throwing exceptions</font>
<br>
<br><font size=1 face="Arial"> </font></table>
<br>
<br><font size=2 color=blue face="Arial">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"...</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 color=blue face="Arial">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.</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 color=blue face="Arial">We will be throwing "faults" from the soap calls...</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 color=blue face="Arial">Hopefully this is clearer now..</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 color=blue face="Arial">:)</font>
<br><font size=3 face="Times New Roman"> </font>
<br><font size=2 color=blue face="Arial">Dave</font>
<br><font size=2 face="Tahoma">-----Original Message-----<b><br>
From:</b> Harry Lewis [mailto:harryl@us.ibm.com]<b><br>
Sent:</b> Thursday, September 19, 2002 9:22 AM<b><br>
To:</b> HALL,DAVID (HP-Vancouver,ex1)<b><br>
Cc:</b> ps@pwg.org; alan_berkema@hp.com<b><br>
Subject:</b> Throwing exceptions<br>
</font>
<br><font size=2 face="sans-serif"><br>
How to throw an exception form a SOAP method. <br>
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.</font><font size=3 face="Times New Roman"> </font><font size=2 face="sans-serif"><br>
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? <br>
---------------------------------------------- <br>
Harry Lewis <br>
IBM Printing Systems <br>
---------------------------------------------- </font>
<br>
<br>