HPOS 4.0 technical note 3

HP Web Services for Output Server 22
Using HP Web Services for Output Server
Multiple-document print failure
Parameter 1 - XML pauseSubJobs contract
For .NET clients,
Input param- pauseSubJobs object
pauseSubJobs will have only one argument.
1. XML pauseSubJobs contract
Response- pauseSubJobsResponse object
You can pause a subjob when it is in the pre-processing, document-transfer-pending,
transferring, pending, or interrupted job state. Pausing is not possible when the job state is aborting,
processing, paused, or retained. Users are authorized at the HP Output Server level to pause jobs. No
request attribute is passed for the pauseSubJob functionality. The operation attribute is a JQM job ID. You can
pause multiple JQM jobs at the same time.
The following is an example of a pauseSubJobs request object:
<wsg-request>
<operation-attributes>
<job-identifier>jqm:2530598</job-identifier>
</operation-attributes>
</wsg-request>
The following is an example of a pauseSubJobs response object:
<wsg-response>
<status-code>0</status-code>
<status-message>success</status-message>
<operation-attributes />
<job-info>
<subjob-info>
<job-identifier>jqm:2530598</job-identifier>
<status-code>0</status-code>
<status-message>success</status-message>
</subjob-info>
</job-info>
</wsg-response>
Resuming jobs
The resumeJobs API is used to resume HP Output Server jobs. The structure of the API is:
Web Service Name: resumeJobs
Web Service Parameters
Parameter 1 - XML resumeJobs contract
For .NET clients,
Input param- resumeJobs object
resumeJobs will have only one argument.
1. XML resumeJobs contract
Table 1-13. pauseSubJobs attributes
Type Name Value Requirement
Operation job-identifier JQM ID Mandatory