RIRedinPA Posted February 8, 2009 Share Posted February 8, 2009 Has anyone worked with cvent and their api before? I am trying to use PHP and nuSOAP to just login and I keep getting an error message on the login part. I am pretty new at SOAP but I get the concept and the top level stuff if not the intricate stuff. Here's my login code: <?php //include nusoap require_once ("nusoap/lib/nusoap.php"); //set up parameters $param = array('AccountNumber' =>'N.........1','UserName' => 'N.........i','Password' => '2.........R'); //set up serverpath $serverpath = 'https://api.cvent.com/soap/V200611.ASMX?WSDL'; //declare new soapclient, for cvent, the true is absolutely essential, without it you will throw a SOAPAction error $client = new soapclient($serverpath, true); //make the call $loginResult = $client->call('Login',$param); print_r($loginResult); ?> $loginResult gives me this: Array ( [faultcode] => q0:CV10102 [faultstring] => INVALID_LOGIN [faultactor] => http://api.cvent.com/soap/V200611.ASMX [detail] => Array ( [Main-Exception] => Array ( [Exception-Detail] => ) [secondary-Exception] => Array ( [!t:has-more] => yes ) ) ) So my question is, other than passing wrong login information is there something in my code above, something I am not including or I shouldn't have that could cause this? Thanks Quote Link to comment Share on other sites More sharing options...
ATEdge Posted August 1, 2013 Share Posted August 1, 2013 I Know it's been several years, but have you made any progress with the CVENT API? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.