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

    1. <legend id='3QqfV'><style id='3QqfV'><dir id='3QqfV'><q id='3QqfV'></q></dir></style></legend>
    2. <tfoot id='3QqfV'></tfoot>
        <bdo id='3QqfV'></bdo><ul id='3QqfV'></ul>
    3. <small id='3QqfV'></small><noframes id='3QqfV'>

      1. 从 PHP SOAP 服务器获取接收到的 XML

        时间:2023-05-22
        • <small id='k7BXT'></small><noframes id='k7BXT'>

          1. <tfoot id='k7BXT'></tfoot>
              <tbody id='k7BXT'></tbody>
                <bdo id='k7BXT'></bdo><ul id='k7BXT'></ul>

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

                <legend id='k7BXT'><style id='k7BXT'><dir id='k7BXT'><q id='k7BXT'></q></dir></style></legend>
                  本文介绍了从 PHP SOAP 服务器获取接收到的 XML的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我在 symfony2 应用程序中使用内置的 SOAP-Server,除了处理 StdClass-Object,我还需要读取收到的完整 xml 以进行调试和记录.有没有办法简单地捕获传输的xml?它应该在请求头的某个地方,但我根本找不到它.

                  I'm using the build-in SOAP-Server within a symfony2 application and beside handling the StdClass-Object, I would need to read the complete xml received for debugging and logging. Is there a way to simply catch the transferred xml? It should be somewhere in the request header, but I simply can't find it there.

                  推荐答案

                  我一直在寻找同样的东西,终于找到了.希望这对您或其他人有所帮助.

                  I was looking for the same thing and finally found it. Hope this helps you or someone else.

                  $postdata = file_get_contents("php://input");
                  

                  $postdata 变量将包含原始 XML.通过以下两个链接找到:

                  The $postdata variable will have the raw XML. Found through the following two links:

                  http://php.net/manual/en/reserved.variables.httprawpostdata.php

                  http://php.net/manual/en/soapserver.soapserver.php

                  这篇关于从 PHP SOAP 服务器获取接收到的 XML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:不是有效的 AllXsd 值 下一篇:在 PHP 上启用 SOAP

                  相关文章

                  最新文章

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

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