FAQ for webservices with axis2

    学习使用webservices已有一段时间,其中有许多迷惑和曲折,现将这些知识做个总结,为了便于理解和消除翻译过程中的差异,本文使用中英文陈述。

FAQ  1:   调用webservices时,出现 “Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml” 的提示。
    
            Solution: 打开axis2.xml , 将<parameter name="disableREST" locked="true">true</parameter>改为<parameter name="disableREST" locked="true"> false</parameter>, 重新启动servlet engine。

           Why: Axis2 has two different endpoints, one for REST (AxisRESTServlet) one for SOAP message handling (AxisServlet), if you disable the parameter "disableREST", you will got the above warning
 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值