HPOS 4.0 technical note 3
HP Web Services for Output Server 26
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-17. queryObjects attributes
Type Name Value Requirement
Operation class Server, destination, printer or job,
capabilities, destination as printer form
Mandatory
Operation
object-name
Name of the object to be queried Mandatory. Specify one or
many object names. Atleast
one object name is mandatory.
Operation batch-size Size of the response batch Not mandatory
Request requested-attributes All, brief, none, or any other
display attributes
Not mandatory
Operation Filter attributes such as
-job-owner
Owner of the job (dazel user) Not mandatory