axis2 The service cannot be found for the endpoint reference (EPR)

滑山论贱 发布于 2013/11/08 11:38
阅读 1K+
收藏 0
输入 http://localhost:8080/axis2demo/services/WeatherService
<?xml version="1.0"?>

<Exception>org.apache.axis2.AxisFault: The service cannot be found for the endpoint reference.....

<service name="WeatherService" scope="application">
    <description>
        Weather POJO Service
    </description>
    <messageReceivers>
        <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-only"
                         class="org.apache.axis2.rpc.receivers.RPCInOnlyMessageReceiver"/>
        <messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out"
                         class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
    </messageReceivers>
    <parameter name="ServiceClass">com.zhang.services.WeatherService</parameter>

</service>serviecs.xml配置也正确,这么就报这个错啊???

 

加载中
返回顶部
顶部