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 &quot;throws and exception&quot; if no job is available for the target device. I assume, then, this is a SOAP &quot;fault&quot;? If so, is this really what we want? The design is polling from target device to print service. In this case won't &quot;no job available&quot; 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 &quot;fault&quot;)?<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>&quot;HALL,DAVID (HP-Vancouver,ex1)&quot; &lt;dhall@hp.com&gt;</b></font>
<p><font size=1 face="sans-serif">09/19/2002 10:33 AM</font>
<br>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To: &nbsp; &nbsp; &nbsp; &nbsp;Harry Lewis/Boulder/IBM@IBMUS, &quot;HALL,DAVID (HP-Vancouver,ex1)&quot; &lt;dhall@hp.com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc: &nbsp; &nbsp; &nbsp; &nbsp;ps@pwg.org, &quot;BERKEMA,ALAN C (HP-Roseville,ex1)&quot; &lt;alan_berkema@hp.com&gt;</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject: &nbsp; &nbsp; &nbsp; &nbsp;RE: Throwing exceptions</font>
<br>
<br><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp;</font></table>
<br>
<br><font size=2 color=blue face="Arial">We are rapidly approaching a working PSI prototype that will be able to &quot;throw exceptions&quot; from the method calls. &nbsp;They are known as &quot;soap faults&quot;...</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=2 color=blue face="Arial">Our current methods don't &quot;throw exceptions&quot; in the XML string parameters that are returned, it was an unfortunate naming of the return paramater - &quot;ExceptionAttributes&quot; that is now named &quot;UnsupportedAttributes&quot;. &nbsp;Returning &quot;UnsupportedAttributes&quot; 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">&nbsp;</font>
<br><font size=2 color=blue face="Arial">We will be throwing &quot;faults&quot; from the soap calls...</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=2 color=blue face="Arial">Hopefully this is clearer now..</font>
<br><font size=3 face="Times New Roman">&nbsp;</font>
<br><font size=2 color=blue face="Arial">:)</font>
<br><font size=3 face="Times New Roman">&nbsp;</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 ... &quot;DHall - define exactly how to throw an exception from a SOAP method&quot; 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>