dev@jax-ws.java.net

Re: Accessing Properties in the Pipe from Packet

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Thu, 09 Feb 2006 15:33:07 +0100

Kohsuke Kawaguchi wrote:
> 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.
>

Perhaps an explicit reference to javax.xml.ws.BinaryProvider and the
get*Context methods would help make things clearer.

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109