[prev in list] [next in list] [prev in thread] [next in thread]
List: axis-user
Subject: [Axis2] Obtaining WS-Addressing ReferenceParameters
From: "Tung Tran" <tungtt () gmail ! com>
Date: 2006-04-30 20:20:59
Message-ID: f8baf56b0604301320m1ea46dfdgd5310bd254b164e5 () mail ! gmail ! com
[Download RAW message or body]
Hello,
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.
Basically, on the client side, I do something like this:
referenceParameters.put("param", "xyz");
targetEPR.setReferenceParameters(referenceParameters);
options.setTo(targetEPR);
sender = new ServiceClient();
sender.setOptions(options);
sender.sendReceiveNonBlocking(payload, callback);
On the server side, I deploy a handler and and try to get the
SOAPHeader (from inside the handler's invoke method) with:
msgContext.getEnvelope().getHeader()
This header, however, is empty. I've expected that the
referenceParameter above should be here.
The addressing module is engaged on server. I'm not sure if I have to
do anything on the client side.
Any pointers to the right direction would be greatly appreciated.
Thanks all in advance.
Tung Tran
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic