Skip to Content.
Sympa Menu

en - [sympa-users] sympa_soap_client.pl and special characters

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Alexander Bech <address@concealed>
  • To: address@concealed
  • Subject: [sympa-users] sympa_soap_client.pl and special characters
  • Date: Fri, 18 Dec 2015 22:34:04 +0100

Title: sympa_soap_client.pl and special characters
Hi,

i wrote a bash script to add subscribers to a list from a csv-file.
Works fine with the commands add, setDetails and setCustom.

However, there is a problem with special characters such as "umlaut marks" with add and setCustom commands.

Soap-command add:

sympa_soap_client.pl --trusted_application=soapapp --trusted_application_password=...pwd --soap_url=http://listen.bakarasse.de/sympasoap --service=add
--address@concealed --service_parameters=test5,address@concealed,Jürgen\ Adrian


calling authenticateRemoteAppAndRun( soapapp, detailspwd, address@concealed,add,test5,address@concealed,Jürgen Adrian)

0
    ''
result: gecos is wrong




Soap-command setDetails:
 sympa_soap_client.pl --trusted_application=soapapp --trusted_application_password=...pwd --soap_url=http://listen.bakarasse.de/sympasoap --service=setDetails
--address@concealed --service_parameters=test5,Jürgen\ Adrian

calling authenticateRemoteAppAndRun( soapapp, detailspwd, address@concealed,setDetails,test5,Jürgen Adrian)
0
    '1'
result: gecos is correct




Soap-command setCustom - custom attribute "vorname":
 sympa_soap_client.pl --trusted_application=soapapp --trusted_application_password=...pwd --soap_url=http://listen.bakarasse.de/sympasoap --service=setCustom --address@concealed --service_parameters=test5,vorname,Jürgen
calling authenticateRemoteAppAndRun( soapapp, detailspwd, address@concealed,setCustom,test5,vorname,Jürgen)
0
    '1'
result: custom attribute is wrong



Any help or hint?

Sympa version 6.1.23~dfsg-2, debian 8.2, sympasoap.pm with patch from http://steveshipway.org/software/f_sympa.html.


Thanks,
Alex

Attachment: png5_HcvTBMyG.png
Description: PNG image

Attachment: pngmxRB7k5_QA.png
Description: PNG image

Attachment: pngKpU5IFmVQB.png
Description: PNG image




Archive powered by MHonArc 2.6.19+.

Top of Page