Skip to Content.
Sympa Menu

en - [sympa-users] Problem with soap and external application

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Jobst Schmalenbach <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] Problem with soap and external application
  • Date: Mon, 15 Jun 2009 14:33:35 +1000


Hi.

I have a problem using the soap interface from an external application.
For starters I tried the things that are explained in the FAQ
(http://www.sympa.org/manual/soap) using the soap_client

I placed the "trusted_applications.conf" into [just to be sure ;-) i always
do this to lower errors]

* /etc
* /home/sympa/etc
* /home/sympa/bin/etc/

with the following content:

trusted_application
# name of the trusted application. This is the appname soap element
name soaptest
#
md5password d8578edf8458ce06fbc5bb76a58c5ca4
# the md5 digest of the application pasword. You can get it with sympa.pl
--md5_digest=<the password>
#
proxy_for_variables USER_EMAIL,remote_host,createList,add
# the comma separated list of vars the trusted application can set.

and then I tried the following commands to test this setup:


[/home/sympa/bin/etc] #>/home/sympa/bin/sympa_soap_client.pl
--soap_url=http://lists.barrett.com.au/sympasoap --service=add
+--trusted_application=soaptest --trusted_application_password=qwerty
--address@concealed'
+--service_parameters="test,address@concealed,myname"
calling authenticateRemoteAppAndRun( soaptest, qwerty,
address@concealed,add,test,address@concealed,myname)
Soap error :
detail = Authentication failed for application soaptest
faultcode = SOAP-ENV:Server
faultstring = Authentification failed


"address@concealed" is an existing user whom I made priviledged for now, all
passwords are the same (the users password in the
+database, the md5 one and the one on the command line only for the testing)


This one works (so this means I have access to the server, username and
password):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/sympa/bin/sympa_soap_client.pl
--soap_url=http://lists.barrett.com.au/sympasoap
--address@concealed
+--user_password=qwerty
LOGIN....
0
'87eba6b9'
AuthenticateAndRun simple which....
0

'isOwner=1;homepage=http://lists.barrett.com.au/sympa/info/test;subject=Barrett's
+Testing;address@concealed;isEditor=0;isSubscriber=0'



Any ideas?
Jobst





--
Gravity does not exist, the Earth sucks.

| |0| | Jobst Schmalenbach, address@concealed, General Manager
| | |0| Barrett Consulting Group P/L & The Meditation Room P/L
|0|0|0| +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia



Archive powered by MHonArc 2.6.19+.

Top of Page