I found the source of problem. I can pass simply assigning xml strings to arguments and returning. However I am not sure whether Axis is adding one more xml layer in returnining result values. To get result from Axis, I use this;
SOAPBody soapBody = sresponse.getSOAPBody();
SOAPBodyElement node = (SOAPBodyElement)soapBody.getFirstChild().getFirstChild();
msg = node.getValue();
But Sun's J2EE tutorial has the following sample code. Notice that
there is one extra layer in Axis return objects! Of course QName
qualified does not work on Axis. I AM NOT SURE WHICH ONE
IS CORRECT?
QName bodyName = new QName("http://ws.apache.org/axis2/xsd",
"mymethod", "m");
...
SOAPBody soapBody = sresponse.getSOAPBody();
Iterator iterator = soapBody.getChildElements(bodyName);
bodyElement = (SOAPBodyElement)iterator.next();
msg = bodyElement.getValue();
Regards,