"unknown document"

Have a great idea for extending Zimbra? Share ideas, ask questions, contribute, and get feedback.
abatie
Advanced member
Advanced member
Posts: 61
Joined: Thu Aug 07, 2014 12:02 pm

"unknown document"

Postby abatie » Thu Nov 14, 2019 2:42 am

I'm trying out this SOAP stuff (using perl SOAP::Lite) and managed to get an auth token, but when I try to use it, all I get is "unknown document":

Code: Select all

my $som = $soap->call('GetAccountInfo',
                        SOAP::Data->name('authToken')->value($auth_token),
                    );

if ($som->fault) {
    die "Couldn't get info - fault: " . $som->faultstring . "\n";
}


Code: Select all

Couldn't get info - fault: unknown document: GetAccountInfo


abatie
Advanced member
Advanced member
Posts: 61
Joined: Thu Aug 07, 2014 12:02 pm

Re: "unknown document"

Postby abatie » Fri Nov 15, 2019 8:38 pm

It turns out the documentation is confusing - the page is titled "GetAccountInfo SOAP Command", but the actual command is GetAccountInfoRequest...

Return to “Developers”

Who is online

Users browsing this forum: No registered users and 2 guests