Skip to Content.
Sympa Menu

devel - [sympa-dev] extending soap interface to edit owners

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Joe Vieira <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: [sympa-dev] extending soap interface to edit owners
  • Date: Wed, 2 Apr 2008 16:17:28 -0400

Hi everyone,

So I am looking at extending the SOAP interface to allow edits of owners / and editors.
let me know if i am doing this correctly, or if i am doing something totally stupid please..

basically..

my $list = new List('$ListQuery',"$robot");
$newOwner = "address@concealed";
my @owner = $list->get_owners();
$owner[0]->[0]->{'email'} = $newOwner;
$list->{'admin'}->{'owner'}[0] = $owner[0][0];
$list->save_config($sender);

now, the result of that code is

owner HASH(memorylocation) in the config file

the same thing occurs if i do:

my $list = new List('$ListQuery',"$robot");
$list->save_config($sender);

So, my question: Is am I doing this wrong, what am i doing stupidly, AND how would you recommend for me to save the new owner?

Joe Vieira
UNIX Systems Administrator
Clark University - ITS




Archive powered by MHonArc 2.6.19+.

Top of Page