HPOS 4.0 technical note 3

HP Web Services for Output Server 5
Using HP Web Services for Output Server
Job management functions
Delivering a job
You can use HP Web Services for Output Server to submit jobs on HP Output Server logical destinations. HP Web
Services for Output Server supports single document delivery and multiple document delivery with and without
chunks.
Single-document delivery
The deliverJob API is used for single document delivery. The structure of the API is:
Web Service Name: deliverJob
Web Service Parameters
For Java clients,
Parameter 1 - XML deliverJob contract
Parameter 2 -DocumentData
For .NET clients,
Input param- deliverJob object
deliverJob object will have two arguments.
1. XML deliverJob contract
2. DocumentData which holds the data for the document.
Response - deliverJobResponse object
The following table lists the deliverJob attributes:
The following is an example of a deliverJob request:
<wsg-request>
<operation-attributes>
<destination>labld_file1</destination>
</operation-attributes>
<request-attributes>
<document-filename>invoice.pdf</document-filename>
</request-attributes>
</wsg-request>
Table 1-1. deliverJob attributes
Type Name Value Requirement
Operation destination HP Output Server logical
destination
Mandatory. Specify one
or many destinations.
Atleast one destination is
mandatory.
Request job attributes All job attributes in HP Output
Server such as job-owner,
-job-name, and
-copy-count
Not mandatory
Request document-filename File name of the document Mandatory