Re: [SOAP] Need help figuring out what I'm doing wrong accessing this Web Service

From: Date: Wed, 29 Dec 2010 16:35:16 +0000
Subject: Re: [SOAP] Need help figuring out what I'm doing wrong accessing this Web Service
References: 1 2  Groups: php.soap 
Request: Send a blank email to php-soap+get-3197@lists.php.net to get a copy of this message
ok, changed my code to: $agLogURL = "https://www.agemni.com/_snet/AgemniLogin.asmx?WSDL"; $agDN = "myDN"; $agUserName = "myUserName"; $agPass = "myPassword"; $login = new SoapClient($agLogURL); $login->aglogin($agDN, $agUserName, $agPass); Here's what I get now as an error: Fatal error: Uncaught SoapFault exception: [soap:Server] System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.NullReferenceException: Object reference not set to an instance of an object. at AgemniLogin.agLogin(String dn, String username, String password) --- End of inner exception stack trace --- in C:\XAMPP\xampp\htdocs\agsync\syncwork.php:16 Stack trace: #0 [internal function]: SoapClient->__call('aglogin', Array) #1 C:\XAMPP\xampp\htdocs\agsync\syncwork.php(16): SoapClient->aglogin('myDN', 'myUserName', 'myPassWord') #2 {main} thrown in C:\XAMPP\xampp\htdocs\agsync\syncwork.php on line 16 -- View this message in context: http://old.nabble.com/Need-help-figuring-out-what-I%27m-doing-wrong-accessing-this-Web-Service-tp30552173p30552332.html Sent from the Php - Soap mailing list archive at Nabble.com.

« previous php.soap (#3197) next »