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

    <small id='54fVG'></small><noframes id='54fVG'>

    1. <legend id='54fVG'><style id='54fVG'><dir id='54fVG'><q id='54fVG'></q></dir></style></legend>

      1. 不是有效的 AllXsd 值

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

            1. <small id='WgQ3c'></small><noframes id='WgQ3c'>

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

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

                  问题描述

                  限时送ChatGPT账号..

                  我是从 Soap 客户端请求中得到的:

                  I got this from a Soap client request:

                  异常:SoapFault 异常:[soap:Client] 服务器无法读取请求.---> 有错误在 XML 文档中 (2, 273).---> 该字符串 '2010-5-24' 无效AllXsd 值.在/path/filinet.php:21堆栈跟踪:#0 [内部函数]:SoapClient->__call('SubIdDetailsByO...',数组) #1/path/filinet.php(21):SoapClient->SubIdDetailsByOfferId(Array) #2 {main}

                  Exception: SoapFault exception: [soap:Client] Server was unable to read request. ---> There is an error in XML document (2, 273). ---> The string '2010-5-24' is not a valid AllXsd value. in /path/filinet.php:21 Stack trace: #0 [internal function]: SoapClient->__call('SubIdDetailsByO...', Array) #1 /path/filinet.php(21): SoapClient->SubIdDetailsByOfferId(Array) #2 {main}

                  好像我发送的值不正确,如何在 php 的 AllXsd 中格式化我的值?

                  Seems like I am sending an incorrect value, how do I format my value in an AllXsd in php?

                  这是我的代码:

                  <?php       
                  $start = isset($_GET['start']) ? $_GET['start'] : date("Y-m-d");
                  $end = isset($_GET['end']) ? $_GET['end'] : date("Y-m-d");
                  
                  //define parameter array
                  $param = array('userName'=>'user', 'password'=>'pass', 'startDate' => $start, 'endDate' => $end, 'promotionId' => '');
                  
                  //Get wsdl path
                  $serverPath = "https://webservices.filinet.com/affiliate/reports.asmx?WSDL";
                  
                   //Declare Soap client
                   $client = new SoapClient($serverPath);
                   try {
                          //make the call
                          $result = $client->SubIdDetailsByOfferId($param);
                          //If error found display error
                          if(isset($fault))
                          {
                              echo "Error: ". $fault;
                          }
                          //If no error display response
                          else
                          {
                              //Used to display raw XML in the Web Browser
                              header("Content-Type: text/xml;");
                              //SubIdDetailsResult = XML results
                              echo $result->SubIdDetailsByOfferIdResult;
                          }
                      }
                      catch(SoapFault $ex) {
                          echo "<b>Exception:</b> ". $ex;
                      }
                  unset($client);
                  ?>
                  

                  推荐答案

                  AllXsd 值看起来像这个 IIRC

                  AllXsd values look something like this IIRC

                  2010-05-24T18:13:00

                  2010-05-24T18:13:00

                  这篇关于不是有效的 AllXsd 值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持html5模板网!

                  上一篇:PHP SoapClient:SoapFault 异常无法连接到主机 下一篇:从 PHP SOAP 服务器获取接收到的 XML

                  相关文章

                  最新文章

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

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

                      • <bdo id='cwHuC'></bdo><ul id='cwHuC'></ul>
                      <tfoot id='cwHuC'></tfoot>