HPOSSOD 1.0 Technical Note

HP Web Services for Output Server 22
Using HP Web Services for Output Server
Multiple-document print failure
1. XML resumeJobs contract
Response- resumeJobsResponse object
You can resume a job when the job state is paused. Resuming a job allows it to be processed to completion. Users
are authorized at the HP Output Server level to resume jobs. This API achieves the same functionality as the
pdresume command on HP Output Server. The operation attribute is a DLM job ID.
The following is an example of a resumeJobs request object:
<wsg-request>
<operation-attributes>
<job-client-id>dlm:1:72</job-client-id>
</operation-attributes>
</wsg-request>
The following is an example of a resumeJobs response object:
<wsg-response>
<status-code>0</status-code>
<status-message>success</status-message>
<operation-attributes />
<job-info>
<subjob-info>
<destination>lmail</destination>
<job-identifier>jqm:2530598</job-identifier>
<status-code>0</status-code>
<status-message>success</status-message>
</subjob-info>
</job-info>
</wsg-response>
Resuming subjobs
The resumeSubJobs API is used to resume HP Output Server subjobs. The structure of the API is:
Web Service Name: resumeSubJobs
Web Service Parameters
Parameter 1 - XML resumeSubJobs contract
For .NET clients,
Input param- resumeSubJobs object
resumeSubJobs will have only one argument.
1. XML resumeSubJobscontract
Response- resumeSubJobsResponse object
Table 1-14. resumeJobs attributes
Type Name Value
Operation job-client-id DLM IDs