HPOSSOD 1.0 Technical Note
HP Web Services for Output Server 31
Using HP Web Services for Output Server
Delivery pathway management functions
Enabling objects
The enableObjects API is used to enable a delivery pathway object such as a queue or a destination. The
structure of the API is:
Web Service Name: enableObjects
Web Service Parameters
Parameter 1 - XML enableObjects contract
For .NET clients,
Input param- enableObjects object
enableObjects will have only one argument.
1. XML enableObjects contract
Response- enableObjectsResponse object
The following is an example of an enableObjects request object:
<wsg-request>
<operation-attributes>
<class>queue</class>
<object-name>qmail</object-name>
</operation-attributes>
<request-attributes/>
</wsg-request>
The following is an example of an enableObjects response object:
<wsg-response>
<status-code>0</status-code>
<status-message>success</status-message>
<operation-attributes />
<object-info>
<status-code>0</status-code>
<status-message>success</status-message>
</object-info>
</wsg-response>
Disabling objects
The disableObjects API is used to disable a delivery pathway object such as a queue or a destination. The
structure of the API is:
Web Service Name: disableObjects
Web Service Parameters
Table 1-22. enableObjects attributes
Type Name Value
Operation class Queue printer
Operation object-name Name of the object in the specified class