在Axis中总是出现异常“找不到给定消息的名称空间为'here on github'的action标头”。
实际标题
[ 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25.
26. 27.]
期望的标题
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:mas="http://passkot.state.tn.uk" xmlns:wsa="http://www.w3.org/2005/08/addressing">
<soap:Header>
<wsa:Header soapenv:mustUnderstand="true" xmlns:wsa="http://www.w3.org/2005/08/addressing"/>
<wsa:action soap:mustUnderstand="true" xmlns:wsa="http://passkot.state.tn.uk/InsuranceServices/Insurance_Inquiry">
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
</wsa:action>
</soap:Header>
我无法在标题中添加 xmlns:wsa =“ http://www.w3.org/2005/08/addressing” 。有人可以帮忙吗?
例如:<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:mas="http://passkot.state.tn.uk/">[\n]"
<soap:Header xmlns:wsa="http://www.w3.org/2005/08/addressing">
<wsa:action>http://passkot.state.tn.uk/InsuranceServices/Insurance_Inquiry</wsa:action>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
</soap:Header>