【发布时间】:2013-05-25 17:16:43
【问题描述】:
我已经在 tomcat7 网络服务器(linux 机器)上部署了 Axis2。
为了实现这种情况,我将axis2.war 复制到我的/usr/share/tomcat7/webapps 目录中。 然后从我的tomcat“localhostPath:8080/manager/html”中部署刚刚复制的axis2.war。 所以浏览“localhostPath:8080/axis2/”我可以添加一个我为axis2编写的.aar服务文件。
我的服务运作良好。都完美!服务响应在 SOAP 消息中。
现在我如何才能从我的服务中获得 JSON 响应。我无法关注http://axis.apache.org/axis2/java/core/docs/json_support.html,因为axis2.xml 在我的axis2.war 文件中,无法对其进行编辑。
有人可以帮助我吗?非常感谢
马西莫
【问题讨论】:
标签: java json web-services tomcat7 axis2