HPOSSOD 1.0 Technical Note
HP Web Services for Output Server 18
Using HP Web Services for Output Server
Multiple-document print failure
Canceling a subjob stops the delivery of the related job and all subjobs in it. Users are authorized at the HP Output
Server level to cancel subjobs. No request attribute is passed for the cancelSubJobs functionality. The operation
attribute is a JQM job ID, and can you cancel multiple JQM jobs at the same time. The response returns all the
subjobs that are canceled. If an error occurs, an error message corresponding to the subjob is returned as part of the
response.
The following is an example of a cancelSubJobs request:
<wsg-request>
<operation-attributes>
<job-identifier>jqm:2530598</job-identifier>
</operation-attributes>
</wsg-request>
The following is an example of a cancelSubJobs response:
<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>
Modifying jobs
The modifyJobs API is used to modify HP Output Server jobs. The structure of the API is:
Web Service Name: modifyJobs
Web Service Parameters
Parameter 1 - XML modifyJobs contract
For .NET clients,
Input param- modifyJobs object
modifyJobs will have only one argument.
1. XML modifyJobs contract
Response- modifyJobsResponse object
Table 1-10. cancelSubJobs attributes
Type Name Value
Operation job-identifier JQM ID(s)