Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3725

adjusted JAXWS webservice with webservices.xml descriptor complains about non-existence of jaxrpc-mapping-file element

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.Final
    • 7.1.0.Final
    • Web Services
    • None

      When I try to adjust JAXWS webservice with webservices.xml descriptor complains about non-existence of jaxrpc-mapping-file element.

      <?xml version="1.0" encoding="UTF-8"?>
      <webservices xmlns="http://java.sun.com/xml/ns/javaee"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://java.sun.com/xml/ns/javaee	http://java.sun.com/xml/ns/javaee/javaee_web_services_1_3.xsd"
            version="1.3">
      
      	<webservice-description>
      		<webservice-description-name>
      			PicketLinkSTS
      		</webservice-description-name>
      		<wsdl-file>
      			WEB-INF/wsdl/PicketLinkSTS.wsdl
      		</wsdl-file>
      		<port-component>
      			<port-component-name>PicketLinkSTSPort</port-component-name>
      			<wsdl-port xmlns:tns="urn:picketlink:identity-federation:sts">PicketLinkSTSPort</wsdl-port>
      			<!-- TODO: we don't have interface yet  
      			<service-endpoint-interface>endpoint.WeatherService</service-endpoint-interface>
      			-->
      			<service-impl-bean>
      				<servlet-link>PicketLinkSTS</servlet-link>
      			</service-impl-bean>
      		</port-component>
      	</webservice-description>
      </webservices>
      

      Exception:

      10:47:32,523 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-6) MSC00001: Failed to start service jboss.deployment.unit."picketlink-sts.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."picketlink-sts.war".INSTALL: Failed to process phase INSTALL of deployment "picketlink-sts.war"
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:119) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
              at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_30]
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_30]
              at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_30]
      Caused by: org.jboss.ws.WSException: jaxrpc-mapping-file not configured from webservices.xml
              at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCServerMetaDataBuilder.buildMetaData(JAXRPCServerMetaDataBuilder.java:107)
              at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.start(UnifiedMetaDataDeploymentAspect.java:74)
              at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:81)
              at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.0.Final-SNAPSHOT.jar:7.1.0.Final-SNAPSHOT]
              ... 5 more
      

              rhn-support-asoldano Alessio Soldano
              pskopek@redhat.com Peter Skopek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: