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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-dev message

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


Subject: Re: [ebxml-dev] EbXML Sun implementation



You need to set all the mandatory fields
of an ebXML message in order to get anything
out of the EbXMLMessageImpl implementation.
(check the spec for mandatory fields)
If you don't do this, you only get the empty
SOAP message.
In my opinion the code you gave should
throw an exception, since it does not specify
a legal ebXML message.
Hope this helps.

Regards,
Gummi Haf

------------------------------------------
Gudmundur Hafsteinsson - gummi@dimonsoftware.com
Dimon Software - www.dimonsoftware.com

"... 'cause that's what tiggers do the best!" - Tigger
------------------------------------------




LAMY Olivier <LAMY_Olivier@accor-hotels.com>

08.03.2002 15:40
Please respond to LAMY Olivier

       
        To:        ebxml-dev <ebxml-dev@lists.ebxml.org>
        cc:        
        Subject:        [ebxml-dev] EbXML Sun implementation



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>




[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