View Single Post
  #6 (permalink)  
Old 01-29-2008, 04:00 PM
kinihepu kinihepu is offline
Junior Member
 
Posts: 6
Default A Little Closer

So I'm able go "login" to Zimbra without errors. Now, I'm trying to create the appointment. Here's the code I'm using and I'm not getting anywhere with it.
Anyone have any ideas?

If there is any documentation about this google hasn't heard of it.

Thanks
K

try {
$result = $soapClient->__soapCall("CreateAppointmentRequest",
array(
// new SoapParam('me', 'uid'),
new SoapParam("d=20080131T100000", 's'),
new SoapParam("d=20080131T120000", 'e'),
new SoapParam("a=client1", 'at'),
new SoapParam("a=client2", 'at')
)
);
}
catch (SoapFault $exception) {
//if(is_soap_fault($ZimbraSession))
// trigger_error("SOAP Fault: (faultcode: {$ZimbraSession->faultcode}, faultstring: {$ZimbraSession->faultstring})", E_USER_ERROR);
echo "exception caught $exception<br><br>";
//echo $client->__getLastRequest() . "<br><br>";
echo "Retrieveing Request Headers.....<br>";
echo $soapClient->__getLastRequestHeaders() . "<br><br>";
echo "Retrieveing Response Headers.....<br>";
echo $soapClient->__getLastResponseHeaders() . "<br><br>";
echo "Retrieveing Response.....<br>";
echo $soapClient->__getLastResponse() . "<br><br>";
echo $exception . "<br><br>";
}

And the response I get is.......


SoapFault exception: [soap:Client] unknown document: ns1:CreateAppointmentRequest in /dir_path/index.php:75 Stack trace: #0 /dir_path/index.php(10): SoapClient->__soapCall('CreateAppointme...', Array) #1 {main}

Last edited by kinihepu : 01-29-2008 at 04:19 PM.
Reply With Quote