wervice 访问出现no SOAPAction header???
神和精灵 2014-11-29 04:04:48 在WSO2 中创建一个wsdl的链接,然后往这个链接send消息以后,返回下面的消息。
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode>
<faultstring>no SOAPAction header!</faultstring>
<detail>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">app3</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
我用soapUI往配置的wsdl地址发送消息,可以正确返回消息,在网上了说是因为SOAPAction没有配置的原因,
但是在WSO2中配置SOAPAction不知道该怎么配置,哪位大神讲解下,这个问题怎么处理。