04-08-2010 05:31 AM
<?php
try
{
$client = new SoapClient('http://cmis.alfresco.com/cmis/RepositoryService?wsdl', array('user'=>'admin', 'password'=>'admin'));
$client->getRepositoryInfo('84ccfe80-b325-4d79-ab4d-080a4bdd045b');
echo 'Request :<pre>'.htmlspecialchars($client->__getLastRequest());
echo '</pre>Response:<pre>'.htmlspecialchars($client->__getLastResponse()) . '</pre>';
}
catch (SoapFault $e)
{
echo '<p>Fault String: ' . $e->faultstring . '<p>';
echo '<p>Fault Code: ' . $e->faultcode . '<p>';
}
Fault String: An error was discovered processing the header
Fault Code: ns1:InvalidSecurity
04-09-2010 08:26 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.