Ok, I have a million
and one questions for you guys but I'm going to take it step by step. The
company I work for has an account on Ariba and orders are placed and sent to us
through e-mail. We have the option of receiving it in cXML if we specify a URL
to send it to. Our overall goal is to convert the info into csv format. We then
need to be able to send back an order confirmation and order updates back to
Ariba in response to the orderRequest.
This is an example of what we would be receiving in the orderRequest.xml,
please take a look and I have a few question at bottom...
<?xml version="1.0" encoding="UTF-8" ?> - <!--
Ordering three line items for delivery on the same day (a
few days after the order date).
--> <!DOCTYPE cXML (View Source for full
doctype...)> - <cXML payloadID=" 32232995@ariba.acme.com"
timestamp="2000-10-12T18:39:09-08:00" xml:lang="en-US"
version="1.2.007"> - <Header> - <From> - <!--
The buying marketplace and member organization. --> -
<Credential domain="AribaNetworkUserId" type="marketplace">
<Identity>bigadmin@marketplace.org</Identity>
</Credential> - <Credential
domain="AribaNetworkUserId">
<Identity>admin@acme.com</Identity>
</Credential> </From> - <To> - <Credential
domain="DUNS"> <Identity>942888711</Identity>
</Credential> </To> - <Sender> -
<!-- This document has passed through Ariba CSN to
the
supplier.
--> - <Credential
domain="AribaNetworkUserId">
<Identity>sysadmin@ariba.com</Identity>
<SharedSecret>abracadabra</SharedSecret>
</Credential> <UserAgent>Ariba CSN 33</UserAgent>
</Sender> </Header> - <Request
deploymentMode="test"> - <OrderRequest> - <OrderRequestHeader
orderID="DO1234" orderDate="2000-10-12" type="new" orderType="regular"> -
<Total> <Money currency="USD">187.60</Money>
</Total> - <ShipTo> - <Address>
<Name xml:lang="en">Acme</Name> - <PostalAddress
name="default"> <DeliverTo>Joe Smith</DeliverTo>
<DeliverTo>Mailstop M-543</DeliverTo>
<Street>123 Anystreet</Street>
<City>Sunnyvale</City> <State>CA</State>
<PostalCode>90489</PostalCode> <Country
isoCountryCode="US">United States</Country>
</PostalAddress> </Address> </ShipTo> -
<BillTo> - <Address> <Name
xml:lang="en">Acme</Name> - <PostalAddress
name="default"> <Street>123 Anystreet</Street>
<City>Sunnyvale</City>
<State>CA</State>
<PostalCode>90489</PostalCode> <Country
isoCountryCode="US">United States</Country>
</PostalAddress> </Address> </BillTo> -
<Payment> <PCard number="1234567890123456"
expiration="2001-03-12" /> </Payment> <Comments
xml:lang="en-US">Anything well formed in XML.</Comments>
</OrderRequestHeader> - <ItemOut quantity="10"
requestedDeliveryDate="2000-10-18" lineNumber="1"> -
<ItemID> <SupplierPartID>1233244</SupplierPartID>
</ItemID> - <ItemDetail> -
<UnitPrice> <Money currency="USD">1.34</Money>
</UnitPrice> <Description xml:lang="en">hello
from item 1</Description>
<UnitOfMeasure>EA</UnitOfMeasure> <Classification
domain="SPSC">12345</Classification>
<ManufacturerPartID>234</ManufacturerPartID>
<ManufacturerName>foobar</ManufacturerName>
<URL>www.foo.com</URL> </ItemDetail>
</ItemOut> - <ItemOut quantity="20"
requestedDeliveryDate="2000-10-18" lineNumber="4"> -
<ItemID> <SupplierPartID>1233245</SupplierPartID>
</ItemID> - <ItemDetail> -
<UnitPrice> <Money currency="USD">2.68</Money>
</UnitPrice> <Description xml:lang="en">hello
from item 4</Description>
<UnitOfMeasure>EA</UnitOfMeasure> <Classification
domain="SPSC">12346</Classification>
<ManufacturerPartID>235</ManufacturerPartID>
<ManufacturerName>foobar</ManufacturerName>
<URL>www.foo.com</URL> </ItemDetail>
</ItemOut> - <ItemOut quantity="30"
requestedDeliveryDate="2000-10-18" lineNumber="5"> -
<ItemID> <SupplierPartID>1233246</SupplierPartID>
</ItemID> - <ItemDetail> -
<UnitPrice> <Money currency="USD">4.02</Money>
</UnitPrice> <Description xml:lang="en">hello
from item 5</Description>
<UnitOfMeasure>EA</UnitOfMeasure> <Classification
domain="SPSC">12347</Classification>
<ManufacturerPartID>236</ManufacturerPartID>
<ManufacturerName>foobar</ManufacturerName>
<URL>www.foo.com</URL> </ItemDetail>
</ItemOut> </OrderRequest>
</Request> </cXML>
Now, I'm sure you can see how confusing this can seem to a beginner trying
to teach himself. How would I receive something like this? What kind of
page would I need to catch this information? How would I send the response?
How can confidential information like this be sent to a URL and be secure
from everyone else?
Hopefully one of you were once in my situation and can help. Whether you
can help with one or all of the questions it would be appreciated because I have
alot more than that.
Thank you
Dale Bryan
|