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

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [ebxml-dev] Creation of ebxml messages

Bennet,

Just to go into a bit more detail on how to create ebXML messages and point
you to a few useful libraries...
I am assuming that you have read the Messaging spec, although I admit there
is a lot to take in, and it's not a trivial exercise implementing the full
specification.
Ebxml messages are simply 'SOAP with Attachment' messages.
So to create SwA messages you can utilise an API such as SAAJ (SOAP with
Attachments API for Java) - Sun has an implementation but there are others.
There are lot's of examples available on the web. Once you create a
SOAPMessage, you can send it using a SOAPConnection.

As for digital signatures, ebXML messages are signed using a specification
called XMLDSIG. I prefer using the Apache XML Security toolkit to implement
XMLDSIG although once again there are other libraries available. 
My suggestion is to try signing a simple xml document and validate that,
then sign a simple SOAP message, and validate that, then go to SwA - then
your specific ebXML implementation of SwA. There are examples in the Apache
toolkit for many of these.
One thing to watch out for is to ensure that the 'Transforms' are correct.

Cheers

Anthony Ellis 
Red Wahoo 
www.redwahoo.com 
p: + 61 2 9438 3700 
m:+ 61 438 878003 
f: + 61 2 9439 2738 


-----Original Message-----
From: Sacha Schlegel [mailto:sacha@schlegel.li] 
Sent: Sunday, 1 October 2006 5:08 PM
To: bennet sundaram
Cc: ebxml-dev@lists.ebxml.org
Subject: Re: [ebxml-dev] Creation of ebxml messages

Hi Bennet

I hope you have seen the www.freebxml.org project, that project hosts a free
(GNU General Public License) ebXML messaging system. There is even a further
project called WebswellConnect which adds ebXML Collaboration Protocol
Agreement (CPA) capabilities.

So I would suggest you get familiar with Hermes or WebswellConnect first.

The advantage of having this system is to have a test system you can send
your own ebXML messages against, eg basically you can start interoperability
immediately.

And then because it is Free Software you have the right to study and learn
from the Source Code. The Hermes2 Source Code documents exactly what you
have to do to get a valid ebXML message ;)

Kind regards

Sacha Schlegel


On Sat, 2006-09-30 at 21:28 -0700, bennet sundaram wrote:
> Hi,
> I am new to ebxml technology.
> I want to know the process of creating ebxml message using java.
> I tried by creating a default soap message and then populating the 
> message with the required ebxml tags and then signing the message.
> But it doesn't work as the signature verification fails.
> I also need to sign the reference to the attachment.
> I am not clear about the process of developing ebxml messages, signing 
> it and then sending it to the TP.
> It would be very helpful if someone could explain the process of 
> creating ebxml messages.
> Thanks a lot
> 
> ______________________________________________________________________
> Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+
> countries) for 2/min or less.
--
public key at: http://www.schlegel.li/sacha.gpg




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