HPOSSOD 1.0 Technical Note
HP Web Services for Output Server 8
Using HP Web Services for Output Server
Multiple-document print failure
1. XML createJob contract
Response- createJobResponse object
The following is an example of a createJobs request:
<wsg-request>
<operation-attributes>
<destination>labld_ps1</destination>
</operation-attributes>
<request-attributes>
<copy-count>1</copy-count>
</request-attributes>
</wsg-request>
The following is an example of a createJobs response:
<wsg-response>
<status-code>0</status-code>
<status-message>Success</status-message>
<operation-attributes>
<status-code>0</status-code>
<status-message>Success</status-message>
<wsg-job-handle>JOB:3FE4B2A742576E73B5704DC909B8D0DA:7</wsg-job-handl
e>
</operation-attributes>
</wsg-response>
Sending Documents
The sendDocuments API uses the job handle returned with the createJobs API response to send the document
data along with the document contract. The structure of the API is:
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
Table 1-2. createJobs attributes
Type Name Value
Operation Destination HP Output Server logical destination
Request Job attributes All job attributes in HP Output Server such as job-owner,
-job-name, and -copy-count