这个“PHP 致命错误”是什么意思?意思是?
PHP Fatal error: Uncaught SoapFault exception: [soap:Server] System.Web.Services.Protocols.SoapE xception: Server was unable to process request. ---> System.NullReferenceExcepti on: Object reference not set to an instance of an object. at _._.Application.SessionContext.ForeignAuthLogin(String username, String password) at _._.Application.SessionContext.Login(String username, String password) at -.-.Insert(String Username, String Password, String HandheldVersion, String CitationData) --- End of inner exception stack trace --- in D:\Scripts\**********.php:3
基本上我试图将某些参数传递给网络服务调用,就身份验证而言一切都很好,因为我已经使用其他服务完成了此操作,但是这个特定服务给出了此错误,
对于 _
感到抱歉, -
和 *
我只是想对一些名字保密
PHP Fatal error: Uncaught SoapFault exception: [soap:Server] System.Web.Services.Protocols.SoapE xception: Server was unable to process request. ---> System.NullReferenceExcepti on: Object reference not set to an instance of an object. at _._.Application.SessionContext.ForeignAuthLogin(String username, String password) at _._.Application.SessionContext.Login(String username, String password) at -.-.Insert(String Username, String Password, String HandheldVersion, String CitationData) --- End of inner exception stack trace --- in D:\Scripts\**********.php:3
basically i am trying to pass in certain parameters to a webservice call everything is fine as far as authentication because i've done this with other services, but this certain service is giving this error
sorry about the _
, -
, and *
Im just trying to keep some of the names confidential
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
看来 PHP SOAP 客户端正在抛出 SoapFault,但是您'没有在 try/catch 块中捕获它。
SoapFault 似乎被抛出,因为 Web 服务的另一端在其代码中存在未处理的异常...显示的堆栈跟踪实际上来自另一端的 .NET 服务。
It appears that the PHP SOAP client is throwing a SoapFault, but you're not catching it in a try/catch block.
The SoapFault appears to be thrown because the other end of the web service has an unhandled exception in its code... the stack trace being shown is actually from the .NET service on the other end.