dev@jax-ws.java.net

Features added to WSDL port.binding

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Fri, 03 Nov 2006 13:40:51 +0100

Hi,

Something subtle has changed recently that stopped the
FastInfosetFeature being propagated from the WSDL port binding to the
JAX-WS binding.

I modified the FastInfosetModelConfiguratorProvider to:

   port.addFeature(new FastInfosetFeature(isFastInfosetEnabled));

(like addressing) instead of:

port.getBinding().addFeature(
    new FastInfosetFeature(isFastInfosetEnabled));

and the feature then gets propagated to the ones that are merged and
passed to the binding.

The some problem will occur with MTOM as well.

Paul.

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