[
https://issues.jboss.org/browse/AS7-3717?page=com.atlassian.jira.plugin.s...
]
Peter Skopek updated AS7-3717:
------------------------------
Environment: (was: 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}
)
Description:
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}
webservices.xml with proper structure is refused to deploy due to
parsing/validation error
------------------------------------------------------------------------------------------
Key: AS7-3717
URL:
https://issues.jboss.org/browse/AS7-3717
Project: Application Server 7
Issue Type: Bug
Components: Web Services
Affects Versions: 7.1.0.Final
Reporter: Peter Skopek
Assignee: Alessio Soldano
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