Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 12947 invoked from network); 1 May 2006 13:21:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 May 2006 13:21:21 -0000 Received: (qmail 94003 invoked by uid 500); 1 May 2006 13:21:12 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 93990 invoked by uid 500); 1 May 2006 13:21:12 -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 93979 invoked by uid 99); 1 May 2006 13:21:12 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 May 2006 06:21:12 -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 [209.68.5.9] (HELO relay00.pair.com) (209.68.5.9) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 01 May 2006 06:21:11 -0700 Received: (qmail 62953 invoked from network); 1 May 2006 13:20:49 -0000 Received: from unknown (HELO ?222.165.180.116?) (unknown) by unknown with SMTP; 1 May 2006 13:20:49 -0000 X-pair-Authenticated: 222.165.180.116 Message-ID: <445603FC.2030500@opensource.lk> Date: Mon, 01 May 2006 18:50:04 +0600 From: Eran Chinthaka Reply-To: chinthaka@opensource.lk User-Agent: Thunderbird 1.5 (X11/20051201) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: [Axis2] Obtaining WS-Addressing ReferenceParameters References: In-Reply-To: X-Enigmail-Version: 0.94.0.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC3B00CB1BE5CC12492DB2FCA" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC3B00CB1BE5CC12492DB2FCA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable You have to engage addressing in client side as well. There should be AddressingOutHandler in the client side to serialize the reference parameters you have put. I updated the documentation on this, and waiting for the Chatra to update the site. In the mean while you can check it here : http://svn.apache.org/viewcvs.cgi/webservices/axis2/trunk/java/xdocs/late= st/userguide3.html?view=3Dmarkup. Check in the EchoNonBlockingDualClient section. -- Chinthaka Tung Tran wrote: > Hello, >=20 > I'm trying to include some service-unique information as a > referenceParameter of the To's EndpointReference. However I can't > extract that piece of info with a handler deployed on the server side. >=20 > Basically, on the client side, I do something like this: >=20 > referenceParameters.put("param", "xyz"); > targetEPR.setReferenceParameters(referenceParameters); > options.setTo(targetEPR); >=20 > sender =3D new ServiceClient(); > sender.setOptions(options); > sender.sendReceiveNonBlocking(payload, callback); >=20 > On the server side, I deploy a handler and and try to get the > SOAPHeader (from inside the handler's invoke method) with: >=20 > msgContext.getEnvelope().getHeader() >=20 > This header, however, is empty. I've expected that the > referenceParameter above should be here. >=20 > The addressing module is engaged on server. I'm not sure if I have to > do anything on the client side. >=20 > Any pointers to the right direction would be greatly appreciated. > Thanks all in advance. >=20 > Tung Tran >=20 --------------enigC3B00CB1BE5CC12492DB2FCA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEVgP/jON2uBzUhh8RAveoAJ9d/xzx4PrvCQ7LrAwcgEjnk4IuvwCdGoBH Xna8IU5VS2KvX5FVDVLz7LQ= =BrQp -----END PGP SIGNATURE----- --------------enigC3B00CB1BE5CC12492DB2FCA--