HPOSSOD 1.0 Technical Note

HP Web Services for Output Server 17
Using HP Web Services for Output Server
Multiple-document print failure
cancelJobswill have only one argument.
1. XML cancelJobs contract
Response - cancelJobsResponse object
Users are authorized at the HP Output Server level to cancel jobs. Canceling a job stops the delivery of the job
including all subjobs. No request attribute is passed for the cancelJobs functionality. The operation attribute is a
DLM job ID, and you can cancel multiple DLM jobs at the same time. The response returns all the jobs and subjobs
that are canceled. If an error occurs, an error message corresponding to the job or subjob is returned as part of the
response. This API achieves the same functionality as the pdrm command on HP Output Server.
The following is an example of a cancelJobs request:
<wsg-request>
<operation-attributes>
<job-client-id>dlm:1:72</job-client-id>
</operation-attributes>
</wsg-request>
The following is an example of a cancelJobs response:
<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>
Canceling subjobs
The cancelSubJobs API is used to cancel HP Output Server subjobs. The structure of the API is:
Web Service Name: cancelSubJobs
Web Service Parameters
Parameter 1 - XML cancelSubJobs contract
For .NET clients,
Input param- cancelSubJobs object
cancelSubJobs will have only one argument.
1. XML cancelSubJobs contract
Response- cancelSubJobsResponse object
Table 1-9. cancelJobs attributes
Type Name Value
Operation job-client-id DLM ID(s)