Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
|
B2B: How iProcurement Uses XML to Offer Multiple Catalog Products to Users, 13 of 16
This is the HTML format used to send selected items from the external catalog to iprocurement:
<HTML> <BODY onLoad="document.orderForm.submit()"> <FORM ACTION="URL of the Web Requisitions" METHOD="POST" NAME="orderForm"> <INPUT type="hidden" name="REQ_TOKEN" value="Requisition token"> <INPUT type="hidden" name="NO_OF_DATA_SEGMENTS" value="N"> <INPUT type="hidden" name="ITEM_XML_DATA1" value="First data segment"> <INPUT type="hidden" name="ITEM_XML_DATA2" value="Second data segment"> ........ <INPUT type="hidden" name="ITEM_XML_DATAN" value="Nth data segment"> </FORM> </BODY> </HTML>
Table 10-12 lists HTML elements grouped under their corresponding HTML tag names.
This example uses the HTML elements defined in Table 10-12.
<HTML> <BODY onLoad="document.orderForm.submit()"> <FORM ACTION="http://ap411sun.us.oracle.com:9999/OA_JAVA_ SERV/wp4/integrate/apps.Order" METHOD="POST" NAME="orderForm"> <INPUT type="hidden" name="REQ_TOKEN" value="template=tpn,action=addLines,function=addToOrder,por_req_session_ id=1,......"> <INPUT type="hidden" name="NO_OF_DATA_SEGMENTS" value="2"> <INPUT type="hidden" name="ITEM_XML_DATA1" value="<?xml version='1.0'?><OrderLinesDataElements><catalogTradingPartner><![CDATA[ABCCatalo gServices]]></catalogTradingPartner><orderLine>....."> <INPUT type="hidden" name="ITEM_XML_DATA2" value=" ..... </orderLine> <orderLine> <contract ..... </OrderLinesDataElements>"> </FORM> </BODY> </HTML>
|
Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
|