Java 如何使用spring集成开发axis2 Web服务? 简单的spring示例 demoServiceImpl org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier
我知道cxf可以通过spring集成进行开发,但我想知道axis2如何与spring集成?您的service.xml看起来是正确的。由于正在使用Java 如何使用spring集成开发axis2 Web服务? 简单的spring示例 demoServiceImpl org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier,java,spring,axis2,Java,Spring,Axis2,我知道cxf可以通过spring集成进行开发,但我想知道axis2如何与spring集成?您的service.xml看起来是正确的。由于正在使用SpringServletContextObjectSupplier,您只需要在应用程序的web.xml中正确配置applicationContext.xml 在web.xml中添加侦听器和上下文配置位置,您就可以开始了。 可提供进一步的文件 希望这有帮助 <service name="demoServiceImpl" scope="applica
SpringServletContextObjectSupplier
,您只需要在应用程序的web.xml中正确配置applicationContext.xml在web.xml中添加
侦听器
和上下文配置位置
,您就可以开始了。
可提供进一步的文件
希望这有帮助
<service name="demoServiceImpl" scope="application">
<description>simple spring example</description>
<schema schemaNamespace="http://www.ylzinfo.com/xsd"/>
<parameter name="SpringBeanName">demoServiceImpl</parameter>
<parameter name="ServiceObjectSupplier" locked="false">
org.apache.axis2.extensions.spring.receivers.SpringServletContextObjectSupplier
</parameter>
<operation name="fetchPdfCipher">
<messageReceiver mep="http://www.w3.org/2004/08/wsdl/in-out" class="org.apache.axis2.rpc.receivers.RPCMessageReceiver"/>
</operation>
</service>