Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3384

Missing dependency in module "org.jboss.ws.jaxws-client"

XMLWordPrintable

    • Hide

      add
      <module name="javax.wsdl4j.api" />

      to "org.jboss.ws.jaxws-client" module

      Show
      add <module name="javax.wsdl4j.api" /> to "org.jboss.ws.jaxws-client" module

      Working with AS7.1.0 nightly, when I tried executing a web service I got this exception

      Caused by: java.lang.NoClassDefFoundError: javax.wsdl.extensions.soap12.SOAP12HeaderFault from [Module "org.jboss.ws.jaxws-client:main" from local module loader @2cba5bdb (roots: /home/rareddy/testing/jboss-as-7.1.0.Alpha2-SNAPSHOT/modules)]
      at $Proxy24.<clinit>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_26]
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_26]
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_26]
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_26]
      at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:588) [:1.6.0_26]
      at org.apache.cxf.tools.util.SOAPBindingUtil.getProxy(SOAPBindingUtil.java:89)
      at org.apache.cxf.tools.util.SOAPBindingUtil.getSoapHeader(SOAPBindingUtil.java:229)
      at org.apache.cxf.binding.soap.SoapBindingFactory.addMessageFromBinding(SoapBindingFactory.java:444)
      at org.apache.cxf.binding.AbstractBindingFactory.copyExtensors(AbstractBindingFactory.java:120)
      at org.apache.cxf.binding.AbstractBindingFactory.initializeBindingInfo(AbstractBindingFactory.java:99)
      at org.apache.cxf.binding.soap.SoapBindingFactory.createBindingInfo(SoapBindingFactory.java:625)
      at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildBinding(WSDLServiceBuilder.java:487)
      at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:349)
      at org.apache.cxf.wsdl11.WSDLServiceBuilder.buildServices(WSDLServiceBuilder.java:198)
      at org.apache.cxf.wsdl11.WSDLServiceFactory.create(WSDLServiceFactory.java:142)
      at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromWSDL(ReflectionServiceFactoryBean.java:382)
      at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:499)
      at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:241)
      at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:202)
      at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)
      at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:90)
      at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:153)
      at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:151)
      at org.apache.cxf.jaxws.ServiceImpl.createPort(ServiceImpl.java:464)
      at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:331)
      at org.apache.cxf.jaxws.ServiceImpl.getPort(ServiceImpl.java:318)
      at javax.xml.ws.Service.getPort(Service.java:99) [:1.6.0_26]

              rhn-support-asoldano Alessio Soldano
              rhn-engineering-rareddy Ramesh Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: