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&...]