I am using Axis2 to develop web services .
Please see my program below:
public class Simple { public String echo(String rest) { return rest; } }
After deploying to Axis2.war, I got this wsdl file generated by
Generating client code using wsdl2java:
After generating the wsdl file, I used wsdl2java to generate the client code
C:> WSDL2Java.bat -uri http: // localhost: 8080 / axis2 / services / SimpleService? Wsdl - o E: \ Axis2Tutorial \ Examples \ HelloWorld \ client
After running this command, I received only 2 files:
SimpleServiceCallbackHandler SimpleServiceStub
Now my question is that only 2 files are SimpleServiceCallbackHandler and SimpleServiceStub (Where, as in some of the Axis2 Client class, I also saw the Response class), why is this not in my case.
Kiran source share