dev@jax-ws.java.net

Re: Accessing Properties in the Pipe from Packet

From: Kohsuke Kawaguchi <kohsuke.kawaguchi_at_sun.com>
Date: Thu, 09 Feb 2006 06:22:26 -0800

V B Kumar Jayanti wrote:
> Hi Kohsuke, Paul,
>
> In the client code we would like to set some properties on the
> BindingProvider.
>
> ((BindingProvider)stub).getRequestContext().
> put(XWSSecurityConfiguration.SECURITY_CALLBACK_HANDLER,
> handler);
>
> Now in the SecurityPipe will this be available under
> packet.invocationProperties or will it be available under otherProperties ?.

I hope I explained this in javadoc of the Packet. .... Yep. See the
class javadoc about the discussion between request/response context and
properties.

So in short, it should be in the invocationProperties.

As usual, any suggestion to how to improve doc would be greatly appreciated.

-- 
Kohsuke Kawaguchi
Sun Microsystems                   kohsuke.kawaguchi_at_sun.com