[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: New example for appendix
Folks, I've reproduced a sample binding to HTTP (attached) for the appendix using the latest and greatest DTD provided by Chris Ferris. This example is based on GCI data provided by Melanie, hopefully the POC folks will find this useful. It became abundantly clear while I was building this example there is still a good deal of "cleanup" remaining in the MS spec v0.21. For example, the charset and version parameters are no longer used on the ebXML header envelope, but they still appear in the spec. The example matches the spec, which needs to change. Dick Brooks Group 8760 110 12th Street North Birmingham, AL 35203 dick@8760.com 205-250-8053 Fax: 205-250-8057 http://www.8760.com/ InsideAgent - Empowering e-commerce solutions
POST http://127.0.0.1:9090/servlet/AS2Appl HTTP/1.0 Connection: Keep-Alive User-Agent: Group 8760 Java MultiPost Content-type: multipart/related; type="application/vnd.eb+xml"; charset="iso-8859-1"; version=0.21; boundary=-----------------------8760567890---- Content-Length: 2717 -------------------------8760567890---- Content-ID: ebxmlheader-8760-901543739 Content-Length: 1357 Content-type: application/vnd.eb+xml <?xml version ="1.0" encoding="UTF-8"?> <!DOCTYPE ebXMLHeader SYSTEM "level1-10022000.dtd"> <ebXMLHeader xmlns = "http://www.ebxml.org/namespaces/ebXMLHeader" Version = "0.21" MessageType = "Normal"> <Manifest> <DocumentReference> <DocumentLabel>Purchase Order Request Action</DocumentLabel> <DocumentId>cid:8760.com901543736</DocumentId> <DocumentDescription xml:lang="en-us">GCI Purchase Order</DocumentDescription></DocumentReference> </Manifest> <Header> <From> <PartyId context = "DUNS">2059397184</PartyId> </From> <To> <PartyId context = "DUNS">943561654</PartyId> </To> <TPAInfo> <TPAId>/2059397184/943561654GCIPO-20000202</TPAId> <ConversationId>8760.com901543737</ConversationId> <ServiceInterface>OrderProcessing</ServiceInterface> <Action>ProcessNewOrder</Action> </TPAInfo> <MessageData> <MessageId>8760.com901543738</MessageId> <Timestamp>20001014175625510.000Z</Timestamp> <RefToMessageId>Not Applicable</RefToMessageId> </MessageData> <ReliableMessagingInfo DeliverySemantics ="OnceAndOnlyOnce"/> </Header> <RoutingHeader> <RouteInfo> <SenderURI>ford.com/ebXMLHandler</SenderURI> <ReceiverURI>gm.com/ebXMLHandler</ReceiverURI> <ErrorURI>mailto:ebxmlerrors@ford.com</ErrorURI> <Timestamp>20001014175625510.000Z</Timestamp> <SequenceNumber>00001</SequenceNumber> </RouteInfo></RoutingHeader></ebXMLHeader> -------------------------8760567890---- Content-Length: 1043 Content-ID: 8760.com901543736 Content-type: application/xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Order SYSTEM "OrderV0.1072400.dtd"> <Order actionRequestStatusIndicator="Create"> <Document id="" status="COPY" type="" language="EN"> <creationDate date="2000-02-02"/> </Document> <buyer> <PartyIdentification> <GlobalLocationNumber>4325335000003</GlobalLocationNumber> </PartyIdentification> <BuyerAlignmentIdentification>Buyer</BuyerAlignmentIdentification> </buyer> <seller> <PartyIdentification> <GlobalLocationNumber/> </PartyIdentification> <SellerAlignmentIdentification/> </seller> <shipTo> <PartyIdentification> <GlobalLocationNumber/> </PartyIdentification> <ShipToAlignmentIdentification/> </shipTo> <requestedMovementType movement="requestedDeliveryDate"> <movementDate date="2000-03-03"/> </requestedMovementType> <lineItem lineItemNumber="1"> <itemId> <GlobalTradeItemNumber/> </itemId> <requestedQuantity value="100"/> <price netPrice="1000.00" currencyOfNetPrice=""/> </lineItem> </Order> -------------------------8760567890------
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC