0 Replies Latest reply on May 14, 2013 7:29 AM by fillg1

    Problem deploying a simple JAX-WS webservice to JBoss AS 7 / EAP 6

    fillg1

      Hi folks

       

      I have a standard JAX-WS webservice

       

      @WebContext(contextRoot = "/dispatcher", urlPattern = "/services/BTService", authMethod = "CLIENT-CERT", transportGuarantee = "CONFIDENTIAL", secureWSDLAccess = false)

      @EndpointConfig(configName = "BTService WebService Endpoint")

      @WebService(targetNamespace = "http://xxxx.com", serviceName = "BTService", portName = "BTService")

      @SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)

      public class BTService {

      ...

      }

       

      The service is packed into an ejb.jar package and the ejb ist packed with the needed dependencies into an ear.

       

      During deployment I got the following error

       

      getSourceDAOResponse cannot be mapped to schema. Check for use of a JAX-WS-specific type without the JAX-WS service factory bean.

          at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:353)

          at org.jboss.wsf.stack.cxf.deployment.EndpointImpl.doPublish(EndpointImpl.java:88)

          at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:242)

          at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:517)

          at org.jboss.wsf.stack.cxf.configuration.NonSpringBusHolder.configure(NonSpringBusHolder.java:118)

          at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.startDeploymentBus(BusDeploymentAspect.java:113)

          at org.jboss.wsf.stack.cxf.deployment.aspect.BusDeploymentAspect.start(BusDeploymentAspect.java:66)

          at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)

          at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:116) [jboss-as-server-7.1.3.Final-redhat-4.jar:7.1.3.Final-redhat-4]

       

      Any ideas whats going wrong here ?