dev@jax-ws.java.net

Re: BindingProvider response context property

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Fri, 28 Jul 2006 11:45:56 -0700

Anything set from RequestContext will be application-scoped anyway, isnt
it ?

Moreover I'm not getting this value in response context.

-Arun

kathy walsh wrote:
> Sorry-
> I meant RequestContext
>
> kathy walsh wrote:
>
>> ResponseContext as represented in the jaxws 2.0 spec and docs
>> does not have a way to set the scope-
>> Kathy
>>
>> Rama Pulavarthi wrote:
>>
>>> I fixed the RI to consider any non-standard property to default to
>>> handler scope.
>>> Unless you specify this is in Application scope, it won't appear in
>>> response context.
>>>
>>>
>>> thanks,
>>> Rama Pulavarthi
>>>
>>> Arun Gupta wrote:
>>>
>>>> Another data point ...
>>>>
>>>> With #1212, this property is not in handler scope.
>>>>
>>>> -Arun
>>>>
>>>> Arun Gupta wrote:
>>>>
>>>>>>> Somewhere after JAX-WS #1212, response context on BindingProvider
>>>>>>> is returning AddressingContext (a javax.xml.* property as of now)
>>>>>>> as null even though it's present in
>>>>>>> responseContext.packet.invocationProperties.
>>>>>>
>>>>>>
>>>>>>
>>>>>> What about scope? Is it in Handler scope by chance ?
>>>>>
>>>>>
>>>>> It turned out it is in handler scope. This code has not changed in
>>>>> JAX-WSA for few months.
>>>>>
>>>>> Has the behavior changed in JAX-WS after #1212 though ?
>>>>>
>>>>> This is how I'm adding the properties:
>>>>>
>>>>> packet.invocationProperties.put(JAXWSAConstants.CLIENT_ADDRESSING_PROPERTIES,
>>>>> ap);
>>>>>
>>>>> -Arun
>>>>>
>>>>>>
>>>>>> Jitu
>>>>>>
>>>>>>>
>>>>>>> I'll debug this tomorrow but in the meanwhile does anybody know
>>>>>>> what might have caused this ?
>>>>>>>
>>>>>>> -Arun
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
>>>>>> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>>>>>>
>>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
>>> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_jax-ws.dev.java.net
> For additional commands, e-mail: dev-help_at_jax-ws.dev.java.net
>

-- 
got Web Services ?
Download and Contribute Web Services Interoperability Technology (WSIT)
http://java.sun.com/webservices/interop