HPOS 4.0 technical note 3
HP Web Services for Output Server 34
Using HP Web Services for Output Server
SAP Print Path devices management functions
The following is an example of CREATESAPDEVICE XML contract request:
<wsg-request>
<operation-attributes>
<operation-type>CREATESAPDEVICE</operation-type>
<user-info>
<![CDATA[
<user><username>hposadm</username>
<password>hpom</password><sysNum>00</sysNum>
<IP>16.74.60.119></IP><clentId>001</clientId><locale>EN</locale></user>
]]>
</user-info>
<device-info>
<![CDATA[
<devices>
<device><device-info><name>SAPDEVC22</name><pamserver>hydra_HYD_00</pams
erver>
</device-info><tray-info><padest>SD20</padest><actlist>XX NNN </actlist>
<tray1>ESR></tray1></tray-info></device></devices>
]]>
</device-info>
</operation-attributes>
</wsg-request>
The following is an example of CREATESAPDEVICE XML contract response:
<wsg-response>
<status-code>0</status-code>
<status-message>success</status-message>
<operation-attributes>
<device-info>
<status-code>0</status-code>
<status-message>success</status-message>
<device-name>SAPDEV25</device-name>
</device-info>
<device-info>
</wsg-response>
Deleting SAP device
You can delete SAP devices through HP Web Services for Output Server. The following table lists the
DELETESAPDEVICE attributes.
Table 1-25. DELETESAPDEVICE attributes
Type Name Value Requirement
Operation operation-type DELETESAPDEVICE Mandatory
Operation user-info A character data element
with user-info as
illustrated in the sample
contract.
Mandatory
Operation device-info A character data element
with SAP device info as
illustrated in the sample
contract.
Mandatory