2011-01-28 109 views
1
 
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 

基本上我想在某些参数传递到Web服务调用一切都很好,至于身份验证,因为我已经做到了这一点与其他服务,但这种服务一定是给这个错误这个“PHP致命错误”是什么意思?

遗憾的_-,并且*我只是想保持一些保密

+2

欢迎来到社区!下次您提出问题时,请花时间决定一个有用的标题,并确保您使用降价标记代码。 – zzzzBov 2011-01-28 21:27:00

回答

2

看来,PHP SOAP客户端抛出SoapFault的名字,但你不能在一个try/catch块捕获它。

SoapFault似乎被抛出,因为Web服务的另一端在其代码中有未处理的异常......所显示的堆栈跟踪实际上来自另一端的.NET服务。