HPOS 4.0 technical note 3
HP Web Services for Output Server 28
Using HP Web Services for Output Server
Delivery pathway management functions
The following is an example of a createObjects request:
<wsg-request>
<operation-attributes>
<class>destination</class>
<object-name>pweb</object-name>
</operation-attributes>
<request-attributes>
<copy-from>hpwd_physical_template</copy-from>
<managing-server>dsm</managing-server>
<queue-supported>qweb</queue-supported>
</request-attributes>
</wsg-request>
NOTE: The createObjects API can be invoked through the method accepts the XML
contract parameter.
The following is an example of a createObjects 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>
Deleting objects
The deleteObjects functionality is used to delete a Delivery Pathway Object such as a queue or a destination.
The structure of the API is:
Web Service Name: deleteObjects
Web Service Parameters
Parameter 1 - XML deleteObjects contract
For .NET clients,
Input param- deleteObjects object
deleteObjects will have only one argument.
1. XML deleteObjects contract
Response- deleteObjectsResponse object
Table 1-19. deleteObjects attributes
Type Name Value Requirement
Operation class Queue printer Mandatory
Operation object-name Name of the object in the specified
class
Mandatory. Specify one
or many object names.
Atleast one object name
is mandatory.