pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

      1. <tfoot id='VFCjr'></tfoot>
      2. <small id='VFCjr'></small><noframes id='VFCjr'>

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

        <legend id='VFCjr'><style id='VFCjr'><dir id='VFCjr'><q id='VFCjr'></q></dir></style></legend>

        調(diào)試 PHP SOAP 調(diào)用

        Debugging PHP SOAP call(調(diào)試 PHP SOAP 調(diào)用)

        • <small id='DgkdY'></small><noframes id='DgkdY'>

        • <tfoot id='DgkdY'></tfoot>
          • <bdo id='DgkdY'></bdo><ul id='DgkdY'></ul>
            <i id='DgkdY'><tr id='DgkdY'><dt id='DgkdY'><q id='DgkdY'><span id='DgkdY'><b id='DgkdY'><form id='DgkdY'><ins id='DgkdY'></ins><ul id='DgkdY'></ul><sub id='DgkdY'></sub></form><legend id='DgkdY'></legend><bdo id='DgkdY'><pre id='DgkdY'><center id='DgkdY'></center></pre></bdo></b><th id='DgkdY'></th></span></q></dt></tr></i><div class="yqakrtj" id='DgkdY'><tfoot id='DgkdY'></tfoot><dl id='DgkdY'><fieldset id='DgkdY'></fieldset></dl></div>
            <legend id='DgkdY'><style id='DgkdY'><dir id='DgkdY'><q id='DgkdY'></q></dir></style></legend>
              <tbody id='DgkdY'></tbody>
                  本文介紹了調(diào)試 PHP SOAP 調(diào)用的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我是 SOAP 新手,正在處理一項 Web 服務(wù),以前似乎沒有人使用 PHP 進(jìn)行連接.除了 C#,他們沒有示例代碼,但我有.eServices.asmx 提供了 WSDL,如果這是正確的說法的話.

                  I am new to SOAP and dealing with a web service where it would seem no one has interfaced using PHP previously. They have no example code excepting C# but I do have that. eServices.asmx provides WSDL if that is the correct way to say that.

                  我得到的錯誤是服務(wù)器無法識別 HTTP Header SOAPAction 的值:",其中訓(xùn)練冒號表明可能沒有傳遞任何值.

                  The error that I am getting is "Server did not recognize the value of HTTP Header SOAPAction:" with that training colon suggesting no value is passed, maybe.

                  我的代碼如下:

                  $URL = "http://nolaflash.example.com/xxxWS/eServices.asmx";
                  
                  $namespace="http://www.example.com/webservices/";
                  
                  include("SOAP/Client.php");
                  
                  $soapclient = new SOAP_Client($URL);
                  
                  $xml_data = // valid XML is here;
                  
                  $res = $soapclient->UpdateData('usrname','pass',$xml_data);
                  

                  但我也嘗試過:

                  $param = array('usrname','pass',$xml_data);
                  $res = $soapclient->call('UpdateData',$param, $namespace);
                  

                  谷歌搜索表明此錯誤是命名空間問題.我的 C# 代碼只有一個命名空間引用:

                  Googling suggests that this error is a namespace issue. The C# code I have has only one namespace reference:

                  [System.Web.Services.WebServiceBindingAttribute(Name="eServicesSoap", Namespace="http://www.example.com/webservices/")]
                  

                  如果我在函數(shù)調(diào)用之前將 $soapclient 轉(zhuǎn)儲到屏幕上,我會看到它已從 eServices.asmx 接收到數(shù)據(jù).

                  If I dump $soapclient to the screen prior to the function call I see that it has received data from eServices.asmx.

                  我不確定如何進(jìn)行調(diào)試,而且該服務(wù)的工作人員不熟悉在其 .NET IDE 之外與該服務(wù)進(jìn)行交互.

                  I am unsure how to go about debugging this and the staffers at the service are unfamiliar with interacting with the service outside their .NET IDE.

                  有什么想法嗎?建議?

                  推薦答案

                  我通常使用的方法是 getFunctions和 getLastRequest幫我解決問題.首先我看一下函數(shù)列表和WSDL.有時 WSDL 和/或服務(wù)器未正確設(shè)置/配置/編碼.所以這個函數(shù)列表可能沒用.WSDL 文件應(yīng)該是明確的,但是唉,編碼器很爛,等等...

                  I usually use the methods getFunctions and getLastRequest to help me sort things out. First I look at the function list and WSDL. Sometimes the WSDL and/or server is not setup/configured/coded properly. So this function list may be useless. The WSDL file should be definitive, but alas, lame coders, etc...

                  所以有時我不得不暗中探查,查看錯誤,然后查看最后一個請求.這樣您就可以看到生成的實際 XML.將其與一些有效的 XML 示例進(jìn)行比較.

                  So sometimes I have to take a stab in the dark, look at the error, and then look at the last request. With this you can see the actual XML that was produced. Compare that to some working XML examples.

                  事實證明,這在與不想編寫文檔的編碼人員打交道時最有幫助.順便說一下,他們應(yīng)該給出 XML 示例——而不是展示如何使用 XYZ 語言生成 XML.PHP/Soap 文檔

                  This has proven most helpful when dealing with coders who don't want to write docs. By the way, they should give XML examples - not show how to generate XML using language XYZ. There may be more useful infos in the PHP/Soap documentation

                  HTH

                  這篇關(guān)于調(diào)試 PHP SOAP 調(diào)用的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  enable SOAP on PHP(在 PHP 上啟用 SOAP)
                  Get received XML from PHP SOAP Server(從 PHP SOAP 服務(wù)器獲取接收到的 XML)
                  not a valid AllXsd value(不是有效的 AllXsd 值)
                  PHP SoapClient: SoapFault exception Could not connect to host(PHP SoapClient:SoapFault 異常無法連接到主機)
                  Implementation of P_SHA1 algorithm in PHP(PHP中P_SHA1算法的實現(xiàn))
                  Sending a byte array from PHP to WCF(將字節(jié)數(shù)組從 PHP 發(fā)送到 WCF)
                  <i id='TjZtc'><tr id='TjZtc'><dt id='TjZtc'><q id='TjZtc'><span id='TjZtc'><b id='TjZtc'><form id='TjZtc'><ins id='TjZtc'></ins><ul id='TjZtc'></ul><sub id='TjZtc'></sub></form><legend id='TjZtc'></legend><bdo id='TjZtc'><pre id='TjZtc'><center id='TjZtc'></center></pre></bdo></b><th id='TjZtc'></th></span></q></dt></tr></i><div class="uaniexp" id='TjZtc'><tfoot id='TjZtc'></tfoot><dl id='TjZtc'><fieldset id='TjZtc'></fieldset></dl></div>
                      <tbody id='TjZtc'></tbody>

                          <legend id='TjZtc'><style id='TjZtc'><dir id='TjZtc'><q id='TjZtc'></q></dir></style></legend>
                        1. <tfoot id='TjZtc'></tfoot>

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

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

                          • 主站蜘蛛池模板: 免联考国际MBA_在职MBA报考条件/科目/排名-MBA信息网 | 飞飞影视_热门电影在线观看_影视大全 | 集菌仪_智能集菌仪_全封闭集菌仪_无菌检查集菌仪厂家-那艾 | 山东螺杆空压机,烟台空压机,烟台开山空压机-烟台开山机电设备有限公司 | Safety light curtain|Belt Sway Switches|Pull Rope Switch|ultrasonic flaw detector-Shandong Zhuoxin Machinery Co., Ltd | 胀套-锁紧盘-风电锁紧盘-蛇形联轴器「厂家」-瑞安市宝德隆机械配件有限公司 | 100_150_200_250_300_350_400公斤压力空气压缩机-舰艇航天配套厂家 | 电动车头盔厂家_赠品头盔_安全帽批发_山东摩托车头盔—临沂承福头盔 | 上海瑶恒实业有限公司|消防泵泵|离心泵|官网 | 防水套管-柔性防水套管-刚性防水套管-上海执品管件有限公司 | 冷轧机|两肋冷轧机|扁钢冷轧机|倒立式拉丝机|钢筋拔丝机|收线机-巩义市华瑞重工机械制造有限公司 | 制冷采购电子商务平台——制冷大市场 | PVC快速门-硬质快速门-洁净室快速门品牌厂家-苏州西朗门业 | 广东恩亿梯电源有限公司【官网】_UPS不间断电源|EPS应急电源|模块化机房|电动汽车充电桩_UPS电源厂家(恩亿梯UPS电源,UPS不间断电源,不间断电源UPS) | 无缝钢管-聊城无缝钢管-小口径无缝钢管-大口径无缝钢管 - 聊城宽达钢管有限公司 | 高压包-点火器-高压发生器-点火变压器-江苏天网 | 防水套管厂家_刚性防水套管_柔性防水套管_不锈钢防水套管-郑州中泰管道 | 锂电池砂磨机|石墨烯砂磨机|碳纳米管砂磨机-常州市奥能达机械设备有限公司 | 上海刑事律师|刑事辩护律师|专业刑事犯罪辩护律师免费咨询-[尤辰荣]金牌上海刑事律师团队 | 深圳天际源广告-形象堆头,企业文化墙,喷绘,门头招牌设计制作专家 | CTP磁天平|小电容测量仪|阴阳极极化_双液系沸点测定仪|dsj电渗实验装置-南京桑力电子设备厂 | LNG鹤管_内浮盘价格,上装鹤管,装车撬厂家-连云港赛威特机械 | ph计,实验室ph计,台式ph计,实验室酸度计,台式酸度计 | 集菌仪_智能集菌仪_全封闭集菌仪_无菌检查集菌仪厂家-那艾 | 盘式曝气器-微孔曝气器-管式曝气器-曝气盘-斜管填料 | 郑州市前程水处理有限公司 | 西点培训学校_法式西点培训班_西点师培训_西点蛋糕培训-广州烘趣西点烘焙培训学院 | 不锈钢法兰-碳钢法兰-法兰盘生产加工厂家-[鼎捷峰]-不锈钢法兰-碳钢法兰-法兰盘生产加工厂家-[鼎捷峰] | 浴室柜-浴室镜厂家-YINAISI · 意大利设计师品牌 | 咿耐斯 |-浙江台州市丰源卫浴有限公司 | 挨踢网-大家的导航!| 胃口福饺子加盟官网_新鲜现包饺子云吞加盟 - 【胃口福唯一官网】 | 常州翔天实验仪器厂-恒温振荡器-台式恒温振荡器-微量血液离心机 恒温恒湿箱(药品/保健品/食品/半导体/细菌)-兰贝石(北京)科技有限公司 | CTP磁天平|小电容测量仪|阴阳极极化_双液系沸点测定仪|dsj电渗实验装置-南京桑力电子设备厂 | 挤出机_橡胶挤出机_塑料挤出机_胶片冷却机-河北伟源橡塑设备有限公司 | 生鲜配送系统-蔬菜食材配送管理系统-连锁餐饮订货配送软件-挪挪生鲜供应链管理软件 | 充气膜专家-气膜馆-PTFE膜结构-ETFE膜结构-商业街膜结构-奥克金鼎 | 水质传感器_水质监测站_雨量监测站_水文监测站-山东水境传感科技有限公司 | 气动隔膜泵-电动隔膜泵-循环热水泵-液下排污/螺杆/管道/化工泵「厂家」浙江绿邦 | 石家庄律师_石家庄刑事辩护律师_石家庄取保候审-河北万垚律师事务所 | 上海平衡机-单面卧式动平衡机-万向节动平衡机-圈带动平衡机厂家-上海申岢动平衡机制造有限公司 | 披萨石_披萨盘_电器家电隔热绵加工定制_佛山市南海区西樵南方综合保温材料厂 | 防伪溯源|防窜货|微信二维码营销|兆信_行业内领先的防伪防窜货数字化营销解决方案供应商 |