Find JSRs
Submit this Search


Ad Banner
 
 
 
 

changelog-2_2-respin

Change Log JSR 224 : Java API for XML-Based Web Services (JAX-WS) 2.2

Description

Additional changes for JAX-WS 2.2 MR

Maintenance Lead

Jitendra Kotamraju, Sun Microsystems, Inc.

Changes

  1. @WebServiceRef changes
    • Javadoc changes for name()
           * The JNDI name can be absolute(with any logical namespace) or relative
           * to JNDI java:comp/env namespace.
      
    • New lookup() element method is added
         /**
          * A portable JNDI lookup name that resolves to the target
          * web service reference.
          */
         String lookup() default "";
      
      A defined reference can be resolved using a portable JNDI name provided by lookup element. In this case, it is an error if there are any circular dependencies between entries of references. Similarly, it is an error if looking up the specified JNDI name results in a resource whose type is not compatible with the reference being created. Since this "lookup" functionality is just resolving to an already defined reference, only name can be specified with lookup(doesn't require any other metadata like wsdlLocation etc.).
  2. Holder class changes
    public final class Holder<T> implements Serializable
    
  3. Fixing raw Class types in the API.
    • javax.xml.ws.FaultAction
      Class<? extends Exception> className()
      
    • javax.xml.ws.WebServiceRef
      Class<?> type() default Object.class
      Class<? extends Service> value() default Object.class Service.class
      
    • javax.xml.ws.spi.Provider
      public abstract ServiceDelegate createServiceDelegate(URL wsdlDocumentLocation,  QName serviceName, Class<? extends Service> serviceClass)
      public ServiceDelegate createServiceDelegate(URL wsdlDocumentLocation, QName serviceName, Class<? extends Service> serviceClass, WebServiceFeature ... features)
      public Endpoint createEndpoint(String bindingId, Class<?> implementorClass, Invoker invoker, WebServiceFeature ... features)
      

Accepted Changes

None

Deferred Changes

None