testing OpenClinica's new web service for event scheduling
Hi,
I'm trying out OpenClinica's new web service for event scheduling.
Here's the php script with which I'm doing this (the hashed password has been redacted):
***********************************************
root
**********************
1
1
SE_EVENT1
Hello
2009-01-01
';
$request = simplexml_load_string($message);
var_dump ($soapClient->__doRequest($request->saveXML(), '
https://localhost:8443/alpha2/ws/event/v1', 'schedule', 1));
*************************************************************
For the test, I've already loaded into the database a patient and an event definition.
When I execute the script, I get:
*************************************************************
php event_soap.php
string(290) "SOAP-ENV:ServerUnparseable date: "2009-01-01 ""
**************************************************************
I've tried several permutations of the date: '01/01/2009', '20090101', etc. But I get the same result: the date is unparseable.
I'm close! Any help would be greatly appreciated.
Thanks!