Hi all
I have a installation of SugarCRM Enterprise 4.5.1e
I try to use the function portal_login_contact. The code it is just a copy and paste from another forum post:
require_once('lib/nusoap.php');
$soapclient = new soapclient2('http://88.208.235.28/sugarcrm/soap.php?wsdl',true);
$err = $soapclient->getError();
$user_auth = array(
'portal_auth' => array(
'user_name' => '', // portalguy is a Sugar user with the Portal Only option set.
'password' => md5(''),
),
'contact_portal_auth' => array(
'user_name' => '', //bob is a Contact record in my system with the portal name of 'bob'
'password' => md5(''),
),
'application_name' => 'max_test');
$result_array = $soapclient->call('portal_login_contact',$user_auth);
print_r($result_array);
But this is the output:
Operation 'portal_login_contact' is not defined in the WSDL for this service
I can not understand, because if I make a http://my.server/sugarcrm/login.php from firefox, I can see it there.
For example login function works.
Any ideas??
Thank you very much.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks