AnsweredAssumed Answered

Calling alfresco wsdl  from  php

Question asked by ashokkumarc on Apr 11, 2009
hi ,
i am php user i would like to connect alfresco  wsdl  in php, when iam trying to connect  it , it cause error

give me the solution

PHP  CODE  I AM USING  WAS
$wsdl_url = 'http://localhost:8085/alfresco/wsdl/authentication-service.wsdl';
$client = new SoapClient($wsdl_url);
print_r($client);
$username = "test";
$password = "test";
$types = $client->startSession($username,$password);

but it cause
SoapClient Object ( [_soap_version] => 1 [sdl] => Resource id #2 )
Fatal error: Uncaught SoapFault exception: [ns1:Client] No such operation 'parameters' in D:\wamp\www\GicSelf\alfresco.php:19 Stack trace: #0 [internal function]: SoapClient->__call('startSession', Array) #1

Outcomes