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]

 



Ok, still more issues I hope someone can help with.

My code is below:

<?php

// test connection to agwebservice

	$agLogURL =    "https://www.agemni.com/_snet/AgemniLogin.asmx?WSDL";;
	$myLogin->dn =        "myDN";
	$myLogin->username =  "myUserName";
	$myLogin->password =      "myPassword";

	$login = new SoapClient($agLogURL);

	$LoginResults = $login->aglogin($myLogin);


// now get some data

	$agDataURL = "http://www.agemni.com/_anet/ADBAccess.asmx?WSDL";;
	$DataClient = new SoapClient($agDataURL);

	$DataParams->opName = 'appointment';
	$DataParams->startDate = '12/29/2010 12:01:00 AM';
	$DataParams->endDate = '12/29/2010 4:00:00 PM';
	
	$DataSet = $DataClient->getCMSData($DataParams);
		
	echo "<p> This is the print_r of DataSet: </p>";
	print_r($DataSet->getCMSDataResult);

	echo "<p> This is the vardump of DataSet: </p>";
	var_dump($DataSet->getCMSDataResult);

	?>

It's just returning no data that I can tell, it should be returning a
<responseresultset> for each record, up to 1000 records, but I get nothing.
Here's the resulting output of the above:

Login Results are: myDNmyUserNamexxxxxxx

This is the print_r of DataSet:
stdClass Object ( [any] => 12/29/2010 12:01:00 AM12/29/2010 4:00:00 PM )

This is the vardump of DataSet:
object(stdClass)#8 (1) { ["any"]=> string(296) "12/29/2010 12:01:00
AM12/29/2010 4:00:00 PM" } 


... again, here is where it's all documented, but I really need help, they
don't support developers trying to access it in php, so they're being no
help at all, really.

http://wiki.agemni.com/Getting_Started/APIs/Agemni_CMS_Sync#CMS_Sync_Web_Service_Protocol


-- 
View this message in context: http://old.nabble.com/Need-help-figuring-out-what-I%27m-doing-wrong-accessing-this-Web-Service-tp30552173p30554322.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