[jboss-dev-forums] [JBoss AS 7 Development] - Unable to deploy web service on JBoss 7.1.1
T T
do-not-reply at jboss.com
Mon Apr 2 15:59:34 EDT 2012
T T [https://community.jboss.org/people/tom2011] created the discussion
"Unable to deploy web service on JBoss 7.1.1"
To view the discussion, visit: https://community.jboss.org/message/727835#727835
--------------------------------------------------------------
The following exception was found when deploying a war that works in previous JBoss application. In the class, @WebService annotation was used which has serviceName and portName attributes set.
Caused by: java.lang.RuntimeException: @WebService cannot have attribute portName, serviceName, endpointInterface on: MyInterfaceClassBlah
at org.jboss.wsf.stack.cxf.metadata.MetadataBuilder.createDDEndpoint(MetadataBuilder.java:258)
at org.jboss.wsf.stack.cxf.metadata.MetadataBuilder.build(MetadataBuilder.java:79)
at org.jboss.wsf.stack.cxf.deployment.aspect.DescriptorDeploymentAspect.generateMetadataFromDeployment(DescriptorDeploymentAspect.java:153)
at org.jboss.wsf.stack.cxf.deployment.aspect.DescriptorDeploymentAspect.start(DescriptorDeploymentAspect.java:81)
at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:74)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:113) [jboss-as-server-7.1.1.Final.jar:7.1.1.Final]
Can someone help?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/727835#727835]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120402/841831f3/attachment.html
More information about the jboss-dev-forums
mailing list