[jbossws-issues] [JBoss JIRA] (JBWS-3432) WebservicesFactory can't parse webservices.xml with javaee:descriptionGroup references

Alessio Soldano (JIRA) jira-events at lists.jboss.org
Mon Feb 13 12:26:03 EST 2012


     [ https://issues.jboss.org/browse/JBWS-3432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alessio Soldano updated JBWS-3432:
----------------------------------

          Summary: WebservicesFactory can't parse webservices.xml with javaee:descriptionGroup references  (was: webservices.xml with proper structure is refused to deploy due to parsing/validation error)
    Fix Version/s: jbossws-cxf-4.0.2
                   jbossws-native-4.0.2

    
> WebservicesFactory can't parse webservices.xml with javaee:descriptionGroup references
> --------------------------------------------------------------------------------------
>
>                 Key: JBWS-3432
>                 URL: https://issues.jboss.org/browse/JBWS-3432
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-cxf, jbossws-integration, jbossws-native
>            Reporter: Peter Skopek
>            Assignee: Alessio Soldano
>             Fix For: jbossws-cxf-4.0.2, jbossws-native-4.0.2
>
>         Attachments: picketlink-sts.war
>
>
> webservices.xml with proper structure is refused to deploy due to parsing/validation error
> {noformat}
> <?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">
> 	<description>PicketLink STS web service descriptor
> 	</description>
> 	<webservice-description>
> 		<webservice-description-name>
> 			PicketLinkSTS
> 		</webservice-description-name>
> 		<wsdl-file>
> 			WEB-INF/wsdl/PicketLinkSTS.wsdl
> 		</wsdl-file>
> 		<port-component>
> 			<description>PicketLink STS Port</description>
> 			<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>
> {noformat}
> Deployer complains about both description tags (webservices/description and webservices/webservice-description/port-component/description).
> See exception:
> {noformat}
> 18:46:59,061 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC00001: Failed to start service jboss.deployment.unit."picketlink-sts.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."picketlink-sts.war".PARSE: Failed to process phase PARSE 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: javax.xml.ws.WebServiceException: Failed to unmarshall:vfs:/content/picketlink-sts.war/WEB-INF/webservices.xml
>         at org.jboss.wsf.spi.metadata.webservices.WebservicesFactory.load(WebservicesFactory.java:143)
>         at org.jboss.wsf.spi.metadata.webservices.WebservicesFactory.loadFromVFSRoot(WebservicesFactory.java:126)
>         at org.jboss.as.webservices.deployers.WebservicesDescriptorDeploymentProcessor.deploy(WebservicesDescriptorDeploymentProcessor.java:48)
>         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
> Caused by: java.lang.IllegalStateException: Unexpected element: description
>         at org.jboss.wsf.spi.metadata.webservices.WebservicesFactory.parseWebservices(WebservicesFactory.java:237)
>         at org.jboss.wsf.spi.metadata.webservices.WebservicesFactory.parse(WebservicesFactory.java:203)
>         at org.jboss.wsf.spi.metadata.webservices.WebservicesFactory.load(WebservicesFactory.java:139)
>         ... 8 more
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbossws-issues mailing list