Zimbra Web Service Change
Posted: Mon Nov 06, 2017 6:54 pm
During a recent OS update the following zimbra packages were installed:
zimbra-apache-components-1.0.1-1zimbra8.7b1.el6.x86_64
zimbra-core-components-1.0.3-1zimbra8.7b1.el6.x86_64
zimbra-mariadb-10.1.25-1zimbra8.7b1.el6.x86_64
zimbra-mariadb-libs-10.1.25-1zimbra8.7b1.el6.x86_64
zimbra-openjdk-1.8.0u144b01-1zimbra8.7b4.el6.x86_64
zimbra-openssl-1.0.2l-1zimbra8.7b2.el6.x86_64
zimbra-openssl-libs-1.0.2l-1zimbra8.7b2.el6.x86_64
zimbra-php-5.6.31-1zimbra8.7b2.el6.x86_64
zimbra-spell-components-1.0.1-1zimbra8.7b1.el6.x86_64
zimbra-store-components-1.0.1-1zimbra8.7b1.el6.x86_64
Pretty much everything that we were doing with web service calls failed after that. Below is a change that the developers had to make, which appears to be working, initially.
This will involve a lot of code changes to get this to work and appears to be a bug, introduced in one of the updates. Is this a known bug, or is there a fix for this?
Affects GetDistributionListRequest, GetAccountRequest, and others as well.
Previously working:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:zimbra="urn:zimbra" xmlns:zaccount="urn:zimbraAccount" xmlns:zmail="urn:zimbraMail" xmlns:zadmin="urn:zimbraAdmin" >
<soap:Header>
<zimbra:context xmlns="urn:zimbraSoap">
<authToken>0_redacted</authToken>
</zimbra:context>
</soap:Header>
<soap:Body>
<zadmin:GetDistributionListRequest>
<dl by="name">ois@pittstate.edu</dl>
</zadmin:GetDistributionListRequest>
</soap:Body>
</soap:Envelope>
Had to change to get it to work post upgrade:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:zimbra="urn:zimbra" xmlns:zaccount="urn:zimbraAccount" xmlns:zmail="urn:zimbraMail" xmlns:zadmin="urn:zimbraAdmin" >
<soap:Header>
<zimbra:context xmlns="urn:zimbraSoap">
<authToken>0_redacted</authToken>
</zimbra:context>
</soap:Header>
<soap:Body>
<GetDistributionListRequest xmlns="urn:zimbraAdmin">
<dl by="name">ois@pittstate.edu</dl>
</GetDistributionListRequest>
</soap:Body>
</soap:Envelope>
zimbra-apache-components-1.0.1-1zimbra8.7b1.el6.x86_64
zimbra-core-components-1.0.3-1zimbra8.7b1.el6.x86_64
zimbra-mariadb-10.1.25-1zimbra8.7b1.el6.x86_64
zimbra-mariadb-libs-10.1.25-1zimbra8.7b1.el6.x86_64
zimbra-openjdk-1.8.0u144b01-1zimbra8.7b4.el6.x86_64
zimbra-openssl-1.0.2l-1zimbra8.7b2.el6.x86_64
zimbra-openssl-libs-1.0.2l-1zimbra8.7b2.el6.x86_64
zimbra-php-5.6.31-1zimbra8.7b2.el6.x86_64
zimbra-spell-components-1.0.1-1zimbra8.7b1.el6.x86_64
zimbra-store-components-1.0.1-1zimbra8.7b1.el6.x86_64
Pretty much everything that we were doing with web service calls failed after that. Below is a change that the developers had to make, which appears to be working, initially.
This will involve a lot of code changes to get this to work and appears to be a bug, introduced in one of the updates. Is this a known bug, or is there a fix for this?
Affects GetDistributionListRequest, GetAccountRequest, and others as well.
Previously working:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:zimbra="urn:zimbra" xmlns:zaccount="urn:zimbraAccount" xmlns:zmail="urn:zimbraMail" xmlns:zadmin="urn:zimbraAdmin" >
<soap:Header>
<zimbra:context xmlns="urn:zimbraSoap">
<authToken>0_redacted</authToken>
</zimbra:context>
</soap:Header>
<soap:Body>
<zadmin:GetDistributionListRequest>
<dl by="name">ois@pittstate.edu</dl>
</zadmin:GetDistributionListRequest>
</soap:Body>
</soap:Envelope>
Had to change to get it to work post upgrade:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:zimbra="urn:zimbra" xmlns:zaccount="urn:zimbraAccount" xmlns:zmail="urn:zimbraMail" xmlns:zadmin="urn:zimbraAdmin" >
<soap:Header>
<zimbra:context xmlns="urn:zimbraSoap">
<authToken>0_redacted</authToken>
</zimbra:context>
</soap:Header>
<soap:Body>
<GetDistributionListRequest xmlns="urn:zimbraAdmin">
<dl by="name">ois@pittstate.edu</dl>
</GetDistributionListRequest>
</soap:Body>
</soap:Envelope>