I can't to return json objects using Axis2

筅森魡賤 提交于 2020-01-07 07:41:09

问题


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


回答1:


Solve your problem exporting the wso2dynamic response (wso2dynamic-response-1.5.jar and wso2dynamic-response.mar) to modules folder (WEB/INF/modules).



来源:https://stackoverflow.com/questions/14656147/i-cant-to-return-json-objects-using-axis2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!