日期:2014-05-17 浏览次数:21136 次
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation not found is /TestAXIS/services/hwWebService and the WSA Action = null. If this EPR was previously reachable, please contact the server administrator.
<?xml version="1.0" encoding="UTF-8"?>
<service name="hwWebService">
<description>axis2</description>
<!-- <parameter name="ServiceClass">com.yindejin.util.HelloWorldWebService</parameter>-->
<!-- 通过ServiceObjectSupplier参数指定SpringServletContextObjectSupplier类来获得Spring的ApplicationContext对象 -->
<parameter name="ServiceObjectSupplier">
org.apache.axis2.extensions.spring.receivers.SpringAppContextAwareObjectSupplier
</parameter>
<!--
SpringBeanName固定的不能改
helloWorld是spring中注册的实现类得id
-->
<parameter name="SpringBeanName">helloWorld</parameter>
<!--
在这里最值得注意的是<messageReceivers>元素,该元素用于设置处理WebService方法的处理器。
例如,getGreeting方法有一个返回值,因此,需要使用可处理输入输出的RPCMessageReceiver类,
而update方法没有返回值,因此,需要使用只能处理输入的RPCInOnlyMessageReceiver类。
-->
<!-- <operation name="print"> -->
<!-- <messageReceiver -->
<!-- class="org.apache.axis2.rpc.receivers.RPCMessageReceiver" /> -->
<!-- </operation>-->
<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>
<messageReceiver class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/> <!--multiple action-->
</service>
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p"
xsi:schemaLocat