zoukankan      html  css  js  c++  java
  • WSE3 and "Action for ultimate recipient is required but not present in the message."

    WSE3 and "Action for ultimate recipient is required but not present in the message."

    I've been trying to access a web service using WSE3 from various clients and have been running into this message. I couldn't seem to make it go away, even though I clearly had an "action" element in my SOAP request. I finally wrote a small .NET application to access my web service and used Fiddler to intercept the traffic to see how on earth .NET managed to get around this issue itself. Turns out the answer is simple.

    I had been setting up my WSA namespace like so:

    xmlns:wsa="http://www.w3.org/2005/08/addressing"

    .NET much prefers I do this:

    xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"

    I didn't need to change anything else, this basically did the trick.

  • 相关阅读:
    第36课 经典问题解析三
    第35课 函数对象分析
    67. Add Binary
    66. Plus One
    58. Length of Last Word
    53. Maximum Subarray
    38. Count and Say
    35. Search Insert Position
    28. Implement strStr()
    27. Remove Element
  • 原文地址:https://www.cnblogs.com/JasonLiao/p/1991321.html
Copyright © 2011-2022 走看看