Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 24676 invoked from network); 27 Apr 2006 13:36:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Apr 2006 13:36:26 -0000 Received: (qmail 58216 invoked by uid 500); 27 Apr 2006 13:35:41 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 58178 invoked by uid 500); 27 Apr 2006 13:35:41 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 58116 invoked by uid 99); 27 Apr 2006 13:35:41 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 06:35:40 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [208.97.132.5] (HELO spunkymail-a10.dreamhost.com) (208.97.132.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Apr 2006 06:35:38 -0700 Received: from [10.0.0.47] (47.Red-80-36-214.staticIP.rima-tde.net [80.36.214.47]) by spunkymail-a10.dreamhost.com (Postfix) with ESMTP id 3B3991621D5 for ; Thu, 27 Apr 2006 06:35:16 -0700 (PDT) Received: from 127.0.0.1 (AVG SMTP 7.1.385 [268.5.0/325]); Thu, 27 Apr 2006 15:35:11 +0200 Message-ID: <4450C88F.6090802@gridsystems.com> Date: Thu, 27 Apr 2006 15:35:11 +0200 From: Rodrigo Ruiz Organization: GridSystems User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) To: axis-user@ws.apache.org Subject: Re: [Axis2] Good way of notifying the clients to say "results are ready" in asynchronous messaging References: <20060427121601.16461.qmail@web38906.mail.mud.yahoo.com> In-Reply-To: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ali, 1) The scenario you describe seems correct to me. Event Notification is a rather common pattern, and some specifications that can be of help are WS-Eventing and WS-BaseNotification. Anyway, your scenario is simple enough for, as Anne stated, WS-Addressing being enough to implement it. 2) The solution you are considering is basically correct, but putting and EndPointReference to the service will be better than a simple service name. Shortly, it will safe you some programming at the client side if you get a ready-to-use EPR ;-) Some thoughts about your description: - You should include an EPR in OpenAccountMsg, pointing to the service that will receive the notification in the client side. - Why do not you include the results in the event notification itself? Regards, Rodrigo Ruiz Anne Thomas Manes wrote: > WS-Addressing. > > On 4/27/06, *Ali Sadik Kumlali* > 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 > > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.385 / Virus Database: 268.5.0/325 - Release Date: 26/04/2006 -- ------------------------------------------------------------------- GRIDSYSTEMS Rodrigo Ruiz Aguayo Parc Bit - Son Espanyol 07120 Palma de Mallorca mailto:rruiz@gridsystems.com Baleares - Espa�a Tel:+34-971435085 Fax:+34-971435082 http://www.gridsystems.com ------------------------------------------------------------------- -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.0/325 - Release Date: 26/04/2006