Hi Anne, Thanks for the reply. I already use WS-Addressing. Just wanted to make sure the correctness of my asynchronous communication design and, if any, to ask for a better solution.
For example; I'm not sure if its suitable GetOpenAccountResultMsg to have a RelatesTo value that references to its first call. Also, I think that there must be a better way to say a client which service it must call to. Thanks again, Ali Sadik Kumlali --- Anne Thomas Manes <[EMAIL PROTECTED]> wrote: > WS-Addressing. > > On 4/27/06, Ali Sadik Kumlali <[EMAIL PROTECTED]> wrote: > > > > Hi all, > > > > I want to send a notification message to my clients when their > requests > > are processed and the results are ready. Then I expect them to call > a > > service to acquire the results. Here is the sample scenario: > > > > server.wsdl > > ------------ > > - OpenAccount > > - input: OpenAccountMsg > > > > - GetOpenAccountResult > > - input: GetOpenAccountResultMsg > > - output: GetOpenAccountResultResponseMsg > > > > client.wsdl > > ------------ > > - ResultIsReady (input only) > > - input: ResultIsReadyMsg > > > > > > OpenAccountMsg (MessageId: A) > > Client -----------------------------------------------------> > Server > > > > > > ResultIsReadyMsg (MessageId: B, RelatesTo: A) > > Client <----------------------------------------------------- > Server > > > > > > GetOpenAccountResultMsg (MessageId: C, RelatesTo: A) > > Client -----------------------------------------------------> > Server > > <----------------------------------------------------- > > GetOpenAccountResultResponseMsg (MessageId: D, RelatesTo: > A) > > > > > > Here are the questions: > > 1) Do you see any flaw in this scenario? Or is there a common and > > standards based way to accomplish this kind of asynchronous > > communication? > > > > 2) I haven't found a good way to say my clients which service do > they > > need to call for getting the results. I'm planning to put the name > of > > result service name (GetOpenAccountResultMsg) in notification > message > > (ResultIsReadyMsg). > > > > Could you please enlighten me? Any help would be great! > > > > Ali Sadik Kumlali > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection around > > http://mail.yahoo.com > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
