3 Replies Latest reply on May 8, 2017 2:05 PM by chschred

    JTAOverWSATFeature cannot be enabled

    chschred

      Hello,

       

      I am running a JBoss EAP 7.0 with XTS Modul and trying to activate WS-AT with JTAOverWSATFeature. But there seems to be an bug. If I set the feature in javax.xml.ws.Service.create(...) I get the following exception:

       

      Caused by: javax.xml.ws.WebServiceException: JBWS024017: Unknown feature error: org.jboss.jbossts.txbridge.outbound.JTAOverWSATFeature

        at org.jboss.wsf.stack.cxf.client.ProviderImpl.createServiceDelegate(ProviderImpl.java:277)

        at javax.xml.ws.Service.<init>(Service.java:63)

        at javax.xml.ws.Service.create(Service.java:710)

        at org.springframework.remoting.jaxws.LocalJaxWsServiceFactory.createJaxWsService(LocalJaxWsServiceFactory.java:157)

        at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.prepare(JaxWsPortClientInterceptor.java:357)

        at org.springframework.remoting.jaxws.JaxWsPortClientInterceptor.afterPropertiesSet(JaxWsPortClientInterceptor.java:339)

        at org.springframework.remoting.jaxws.JaxWsPortProxyFactoryBean.afterPropertiesSet(JaxWsPortProxyFactoryBean.java:42)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1633)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1570)

        ... 22 more

       

      I had a short look at ProviderImpl and found the following code snippet:

       

      //check feature types

        for (WebServiceFeature f : features) {

        final String fName = f.getClass().getName();

        if (!fName.startsWith("javax.xml.ws") && !fName.startsWith("org.jboss.ws")) {

        throw Messages.MESSAGES.unknownFeature(f.getClass().getName());

        }

        }

       

      As the JTAOverWSATFeature begins with package org.jboss.jbossts I am pretty sure that this won't work or am I missing something? Has this been tested before?

       

      Thanks

      Christian