I have a webserivce deployed using axis2. The method on the service class returns a string.
public String getXML(){ return "Hello..."; }
and the service is configured like this
<operation name="getXML">
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-out"
class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" />
</operation>
when I call this service from browser(RESTful) I get response like this
<ns:getXMLResponse xmlns:ns="http://service.drugservice.xyz.com"><ns:return>&lt;response>Hello...&lt;/response></ns:return></ns:getXMLResponse>
I don't want the xml:ns around the response string. How can I do it? I want to the see the response as
<reponse>Hello...</response>