简体   繁体   English

Soap-Error:错误代码:HTTP

[英]Soap-Error: faultcode: HTTP

I have a Webapplication using SOAP. 我有一个使用SOAP的Web应用程序。 Now the service has been changed and we got a new WSDL to use. 现在,该服务已更改,我们可以使用新的WSDL。 After changing the WSDL to the new one (by just changing the URLs IP-Adress) the call on a SOAP-Function results in an exception, whithout me knowing why, since i don't even know, if the error itself is related to soap, my framework or just PHP. 在将WSDL更改为新的(仅通过更改URL IP地址)之后,对SOAP-Function的调用会导致异常,而我不知道为什么,因为我什至都不知道,错误本身是否与肥皂,我的框架或PHP。

I have absolutely no clue about SOAP. 我对SOAP毫无头绪。


I have gathered the following information about the error: 我已经收集了有关该错误的以下信息:

$result = $SOAP->MyMethod($query);
  • results in this exception: 导致此异常: 例外

  • The Query is correct. 查询正确。 Even if not i would recieve an according response. 即使没有,我也会收到相应的回复。

  • I can call the Method via SoapUI as well 我也可以通过SoapUI调用方法

  • PHP Error Log output: PHP错误日志输出: PHP错误日志输出


Any Ideas? 有任何想法吗? Any ?

If i change the WSDL (and its "location") back to the original it will send and produce real data. 如果我将WSDL(及其“位置”)更改回原始位置,它将发送并产生实际数据。 But the NEW Service can be called by SoapUI from my machine. 但是,新服务可以由我的计算机中的SoapUI调用。 Note: The Service is not running on my machine and i am calling it through VPN. 注意:该服务未在我的计算机上运行,​​我正在通过VPN进行调用。 The fact, the guy that built up the Service told me its definately WORKING, and it is (soapUI) but not with the application by just changing WSDL makes me hell of confused about whats going on and why not. 实际上,构建服务的人一定会告诉我它的工作原理,它是(soapUI),但不通过更改WSDL来与应用程序配合使用,这使我感到困惑,因为到底发生了什么以及为什么不这样做。

我通过更正SOAP配置的错误键入的“位置”来解决此问题!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM