• <legend id='yKpRv'><style id='yKpRv'><dir id='yKpRv'><q id='yKpRv'></q></dir></style></legend>

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

      <tfoot id='yKpRv'></tfoot>
    1. <small id='yKpRv'></small><noframes id='yKpRv'>

        <bdo id='yKpRv'></bdo><ul id='yKpRv'></ul>

        如何摆脱“未捕获的 SoapFault 异常:[客户端] 看起

        时间:2023-05-22

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

              <tbody id='UKeEH'></tbody>
                <bdo id='UKeEH'></bdo><ul id='UKeEH'></ul>

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

                • <legend id='UKeEH'><style id='UKeEH'><dir id='UKeEH'><q id='UKeEH'></q></dir></style></legend>
                • 本文介绍了如何摆脱“未捕获的 SoapFault 异常:[客户端] 看起来我们在...中没有 XML 文档"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我正在尝试在服务器端使用 nusoap 为动态站点开发业务逻辑(因为我需要 wsdls,而 PHP SOAP 扩展无法生成 wsdls),并在客户端使用 PHP SOAP 扩展.

                  I'm trying to develop business logic for a dynamic site using nusoap on server side (because I need wsdls, and PHP SOAP extension can't generate wsdls), and PHP SOAP extenstion on client side.

                  但是,我什至无法正确使用 login 和 getRole 函数.当我尝试调用客户端时,我收到以下消息

                  However, I can't get even login and getRole functions right. When i try to invoke client, I get following message

                  Uncaught SoapFault exception: [Client] looks like we got no XML document in [some paths]...
                  

                  Wsdl 确实存在于服务器端,并且客户端确实读取了它(当我为 wsdl 输入错误的 url 时,我收到错误消息).

                  Wsdl does exist on server side, and client does read it (when I put wrong url for wsdl, I get an error).

                  有人可以帮忙吗??

                  推荐答案

                  看起来您的客户端收到了一些无效的 XML - WSDL 本身或服务器返回的响应.尝试在 trace 选项设置为 TRUE 的情况下调用客户端,并检查通过 __getLastRequest()__getLastResponse() 方法.

                  It looks like your client receives some invalid XML - either the WSDL itself or the response returned by the server. Try to invoke the client with the trace option set to TRUE and check the actual XML send/received via the __getLastRequest() and __getLastResponse() methods.

                  这篇关于如何摆脱“未捕获的 SoapFault 异常:[客户端] 看起来我们在...中没有 XML 文档"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:如何使用 SOAP 进行身份验证? 下一篇:SoapClient 设置自定义 HTTP Header

                  相关文章

                  最新文章

                  • <bdo id='0lgQ3'></bdo><ul id='0lgQ3'></ul>
                • <tfoot id='0lgQ3'></tfoot>

                      <legend id='0lgQ3'><style id='0lgQ3'><dir id='0lgQ3'><q id='0lgQ3'></q></dir></style></legend>

                      <small id='0lgQ3'></small><noframes id='0lgQ3'>

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