HPOS 4.0 technical note 3
HP Web Services for Output Server 13
Using HP Web Services for Output Server
Multiple-document print failure
Input param- sendChunks object
sendChunks object will have two arguments.
1. XML sendChunks contract
2. DocumentData which holds the data for the document
Response- sendChunksResponse object
The following is an example of a sendChunks request:
<wsg-request>
<operation-attributes>
<wsg-doc-handle>DOC:618FDCE25E7C71C9F0388FF8E36267D4:33</wsg-doc-hand
le>
<last-chunk>true</last-chunk>
<document-chunk-offset>0</document-chunk-offset>
<document-checksum>1c4d6819a1e156463c26f339183fea5448724249
</document-checksum>
</operation-attributes>
<request-attributes>
</request-attributes>
</wsg-request>
The following is an example of a sendChunks response:
<wsg-response>
<operation-attributes>
<status-code>0</status-code>
<status-message>success</status-message>
</operation-attributes>
</wsg-response>
For the last document to be sent, set the last-document tag to true.
NOTE: Ensure that the destination to which the client submits a job is valid and available before
submitting a job.
NOTE: Ensure proper using of -document-filename and -job-comment attributes while
submitting a job. For more information, see HP Output Server System Administrator’s
Attribute Reference.
Querying jobs
The queryJobs API is used to query HP Output Server jobs. The server side representation of the API is:
Web Service Name: queryJobs
Web Service Parameters
Parameter 1 - XML queryJobs contract
For .NET clients,
Input param- queryJobs object
queryJobs will have only one argument.
1. XML queryJobs contract
Response- queryJobsResponse object