Skip to Content.
Sympa Menu

en - [sympa-users] Re: [sympa-dev] Calling SOAP Methods from .NEt

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Lennon Day-Reynolds <address@concealed>
  • To: address@concealed
  • Cc: address@concealed
  • Subject: [sympa-users] Re: [sympa-dev] Calling SOAP Methods from .NEt
  • Date: Thu, 19 Jan 2006 16:11:09 -0800

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

address@concealed wrote:
>
> Hi Lennon,
>
> The error I get back when calling the authenticate and run method is a
> generic invalid XML error. The problem is I am not sure what is
> supposed to go into the parameters string array argument. Do you have
> any examples or documentation refering to it?
>
> Thanks,
>
>
> Cory

Cory,

The parameters array should contain the same items you would pass as
arguments to the method you're wrapping with authenticateAndRun, which
is itself basically just a workaround for SOAP clients that don't handle
the cookie set by the login method.

So, for example, if you wanted to subscribe a user to a list, you would
use the following sequence of calls (in pseudo-code):

credentials = sympaProxy.login(userEmail, userPasswd)
sympaProxy.authenticateAndRun(userEmail, credentials, userEmail)

Does that help?

- -Lennon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD0CqdRtirLnfvQskRAhrZAJ4qsDiU9sh+4UpIvPlrjxTZJ6y77QCeLNQX
2Zd0XgIHKOEJBBcFyprSbMg=
=CauV
-----END PGP SIGNATURE-----


  • [sympa-users] Re: [sympa-dev] Calling SOAP Methods from .NEt, Lennon Day-Reynolds, 01/20/2006

Archive powered by MHonArc 2.6.19+.

Top of Page