Hi devs,

I was trying to deploy jax-ws based service using axis2. Here is my service impl class. please note that, I did not include any wsdl inside the service jar.

@WebService(name= "WSASJAX_Service2", targetNamespace = "http://www.webtest.org/jaxws";)
public class jaxwsservice2 {
   @WebMethod(operationName = "echomethodString")
   public String echoMethod(String s){
       return s;
   }

}

Axis2 does not handle this service correctly. It takes echoMethod and echomethodString as two different methods. Also Axis2 was unable to generate wsdl1.1 using the above service impl class. WSDL generation was successful when I removed the annotation members of @WEbMethod annotation.

It seems that the Axis2 JAX-WS implementation is unable to handle some of the annotations which have annon members. I reported a JIRA for this issue at https://issues.apache.org/jira/browse/AXIS2-3352

since this is a fundamental scenario, it will be great if this is resolved ASAP.

Please let me know if there are any issues in the above steps which were used to generate jax-ws service.

regards
Charitha




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to