HPOSSOD 1.0 Technical Note
HP Web Services for Output Server 10
Using HP Web Services for Output Server
Multiple-document print failure
Web Service Name: createJobs
Web Service Parameters:
Parameter 1 - XML createJobs contract
For .NET clients,
Input param- createJobs object
createJobs will have only one argument.
1. XML createJobs contract
Response- createJobsResponse 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>
Creating documents
The createDocuments API is used to send document attributes in the request, which then returns a
documentHandle. This documentHandle can be used to send chunks of data. The structure of the API is:
Web Service Name: createDocuments
Web Service Parameters
Table 1-4. createJobs attributes
Type Name Value
Operation Destination HP Output Server logical destination
Operation Job attributes All job attributes in HP Output Server such as job-owner,
-job-name, and -copy-count