axis2 xml to json

I am trying to get json response using axis2 service. It is prefixing @
symbol in front of all attributes. But I need without symbol. Could you

please help me on this. Thanks in advance

0 4 308
4 REPLIES 4

Hi @umamaheswara sarma

Welcome to the community !!!

We will need more info on what you are doing in the policy, what is input, output. What are you expecting, etc to help you better. With the details you provided, not sure how we provide any help or advice

xml.txt json.txt.

Please find the attached files. My service method returns OMElement.

I am getting xml response perfectly.

when I give response=application/json in the request URL, it is prefixing @symbol in front of all attributes.

I think you are having a problem with Apache AXIS2.

For that you are better off posting to the AXIS2 mailing list:

http://mail-archives.apache.org/mod_mbox/axis-java-user/

This community forum is for Apigee related products. I don't think you are using any Apigee-Related products.

Good luck!

ok. Thank you