dev@jax-ws.java.net

Re: InstanceResolver changes

From: Jitendra Kotamraju <Jitendra.Kotamraju_at_Sun.COM>
Date: Mon, 02 Jul 2007 11:45:00 -0700

Jitendra Kotamraju wrote:
> Oleksiy Stashok wrote:
>> Jitu,
>>
>> how should I change the code?
>>
>> WBR,
>> Alexey.
>>
>> --------------------------------------------------------------------------------------------------------------------------------
>>
>> final QName serviceName =
>> WSEndpoint.getDefaultServiceName(ServiceChannelWSImpl.class);
>> final QName portName =
>> WSEndpoint.getDefaultPortName(serviceName, ServiceChannelWSImpl.class);
>> final BindingID bindingId =
>> BindingID.parse(ServiceChannelWSImpl.class);
>> final WSBinding binding = bindingId.createBinding();
Since these are default values, just pass null for all the above.

Jitu
>> return WSEndpoint.create(
>> ServiceChannelWSImpl.class, true,
>> (*)
>> InstanceResolver.createSingleton(ServiceChannelWSImpl.class.newInstance()).createInvoker(),
>>
> In this case, just pass null.
>
> Jitu
>> serviceName, portName, null, binding,
>> null, null, (EntityResolver) null, true
>> );
>>
>> ----------------------------------------------------------------------------------------------------------------------------------
>>
>>
>> Jitendra Kotamraju wrote:
>>> I plan to remove InstanceResolver.createInvoker() due to security
>>> concerns. WSEndpoint.create() allows null Invoker so shouldn't
>>> affect your impls that use hosting SPI. If you have concerns, let me
>>> know.
>>>
>>> Thanks,
>>> Jitu
>>>
>>> ---------------------------------------------------------------------
>>> 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
>