HPOS 4.0 technical note 3
HP Web Services for Output Server 14
Using HP Web Services for Output Server
Multiple-document print failure
Users are authorized at the HP Output Server level to query jobs. This API achieves the same functionality as the pdq
command on HP Output Server.
If the
job-owner is not specified, the user becomes the job owner.
If the batch size specified is greater than 0, the Web Services for Output Server client receives response in chunks.
The number of chunks should be equal to or less than the batch size. The Web Services for Output Server client has to
call the queryJobs API multiple times, until the has-more-chunks value is false.
For details on list of Non-HP Output Management attributes, see “Non-HP Output Management Attributes” on
on page 56.
If you want to use the response chunking functionality, the Web Services for Output Server client has to maintain a
single session.
The following is an example of a queryJobs request:
<wsg-request>
<operation-attributes>
<batch-size>2</batch-size>
<job-client-id>dlm:1:72</job-client-id>
</operation-attributes>
<request-attributes>
<requested-attributes>current-job-state</requested-attributes>
<requested-attributes>job-completion-status</requested-attributes>
<requested-attributes>queue-assigned</requested-attributes> -->
</request-attributes>
</wsg-request>
The batch size specified defines the number of jobs as part of a single response. If it is not specified, then all the jobs
are fetched in a single request.
NOTE: If the HP Output Server does not return any value to the query, the WSG response displays
the DPA: Instance required error message.
Table 1-7. queryJobs attributes
Type Name Value Requirement
Operation job-client-id DLM ID(s) Mandatory
Request batch size Size of the response batch Not Mandatory
Request Requested attributes All, brief, none or any other
display attributes
Not Mandatory
Operation Filter attributes such as
job-owner
The owner of the job (Example: dazel
user)
Mandatory