Hello,
I've 2 ejb3s exposed as 2 separate web services. They are packaged in the same 
ear file.
I use the WebContext annotation to keep the context root same for 2 services.

I've a method, authenticate(String userName) in one ejb and 
authenticate(String userName, String password) in the other ejb.
When I deploy the ear file, I get the error as follows:

Looks like there is a name collision. It is complaining about the first ejb not 
having
password as a parameter.  Any one seen this issue?


 by: org.jboss.ws.WSException: password is not a valid property on class 
com.xxx.services.MyService1.v2.jaxws.Authenticate
        at 
com.sun.xml.bind.v2.runtime.JAXBContextImpl.getElementPropertyAccessor(JAXBContextImpl.java:816)
        at 
org.jboss.ws.metadata.acessor.JAXBAccessor$1$1.create(JAXBAccessor.java:84)
        at 
org.jboss.ws.metadata.umdm.ParameterMetaData.eagerInitialize(ParameterMetaData.java:472)
        at 
org.jboss.ws.metadata.umdm.OperationMetaData.eagerInitialize(OperationMetaData.java:466)
        at 
org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitializeOperations(EndpointMetaData.java:516)
        at 
org.jboss.ws.metadata.umdm.EndpointMetaData.initializeInternal(EndpointMetaData.java:502)
        at 
org.jboss.ws.metadata.umdm.EndpointMetaData.eagerInitialize(EndpointMetaData.java:490)
        at 
org.jboss.ws.metadata.umdm.ServiceMetaData.eagerInitialize(ServiceMetaData.java:429)
        at 
org.jboss.ws.metadata.umdm.UnifiedMetaData.eagerInitialize(UnifiedMetaData.java:192)
        at 
org.jboss.ws.core.server.ServiceEndpoint.start(ServiceEndpoint.java:112)
        at 
org.jboss.ws.core.server.ServiceEndpointManager.startServiceEndpoint(ServiceEndpointManager.java:646)
        at 
org.jboss.ws.core.server.ServiceEndpointDeployer.start(ServiceEndpointDeployer.java:140)
        at 
org.jboss.ws.integration.jboss42.DeployerInterceptor.startServiceEndpoint(DeployerInterceptor.java:144)
        at 
org.jboss.ws.integration.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:96)






View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076450#4076450

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076450
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to