No luck just using raw posts to the soap api either ...
Below is a request that
DOES work, using the standard auth token:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<authToken>...long-ass-zimbra-auth-token...</authToken>
</context>
</soap:Header>
<soap:Body>
<GetFolderRequest xmlns="urn:zimbraMail"/>
</soap:Body>
</soap:Envelope>
Now the request trying to use our custom AuthProvider impl:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<authToken type="CUSTOM_AUTH_PROVIDER">abc-custom-authsystem-token-xyz</authToken>
</context>
</soap:Header>
<soap:Body>
<GetFolderRequest xmlns="urn:zimbraMail"/>
</soap:Body>
</soap:Envelope>
This generates a 500 response:
Code:service.AUTH_REQUIRED
at com.zimbra.common.service.ServiceException.AUTH_RE QUIRED(ServiceException.java:296)
....
