HPOSSOD 1.0 Technical Note

HP Web Services for Output Server 27
Using HP Web Services for Output Server
Multiple-document print failure
Querying objects
The queryObject API is used to list subjob or object attributes. The structure of the API is:
Web Service Name: queryObject
Web Service Parameters
Parameter 1 - XML queryObject contract
This API achieves the same functionality as the pdls command on HP Output Server.
For .NET clients,
Input param- queryObjects object
queryObjects will have only one argument.
1. XML queryObjects contract
Response- queryObjectsResponse object
The following is an example of a queryObjects request:
<wsg-request>
<operation-attributes>
<batch-size>40</batch-size>
<object-name>dsm:</object-name>
<class>destination</class>
</operation-attributes>
<request-attributes>
<requested-attributes>printer-name</requested-attributes>
</request-attributes>
</wsg-request>
Table 1-19. queryObjects attributes
Type Name Value
Operation class Server, destination, printer or job, capabilities, destination as
printer form
Operation
object-name
Name of the object to be queried
Operation batch-size Size of the response batch
Request requested-attributes All, brief, none, or any other display attributes
Operation Filter attributes such as
-job-owner
Owner of the job (dazel user)