Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 36787 invoked from network); 19 Jul 2006 18:32:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Jul 2006 18:32:08 -0000 Received: (qmail 45061 invoked by uid 500); 19 Jul 2006 18:32:01 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 45012 invoked by uid 500); 19 Jul 2006 18:32:01 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 45001 invoked by uid 99); 19 Jul 2006 18:32:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 11:32:01 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of robertlazarski@gmail.com designates 64.233.182.188 as permitted sender) Received: from [64.233.182.188] (HELO nf-out-0910.google.com) (64.233.182.188) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jul 2006 11:32:01 -0700 Received: by nf-out-0910.google.com with SMTP id a4so263678nfc for ; Wed, 19 Jul 2006 11:31:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GWWTFZ7SjgZFFI9053MqHqNoCwhvljq+b0m45+I6YjvTKL1kBNMWqQCT7xiMmhf9fmgfieWFwQfxB5CSmyFKm/2f4FU88aKhjtermDpdvWl/Nl/lNuT5neWmj06F9XhpdHamhVKiVzDqxppqsqragEPoKrUC51zAOK1Vf9XDOFE= Received: by 10.49.1.9 with SMTP id d9mr1920155nfi; Wed, 19 Jul 2006 11:31:39 -0700 (PDT) Received: by 10.49.9.19 with HTTP; Wed, 19 Jul 2006 11:31:39 -0700 (PDT) Message-ID: Date: Wed, 19 Jul 2006 15:31:39 -0300 From: "robert lazarski" To: axis-dev@ws.apache.org Subject: Re: [Axis2] Non-blocking dual client In-Reply-To: <0J2N0019EIQMFK@tid.hi.inet> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <0J2N0019EIQMFK@tid.hi.inet> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N You're trying to do dual channel non-blocking, right? Several things here don't make sense to me here. Perhaps with some more info maybe we can help: 1) You say you are using codegen with a hashMap - but there is no wsdl type for java.util.HashMap . 2) CodeGen generates its own *CallbackHandler.java , right? The code you are showing looks like its from the code gen stub. What you really need to do, IMHO, is implement your *CallbackHandler.java methods and invoke your Stub.start* (at least using xmlbeans, probably the samething for ADB) methods that receive the argument of *CallbackHandler . HTH, Robert http://www.braziloutsource.com/ On 7/19/06, Marta Garc=EDa Rueda wrote: > > > > > Hi, > > I=B4m doing an asynchronous client for a web services with the Code Gener= ator > Tool and my stub class it=B4s like that: > > > > _operationClient.getOptions().setUseSeparateListener(true); > > _operationClient.getOptions().setTransportInProtocol(org.apache.axis2.Con= stants.TRANSPORT_HTTP); > > org.apache.axis2.util.CallbackReceiver _callbackReceiver =3D > null; > > if (_operations[0].getMessageReceiver() =3D=3D null && > _operationClient.getOptions().isUseSeparateListener()) { > > _callbackReceiver =3D new > org.apache.axis2.util.CallbackReceiver(); > > > _operations[0].setMessageReceiver(_callbackReceiver); > > } > > _operationClient.execute(false); > > > > When I debug this I see that the object callbackReceiver has the result i= n a > hashMap callbackStore. But I don=B4t know how to retrieve the result. I h= ave > to implement a Listener o something like that? Could you tell me where ca= n I > find an example? > > > > Thank you very much. > > Marta Garc=EDa. > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org