Page 1 of 1

Check if folder exists in SOAP

Posted: Mon Sep 18, 2017 2:01 pm
by vdagost-fr
Hello,

To check if a folder exists in SOAP I try a GetFolder request.

But each time the folder does not exist a not such folder path WARN Zimbra exception is throwed at com.zimbra.cs.mailbox.MailServiceException.NO_SUCH_FOLDER(MailServiceException.java:239).

How to nicely check for folder existence ?

Regards,
Victor

Re: Check if folder exists in SOAP

Posted: Mon Sep 18, 2017 2:49 pm
by Gren Elliot
What's wrong with that? Seems pretty clear to me?

Re: Check if folder exists in SOAP

Posted: Wed Sep 20, 2017 3:36 pm
by vdagost-fr
Hi Gren

Nothing wrong but each days our soap applications generate a lot off useless warning logs.
I was wondering if there is a CheckIfFolderExists or something like that SOAP function.