这个“PHP 致命错误”是什么意思?意思是?

发布于 2024-10-15 03:18:07 字数 733 浏览 5 评论 0原文

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

感情洁癖 2024-10-22 03:18:07

看来 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文