HPOS 4.0 technical note 3
HP Web Services for Output Server 11
Using HP Web Services for Output Server
Multiple-document print failure
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>
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.
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
Parameter 1 - XML createDocuments contract
For .NET clients,
Table 1-5. createDocuments attributes
Type Name Value Requirement
Operation wsg-job-handle Handle returned from createJobs API Mandatory
Operation last-document True or False The value is False
when the last document is sent.
Not Mandatory
Request document-filename Filename Mandatory