我在* .aar packaging中有一个Spring boot axis2(1.6.2)应用程序。当前部署到tomcat容器(在tomcat的webapps文件夹中有axis2提取).i将.aar复制到axis2 services文件夹中。 我能够点击服务并显示wsdl。 但是,当我发送肥皂请求时,它失败了
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>unknown</faultstring>
<detail />
</soapenv:Fault>
</soapenv:Body>
我在resources文件夹中的meta-inf下有了services.xml和wsdl文件。 services.xml具有扩展org.apache.axis2.receivers.AbstractInOutMessageReceiver的类 我提到了这个文件。 https://axis.apache.org/axis2/java/core/docs/spring.html (我甚至禁用了嵌入式tomcat)
方面 chandru