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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



YES, that fixed it... Guess I better go refresh myself on using objects in
PHP. Thank you so much.



newcoder wrote:
> 
> 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-tp30552173p30552446.html
Sent from the Php - Soap mailing list archive at Nabble.com.


-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux