Skip to Content.
Sympa Menu

en - [sympa-users] Trouble using SOAP authenticateRemoteAppAndRun

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Trouble using SOAP authenticateRemoteAppAndRun
  • Date: Tue, 18 Dec 2007 17:34:38 +0100

I am trying to integrate sympa with the suite if tools on our website. The
first thing I am trying to do is to use SOAP for list creation. I have the
soap_url set in my sympa.conf and my apache config. However, the docs on the
sympa site have the apache config using fastcgi. I am using mod_fcgid and
there is no FastCgiServer directive so I omitted that line.

I am using PHP, here is what I am trying to do:

$SympaSoapClient = new SoapClient('http://my.site.com/sympa/wsdl');
$create_list_params=array($new_list_name,$group_name,'my_create_template',$description,$group_name);
try {
$list_created =
$SympaSoapClient->authenticateRemoteAppAndRun('MyApp',$GLOBALS['sys_dbpasswd'],'address@concealed','createList',$create_list_params);
} catch (SoapFault $soapFault) {
echo $soapFault;
}

I get this error:
SoapFault exception: [HTTP] Unable to parse URL in
/home/www/my.site.com/htdocs/mail/admin/index.php:57 Stack trace: #0 [internal
function]: SoapClient->__doRequest('__call('authenticateRem...', Array) #2
/home/www/my.site.com/htdocs/mail/admin/index.php(57):
SoapClient->authenticateRemoteAppAndRun('MySite', 'MyPassword',
'USER_EMAIL=admi...', 'createList', Array) #3 {main}

It sounds like it is not seeing the soap_url but when I look at the wsdl
output
manually, it is there. Hints, suggestions?



Archive powered by MHonArc 2.6.19+.

Top of Page