Skip to Content.
Sympa Menu

en - Re: [sympa-users] Sympa SOAP

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Graham Pearson <address@concealed>
  • To: sympa-users <address@concealed>
  • Subject: Re: [sympa-users] Sympa SOAP
  • Date: Wed, 14 Feb 2018 09:39:17 -0500 (EST)

As I struggle through the SOAP stuff in Sympa I am to the point now of another error message as I have been able to work out the details of the sympa_soap_client.pl script



I am now trying to POST to /sympasoap with the same variables and values from the sympa_soap_client.pl script which I am receiving the following 

Application failed during request deserialization: 
not well-formed (invalid token) at line 1, column 7, byte 7 at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187.


Not sure how to debug this





From: "gpearson" <address@concealed>
To: "sympa-users" <address@concealed>
Sent: Tuesday, February 6, 2018 8:14:27 AM
Subject: [sympa-users] Sympa SOAP

I am trying to connect a CMS to Sympa with SOAP to allow administrators the ability to add and remove subscribers with ease instead of logging into the Sympa Website.

I am able to get a list of mailing lists with soap and that part works.

My issue is with adding a new subscriber, right now I am doing this command line until I can get all of the necessary parameters configured then I will configure the CMS to do a http request based on the information passed


/usr/share/sympa/bin/sympa_soap_client.pl --soap_url=http://{WEBSITE_URL}/sympasoap --service=add --trusted_application={TrustedAppWebiteName} --trusted_application_password={TrustedAppWebsitePassword} --proxy_vars=''USER_EMAIL={Email Address of Admin}'' --service_parameters=test,{Email Address of new Subscriber},'',true


When I do this I get the following

Soap error :
faultcode = soap:Server
faultstring = bug in logic. Ask developer at /usr/share/sympa/lib/Sympa/Spindle/AuthorizeRequest.pm line 66


Line 66


my $context = $self->{scenario_context}
        or die 'bug in logic. Ask developer';



Any Insight that can help







--
This message has been scanned for viruses and dangerous content by
E.F.A. Project, and is believed to be clean.
Click here to report this message as spam.



Archive powered by MHonArc 2.6.19+.

Top of Page