I am new to using php for querying exchange server. I downloaded the class_http.php and class_xml.php. I am trying to run the example "Grab all properties for an item " given at http://www.troywolf.com/articles/php/exchange_webdav_examples.php#allprops . I have modified the following variables in the example php script (exch3.php):
$exchange_server = "http://mail.msm.edu";
$exchange_username = "dkaur@msm.edu";
$exchange_password = "mypswd";
I have also configured apache to run ssl by creating a self signed certificate and encryption key.
When I run this file on https://localhost:24343/i2b2/exch3.php
I get the following output. Please suggest what am I doing wrong. Any help is highly appreciated.
"
stdClass Object
(
[HTML] => Array
(
[0] => stdClass Object
(
[HEAD] => Array
(
[0] => stdClass Object
(
[TITLE] => Array
(
[0] => stdClass Object
(
[_text] => Error
)
)
)
)
[BODY] => Array
(
[0] => stdClass Object
(
[HEAD] => Array
(
[0] => stdClass Object
(
[TITLE] => Array
(
[0] => stdClass Object
(
[_text] => Secure Channel Required
)
)
)
)
[BODY] => Array
(
[0] => stdClass Object
(
[H1] => Array
(
[0] => stdClass Object
(
[_text] => Secure Channel Required
)
)
[_text] => This Virtual Directory requires a browser that supports the configured encryption options.
)
)
)
)
)
)
)
"
My target is to query if a user is a valid user on exchange server, and get his name email id etc from exchange server.
Thanks,
Dkv.