dev@jax-ws.java.net

Re: Propagating FastInfosetFeature from the WSDLBoundPortType to the WSBinding

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Wed, 18 Oct 2006 09:24:52 -0700

[added dev_at_jax-ws.dev.java.net]

Paul Sandoz wrote:
> Hi,
>
> I have modified JAX-WS code for PortInfo, SEIPortInfo and
> EndpointFactory to propagate the FastInfosetFeature from the
> WSDLBoundPortType to the WSBinding.
>
> I basically copied what was done for MTOM on the presumption that it
> is correct :-)
>
I guess, it should be fine, except MTOM is little different as the
defaulting rules are different. Such as mtom can be enabled/disabled
using DD, BindingType, @MTOMFeature annotation and also using jaxws apis!

> It seems there could be some generic code for the cases where specific
> overriding logic is not required (e.g. for addressing) such that by
> default all features get propagated. I did not modify to make it
> generic because i want to check if that is the right thing to do.
It really depends on the feature. Such as addressing can be turned on
using wsdl extension or using a policy. Not sure what kind of generic
behavior can be applied.

-vivek.
>
> Paul.
>