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] Interface between MSH and Applications


Patrick:

If you're after the programmatic API,  I suggest you look at Sun's JAXM
(Java API for XML Messaging) - assuming you're using Java.  

Everything involved with marshalling and de marshalling message content
should be sufficiently handled by this.  There needs to be set() and
get() methods for all aspects of the message information and, in some
cases, a getProperties() method.

I would advocate that you use a constructor type methodology if you
write your own message handler service in a multi threaded environment. 
By keeping the Message layer at the bottom of the runtime stack, message
instances can be instantiated by many calling apps.  You could then
create new message instances by calling the constructor method:

Message ebXMLMessage = new Message();

then set the CPAID etc...

setCPAID("1223456");
setConversationID("goooeds:233345gf8");

XML Global has v 2.0 ebXML MS.  We have our own API but plan to align it
with Sun's JAXM.  If you are interested in test driving this,  we can
talk off line.

With respect to your question of identifiers,  I would advocate using
the CPAID as the tie in to write handlers for calling other actions.  

Good luck!!

Duane Nickull


> Patrick Yee wrote:
> 
> Hi Everybody,
> We have a question about the interface between MSH and applications.
> In the specification, there is a layer called Message Service
> Interface (MSI). The application will be talking to MSI to access the
> functionalities provided by MSH. My question is: will a MSH serve only
> one application? Or a MSH will serve multiple applications through
> MSI?
> 
> Why we have this question is that, if the latter case is true, we have
> to define an identifier for each application using the MSH, so that
> the MSH can dispatch the ebXML message received to the corresponding
> application. Is there such an identifier defined in the specification?
> 
> Thanks in advance.
> 
> Regards,
> -Patrick
> --
> Patrick Yee
> System Architect
> Center for E-Commerce Infrastructure Development (CECID)
> Dept. of Computer Science and Information Systems
> The University of Hong Kong
> Tel: (852) 22415674  Fax: (852) 25474611

-- 
CTO, XML Global Technologies
****************************
Transformation - http://www.xmlglobal.com/prod/foundation/
ebXML Central - http://www.xmlglobal.com/prod/central/


[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