HPOS 4.0 technical note 3
HP Web Services for Output Server 9
Using HP Web Services for Output Server
Multiple-document print failure
Web Service Name: sendDocuments
Web Service Parameters
Parameter 1 - XML sendDocuments contract
Parameter 2 - DocumentData
For .NET clients,
Input param- sendDocuments object
sendDocuments object will have two arguments.
1. XML sendDocuments contract
2. DocumentData which holds the data for the document.
Response- sendDocumentsResponse object
This API allows you to send multiple documents. For the last document, you must set the last-document tag
value to true. When the value is set to true, the documents can be sent for delivery.
The following is an example of a sendDocuments request:
<wsg-request>
<operation-attributes>
<wsg-job-handle>JOB:49CA18FDE12CA3C9CF6317C501BB3EB4:8</wsg-job-handle>
<last-document>True</last-document>
</operation-attributes>
<request-attributes>
<document-filename>invoice.pdf</document-filename>
</request-attributes>
</wsg-request>
Table 1-3. sendDocuments attributes
Type Name Value Requirement
Operation wsg-job-handle Handle returned from createJobs API Mandatory
Operation document-checksum MD5 hash created for the document Not mandatory
Operation last-document True or False. The value is False
when the last document is sent.
Not mandatory.
Request document-filename Filename Mandatory