Q. I deployed a simple heloworld pojo (given on P.N.104) given below by dropping it into
Tomcat and when I tried to access it through the url (
http://localhost:8080/axis2/services/HelloWorld/sayHello?name=Axis2) given in the book, it says "Hello null"!!! But when I changed the 'name' parameter to 'args0' to, then it returned the expected output.
Now my doubt is, why it happened?
Q. There is another example of same class in annotated form given below.
I compiled it through command prompt (no axis2 jar file in classpath but still no error for unrecognized annotations), it compiled silently. And when I dropped it into Tomcat/webapps/axis2/WEB-INF/pojo.... I am getting the below message on Tomcat prompt:
What is this?
Please help.