[
https://issues.jboss.org/browse/AS7-3725?page=com.atlassian.jira.plugin.s...
]
Alessio Soldano updated AS7-3725:
---------------------------------
Issue Type: Enhancement (was: Bug)
Fix Version/s: 7.1.1.Final
The failure you're seeing is actually due to a missing dependency in your deployment,
i.e. you need to add "Dependencies: org.picketlink annotations" in your
manifest. Without that, the ws integration is not able to fetch the @WebServiceProvider
annotation in the picketlink sts class (because it's not added in the jandex
annotation index), hence the deployment is not recognized as a JAXWS one.
This said, the webservices integration here should have basically done nothing for the
provided deployment. On the contrary, it is erroneously recognizing the deployment as a
JAXRPC one due to the (optional for JAXWS) webservices.xml descriptor. I'm adding the
check we used to have in AS 6 for this scenario (that is verify the there's a
jaxrpc-mapping file reference in webservices.xml before assuming we have JAXRPC
endpoints).
adjusted JAXWS webservice with webservices.xml descriptor complains
about non-existence of jaxrpc-mapping-file element
----------------------------------------------------------------------------------------------------------------------
Key: AS7-3725
URL:
https://issues.jboss.org/browse/AS7-3725
Project: Application Server 7
Issue Type: Enhancement
Components: Web Services
Affects Versions: 7.1.0.Final
Reporter: Peter Skopek
Assignee: Alessio Soldano
Fix For: 7.1.1.Final
Attachments: picketlink-sts.war
When I try to adjust JAXWS webservice with webservices.xml descriptor complains about
non-existence of jaxrpc-mapping-file element.
{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">
<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>
{noformat}
Exception:
{noformat}
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
{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