用Eclipse+Axis2+Tomcat5.5做了小例子 可是当输入http://localhost:8080/axis2/services/HelloWorldService时, 提醒Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml。 我的axis2.xml文件中与REST相关的部分如下: <!-- If the enableRESTInAxis2MainServlet is true, then Axis2MainServlet will handle both SOAP and REST messages -->
<parameter name="enableRESTInAxis2MainServlet" locked="true">false</parameter> <!-- Following parameter will completely disable REST handling in both the servlets-->
<parameter name="disableREST" locked="true">false</parameter> <!-- This will disable the separate servlet we have for REST handling. -->
<parameter name="disableSeparateEndpointForREST" locked="true">false</parameter>disableREST已经是false了
如果把第一个enableRESTInAxis2MainServlet改成true, 结果就是该页无法显示请大家帮帮忙 这个问题是哪里出错了?
<parameter name="enableRESTInAxis2MainServlet" locked="true">false</parameter> <!-- Following parameter will completely disable REST handling in both the servlets-->
<parameter name="disableREST" locked="true">false</parameter> <!-- This will disable the separate servlet we have for REST handling. -->
<parameter name="disableSeparateEndpointForREST" locked="true">false</parameter>disableREST已经是false了
如果把第一个enableRESTInAxis2MainServlet改成true, 结果就是该页无法显示请大家帮帮忙 这个问题是哪里出错了?
楼主【ivyyuan1】截止到2008-06-23 10:26:15的历史汇总数据(不包括此帖):
发帖数:1 发帖分:20
结贴数:0 结贴分:0
未结数:1 未结分:20
结贴率:0.00 % 结分率:0.00 %
如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html
如果发布了,输入http://localhost:8080/axis2/services/HelloWorldService.wsdl
可以获取到这个wsdl然后根据它生成客户或服务器代码阿.
而是http://localhost:8080/axis2/services/HelloWorldService?wsdl
本人已经试过了