Accéder au contenu.
Menu Sympa

fr - [sympa-fr] webservices need help

Objet : Pour les administrateurs de serveurs de listes utilisant le logiciel Sympa

Archives de la liste

Chronologique Discussions  
  • From: Francoise GUERIN <adresse@cachée>
  • To: adresse@cachée
  • Subject: [sympa-fr] webservices need help
  • Date: Wed, 10 Feb 2016 09:30:56 +0100

Hello,
We need to use sympa's webservices via a trusted application (Sympa version 6.1.14).
we read the documentation http://www.sympa.org/manual_6.1/soap and
applied step by step the instructions, but ...

When we ran the perl client provided with sympa :

./sympa_soap_client.pl --soap_url=https://server_name.fr/sympasoap --service=createList --trusted_application=anoraq
--trusted_application_password=mot_de_passe --proxy_vars="adresse@cachée"
--service_parameters=anoraqlisttest,sujet,newsletter,description,informatique

=> and the response :

calling authenticateRemoteAppAndRun( anoraq, mot_de_passe, adresse@cachée,createList,anoraqlisttest,sujet,newsletter,description,informatique)
Soap error :
detail = Authentication failed for application anoraq
faultcode = soap:Server
faultstring = Authentification failed

=> and in logs :

Feb 4 17:00:51 sympa2 soap[28287]: notice sympasoap::authenticateRemoteAppAndRun()
authenticateRemoteAppAndRun(enora,adresse@cachée,createList,enoralisttest,sujet,newsletter,description,informatics)
Feb 4 17:00:51 sympa2 soap[28287]: info Auth::remote_app_check_password()
Auth::remote_app-check_password: unknown application name anoraq
Feb 4 17:00:51 sympa2 soap[28287]: notice sympasoap::authenticateRemoteAppAndRun()
authenticateRemoteAppAndRun(): authentication failed

Can you help me?

Best regards.

FG.





Archives gérées par MHonArc 2.6.19+.

Haut de le page