<tfoot id='HSV1x'></tfoot>
      <bdo id='HSV1x'></bdo><ul id='HSV1x'></ul>
  1. <i id='HSV1x'><tr id='HSV1x'><dt id='HSV1x'><q id='HSV1x'><span id='HSV1x'><b id='HSV1x'><form id='HSV1x'><ins id='HSV1x'></ins><ul id='HSV1x'></ul><sub id='HSV1x'></sub></form><legend id='HSV1x'></legend><bdo id='HSV1x'><pre id='HSV1x'><center id='HSV1x'></center></pre></bdo></b><th id='HSV1x'></th></span></q></dt></tr></i><div id='HSV1x'><tfoot id='HSV1x'></tfoot><dl id='HSV1x'><fieldset id='HSV1x'></fieldset></dl></div>
  2. <small id='HSV1x'></small><noframes id='HSV1x'>

  3. <legend id='HSV1x'><style id='HSV1x'><dir id='HSV1x'><q id='HSV1x'></q></dir></style></legend>

      如何确定有效的 SoapAction?

      时间:2023-05-22
        • <bdo id='444Yf'></bdo><ul id='444Yf'></ul>
          <i id='444Yf'><tr id='444Yf'><dt id='444Yf'><q id='444Yf'><span id='444Yf'><b id='444Yf'><form id='444Yf'><ins id='444Yf'></ins><ul id='444Yf'></ul><sub id='444Yf'></sub></form><legend id='444Yf'></legend><bdo id='444Yf'><pre id='444Yf'><center id='444Yf'></center></pre></bdo></b><th id='444Yf'></th></span></q></dt></tr></i><div id='444Yf'><tfoot id='444Yf'></tfoot><dl id='444Yf'><fieldset id='444Yf'></fieldset></dl></div>
            <tbody id='444Yf'></tbody>

                <tfoot id='444Yf'></tfoot>
              • <small id='444Yf'></small><noframes id='444Yf'>

                <legend id='444Yf'><style id='444Yf'><dir id='444Yf'><q id='444Yf'></q></dir></style></legend>

                本文介绍了如何确定有效的 SoapAction?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                问题描述

                限时送ChatGPT账号..

                我正在使用 NuSoap PHP 库 调用一个 webservice.webservice 似乎使用 .NET;每次我调用它时,都会收到关于使用无效 SoapAction 标头 的错误.发送的标头是一个空字符串.如何找到服务器期望的 SoapAction?

                I'm calling a webservice using the NuSoap PHP library. The webservice appears to use .NET; every time I call it I get an error about using an invalid SoapAction header. The header being sent is an empty string. How can I find the SoapAction that the server is expecting?

                推荐答案

                通过查看服务的 WSDL,您可以看到您正在调用的服务操作期望的 SoapAction.对于 .NET 服务,您可以通过在 Web 浏览器中打开服务的 URL 并在末尾附加 ?wsdl 来访问 WSDL.

                You can see the SoapAction that the service operation you're calling expects by looking at the WSDL for the service. For .NET services, you can access the WSDL by opening a web browser to the url of the service and appending ?wsdl on the end.

                在 WSDL 文档中,您可以看到在操作"节点下(在绑定"下)定义的 SoapActions.例如:

                Inside the WSDL document, you can see the SoapActions defined under the 'Operation' nodes (under 'Bindings'). For example:

                <wsdl:operation name="Execute">
                  <soap:operation soapAction="http://tempuri.org/Execute" style="document" />
                

                找到您尝试调用的操作的操作节点,您会在那里找到它期望的 Soap Action.

                Find the operation node for the operation you're trying to invoke, and you'll find the Soap Action it expects there.

                这篇关于如何确定有效的 SoapAction?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                上一篇:PHP SoapFault 没有被异常处理程序捕获 下一篇:SoapFault 异常:[HTTP] 获取 http 标头时出错

                相关文章

                最新文章

              • <i id='nGcgL'><tr id='nGcgL'><dt id='nGcgL'><q id='nGcgL'><span id='nGcgL'><b id='nGcgL'><form id='nGcgL'><ins id='nGcgL'></ins><ul id='nGcgL'></ul><sub id='nGcgL'></sub></form><legend id='nGcgL'></legend><bdo id='nGcgL'><pre id='nGcgL'><center id='nGcgL'></center></pre></bdo></b><th id='nGcgL'></th></span></q></dt></tr></i><div id='nGcgL'><tfoot id='nGcgL'></tfoot><dl id='nGcgL'><fieldset id='nGcgL'></fieldset></dl></div>
                <legend id='nGcgL'><style id='nGcgL'><dir id='nGcgL'><q id='nGcgL'></q></dir></style></legend>

                <small id='nGcgL'></small><noframes id='nGcgL'>

                <tfoot id='nGcgL'></tfoot>

                • <bdo id='nGcgL'></bdo><ul id='nGcgL'></ul>