HPOS 4.0 technical note 3

HP Web Services for Output Server 36
Using HP Web Services for Output Server
SAP Print Path devices management functions
The following is an example of MODIFYSAPDEVICE XML contract request:
<wsg-request>
<operation-attributes>
<operation-type>MODIFYSAPDEVICE</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 MODIFYSAPDEVICE 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>
List SAP device
You can list all the details of a single SAP device. The details of all SAP device columns are retrieved. The following
table lists the LISTSAPDEVICE attributes.
Table 1-27. LISTSAPDEVICE attributes
Type Name Value Requirement
Operation operation-type LISTSAPDEVICE 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