"unknown document"

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

"unknown document"

Post by abatie »

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"

Post by abatie »

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