Reputation: 147
I can't to return json objects using Axis2 like web service. I added the lines of builder and messageFormatter in my web2.xml for the support json but always that access my web service to test return in xml.
I use the url to test my action: http://server.com:8080/webservice/services/classe/action?response=application/json but no success.
Any idea?
Thank you
Upvotes: 0
Views: 830
Reputation: 822
Solve your problem exporting the wso2dynamic response (wso2dynamic-response-1.5.jar and wso2dynamic-response.mar) to modules folder (WEB/INF/modules).
Upvotes: 1