HPOS 4.0 technical note 3

HP Web Services for Output Server 29
Using HP Web Services for Output Server
Delivery pathway management functions
The following is an example of a deleteObjects request:
<wsg-request>
<operation-attributes>
<class>destination</class>
<object-name>pweb</object-name>
</operation-attributes>
<request-attributes/>
</wsg-request>
The following is an example of a deleteObjects response:
<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>
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>
Table 1-20. enableObjects attributes
Type Name Value
Operation class Queue, printer, ad server
Operation object-name Name of the object in the specified class