|
From: V V. <vk...@ho...> - 2003-02-10 13:27:08
|
Hi CY,
Thanks for your response.
Request1 <------> S1(MSH1) <=============> R1(MSH2) <------> Request2
register register
(a,b,c,d) (e,f,g,h)
If Request1 is to send a message directly to R1, how will it accept it,
since it is not registered at R1 (it is only registered at MSH1).
Regards,
Visva
>From: "Ng Chi Yuen [Cyng]" <cy...@cs...>
>To: <ebx...@li...>
>CC: V Visvanathan <vk...@ho...>
>Subject: Re: Sending a message to an application registered on another MSH
>Date: Mon, 10 Feb 2003 09:59:33 +0800 (CST)
>
>Hi,
>
> > I have an application registered with MSH1 (let us call it S1)
> > and another application registered with MSH2. (say R1)
> > MSH1, MSH2 are two different msh servers.
>
> > I am attempting to send a message from S1 to R1.
>
> > Do I send a message with the TO_PARTY_ID as (URL) MSH2, (since
> > R1's URL is not visible to S1). I have the same CPAID, etc. for both
> > S1 and R1 and they are registered respectively to their MSHs.
>
> > Now, I am lost at this point - How does MSH1 send to MSH2 since there
> > is no registration, etc. going on between them.
>
>
> You can visualize in this way:
>
> Request1 <------> S1(MSH1) <=============> R1(MSH2) <------> Request2
> register register
> (a,b,c,d) (e,f,g,h)
>
>Request1 registers to its own S1(MSH1) with ApplicationContext=(a,b,c,d).
>That means it is expecting to receive messages with (a,b,c,d) from R1.
>Similarly, Request2 registers to its own R1(MSH2) with
>ApplicationContext=(e,f,g,h). That means S1(MSH1) will send messages with
>(e,f,g,h) to R1(MSH2) and the "toMshUrl" of Request1 should be R1's URL.
>Currently, you are advised to also set the TO_PARTY_ID to be R1's URL
>(though the actual sending uses "toMshUrl") and the FROM_PARTY_ID to be
>S1's URL.
>
> Hope this help.
>
>Regards,
>CY
>
>----------------------------------------------------------------------------
>Ng Chi Yuen, CY. cy...@ce... http://www.cecid.hku.hk/
>Technology Officer,
>Centre for E-Commerce Infrastructure Development,
>The University of Hong Kong
>----------------------------------------------------------------------------
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
|