PHP SOAP 错误代码:soap:Server
谷歌到处都没有运气,谁能告诉我这里发生了什么?
PHP 版本 5.2.10
尝试发出 SOAP 请求并取回该请求。
SoapFault exception: [soap:Server] The application encountered an unhandled system exception.
故障代码: 故障代码:soap:服务器
Googled everywhere with no luck, could anyone tell me what's going on here?
PHP version 5.2.10
trying to make a SOAP request and get this back.
SoapFault exception: [soap:Server] The application encountered an unhandled system exception.
Fault Code:
faultcode: soap:Server
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想出了我的问题,所以我会发布结果,因为它们很少见(我认为)。
问题原来是我正在使用 SOAP 调用连接(并查询)到另一个数据库。用户/密码组合不正确并且引发错误,导致 SOAP 请求也引发错误。
顺便说一句,不是我的设计,只是我的问题
I figured out my problem so I will post the results as they are rare (I think).
The problem turned out to be I was connecting (And querying) to another database with the SOAP call. The User/Pass combination was not correct and was throwing an error with was causing the SOAP request to throw an error as well.
BTW not my design, just my problem
有时是因为您没有 WSDL(端点)的正确 URL,并且您需要告诉设置为 true(即 wsdl)
在使用 nusoap 的代码中:
Sometimes its because you don't have the right URL for the WSDL (endpoint) and you need to tell to set with true (that is wsdl)
In code using nusoap: