Next in thread → Next in month →

Re: [ebxml-dev] EbXML Sun implementation

From
Olivier Lamy <>
To
Christopher Ferris <>
Date
2002-03-11T07:57:51Z
ID
<02f901c1c8d2$7156b600$>
Thread
Re: [ebxml-dev] EbXML Sun implementation
Yes, I knwon. But I expected something as below with this code :

FileOutputStream fio = new FileOutputStream (new File("eb.xml"));
EbXMLMessageImpl ebxml = new EbXMLMessageImpl();
ebxml.setAction ("action");
ebxml.setConversationId ("4125641");
ebxml.saveChanges();
ebxml.writeTo (fio);


<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:eb="http://www.ebxml.org/namespaces/messageHeader"
xmlns:xlink="http://www.w3.org/1999/xlink">
<SOAP-ENV:Header>
    <eb:MessageHeader SOAP-ENV:mustUnderstand="1" eb:version="1.0">
    <eb:ConversationId>4125641</eb:ConversationId>
    <eb:Action>action</eb:Action>
</eb:MessageHeader>
 </SOAP-ENV:Header>
<SOAP-ENV:Body>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Does the com.sun.xml.messaging.ebxml.EbXMLMessageImpl do that ??
Olivier

----- Original Message -----
From: "Christopher Ferris" <>
To: "LAMY Olivier" <>
Cc: "ebxml-dev" <>
Sent: Friday, March 08, 2002 4:49 PM
Subject: Re: [ebxml-dev] EbXML Sun implementation


> Olivier,
>
> ebXML's Message Service (the protocol and message
> format for ebXML messages) is based upon SOAP as the
> underlying envelope format and processing model.
>
> What ebXML does is define standard extensions to a SOAP
> message, in full accordance with the SOAP protocol,
> that adds features and capabilities such as reliability,
> security and addressing, that SOAP itself does not
> provide natively.
>
> So, in fact, what you see is a SOAP envelope containing
> ebXML extensions which is precisely what you should be
> expecting.
>
> Cheers,
>
> Chris
>
> LAMY Olivier wrote:
>
> > Hi,
> > I'm trying to use the class
com.sun.xml.messaging.ebxml.EbXMLMessageImpl.
> > With the simple code :
> >
> >       FileOutputStream fio = new FileOutputStream (new File("eb.xml"));
> >
> >       EbXMLMessageImpl ebxml = new EbXMLMessageImpl();
> >       ebxml.setAction ("action");
> >       ebxml.setConversationId ("4125641");
> >       ebxml.saveChanges();
> >
> >       ebxml.writeTo (fio);
> >
> > I thought I will have an ebxml message but in fact I have an soap
message.
> > Thanks
> > Olivier
> >
> >
> >
> > **********************************************************************
> > Ce message électronique et tous les fichiers joints ainsi que  les
> > informations contenues dans ce message (ci après "le message"), sont
> > confidentiels et destinés exclusivement à l'usage de la  personne à
laquelle
> > ils sont adressés. Si vous avez reçu ce message par erreur, merci  de le
> > renvoyer à son émetteur et de le détruire. Toute diffusion, publication,
> > totale ou partielle ou divulgation sous quelque forme que ce soit non
> > expressément autorisées de ce message, sont interdites.
> >
> > **********************************************************************
> > This e-mail, any attachments and the information contained (herein " the
> > message") are confidential and intended solely for the use of the
> > addressee(s) if you have received this message in error please send it
back
> > to the sender and delete it. Unauthorized publication, use,
dissemination or
> > disclosure, either whole or partial, of this  message is strictly
> > prohibited.
> >
> > ----------------------------------------------------------------
> > The ebxml-dev list is sponsored by OASIS.
> > To subscribe or unsubscribe from this elist use the subscription
> > manager: <http://lists.ebxml.org/ob/adm.pl>
> >
>
>
>
> ----------------------------------------------------------------
> The ebxml-dev list is sponsored by OASIS.
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.ebxml.org/ob/adm.pl>

----------------------------------------------------------------
The ebxml-dev list is sponsored by OASIS.
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.ebxml.org/ob/adm.pl>
Next in thread → Next in month →