OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-transport message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: oops! Re: New example for appendix


here's the attachment;-)

Christopher Ferris wrote:
> 
> Dick/Martha,
> 
> I modified Dick's example to remove the charset attribute
> and to align the header document so that it is more readable.
> It may have screwed up the content-lengths, but that's another
> story for another day;-)
> 
> Anyway, as long as we fix the spec (my comments should take
> care of that) then this example will match what we deliver.
> 
> Thanks,
> 
> Chris
> 
> Dick Brooks wrote:
> >
> > 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
> >
> >   ----------------------------------------------------------------------------------------------------
> >                            Name: 2000-1012-sample.txt
> >    2000-1012-sample.txt    Type: Plain Text (text/plain)
> >                        Encoding: QUOTED-PRINTABLE
> 
> --
>     _/_/_/_/ _/    _/ _/    _/ Christopher Ferris - Enterprise Architect
>    _/       _/    _/ _/_/  _/  Phone: 781-442-3063 or x23063
>   _/_/_/_/ _/    _/ _/ _/ _/   Email: chris.ferris@East.Sun.COM
>        _/ _/    _/ _/  _/_/    Sun Microsystems,  Mailstop: UBUR03-313
> _/_/_/_/  _/_/_/  _/    _/     1 Network Drive Burlington, MA 01803-0903

-- 
    _/_/_/_/ _/    _/ _/    _/ Christopher Ferris - Enterprise Architect
   _/       _/    _/ _/_/  _/  Phone: 781-442-3063 or x23063
  _/_/_/_/ _/    _/ _/ _/ _/   Email: chris.ferris@East.Sun.COM
       _/ _/    _/ _/  _/_/    Sun Microsystems,  Mailstop: UBUR03-313
_/_/_/_/  _/_/_/  _/    _/     1 Network Drive Burlington, MA 01803-0903
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"; 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]

Search: Match: Sort by:
Words: | Help


Powered by eList eXpress LLC