Oracle8i Application Developer's Guide - XML Release 3 (8.1.7) Part Number A86030-01 |
Library | Service | Contents | Index

B2B: How iProcurement Uses XML to Offer Multiple Catalog Products to Users, 15 of 16

## Authenticated XML Schema

When the external catalog provider requests user authentication, iProcurement calls a PL/SQL procedure, with a session ticket as the encrypted parameter, to authenticate the user.

### iProcurement Example 13: Authenticated XML Schema -- Returned Requisition User XML Document

The following XML schema shows the returned Requisition User XML document.

    <?xml version='1.0'?>
    <s:schema id='RequisitionUser'>
    <elementType id="userName">
         <string/>
         <description>Unique user name of person in the requisition
    system</description>
    </elementType>
    <elementType id="company">
         <string/>
         <description>Unique company name in the requisition system</description>
    </elementType>
    <elementType id="operatingUnit">
         <string/>
         <description>Unique operating unit name in the requisition
    system</description>
    </elementType>
    <elementType id="shipTo">
         <string/>
         <description>shipTo account for the requisition</description>
    </elementType>
    <elementType id="deliverTo">
         <string/>
         <description> deliverTo account for the requisition </description>
    </elementType>
    <elementType id="reqToken">
         <string/>
         <description>Unique requisition ID used in the requisition
    system</description>
    </elementType>
    <elementType id="returnURL">
         <string/>
         <description>URL that ReqLines should be redirected to</description>
    </elementType>
    <elementType id="RequisitionUser">
         <elementType ="#userName"/>
         <elementType ="#company"/>
         <elementType ="#organisation" occurs "OPTIONAL"/>
         <elementType ="#reqToken"/>
         <elementType ="#shipTo" occurs "OPTIONAL"/>
         <elementType ="#deliverTo" occurs "OPTIONAL"/>
         <elementType ="#returnURL"/>
         <description>object sent to external supplier for user
     identification</description>
    </elementType>
    </s:schema>

### iProcurement Example 14: Authenticated User: Sample Returned XML Document

This example has data. It illustrates a typical returned XML document generated for an authenticated user.

    <?xml version='1.0'?>
    <RequisitionUser>
      <userName>Fred Bloggs</userName>
      <company> Oracle Corporation</company>
      <operatingUnit>Manufacturing</operatingUnit>
      <shipTo>Oracle HQ</shipTo>
      <deliverTo>Kevin Miller</deliverTo>
      <reqToken> 1245</reqToken>
      <returnURL>http://reqs.us.oracle.com/order/75</returnURL>
    </RequisitionUser>

| Copyright © 1996-2000, Oracle Corporation. All Rights Reserved. |
Library | Service | Contents | Index