Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-11-2008, 06:28 AM
Member
 
Posts: 11
Default Cannot modify domain COS via SOAP

I'm trying to update a domain's default COS via SOAP, but this doesn't work.

I'm using a ModifyDomainRequestwith the zimbraDomainDefaultCOSId attribute.

The SOAP request looks absolutely identical to the SOAP request sent by the admin web interface.

I've tried doing it while being logged _out_ of the admin web interface (it looks like some SOAP request don't get through if logged in to the web ui).

Is this a bug or some special thing I need to know ?

request:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<authToken>0_38933b0fd58d6c00c71fdcfed5872f94250a8 8e9_69643d33363a38626432313936312d363639372d346237 352d393662662d3462333539656337353937353b6578703d31 333a313232313138333832343238313b61646d696e3d313a31 3b747970653d363a7a696d6272613b</authToken>
<sessionId id="3606">3606</sessionId>
</context>
</soap:Header>
<soap:Body>

<ModifyDomainRequest xmlns="urn:zimbraAdmin">
<id>67ec5dab-8ccd-401f-9b2d-e2cb03f1ca30</id>
<a n="zimbraDomainDefaultCOSId"></a>
</ModifyDomainRequest>
</soap:Body>
</soap:Envelope>

Response:
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope">
<soap:Header>
<context xmlns="urn:zimbra">
<sessionId type="admin" id="3610">3610</sessionId>
<change token="1178"/>
</context>
</soap:Header>
<soap:Body>
<ModifyDomainResponse xmlns="urn:zimbraAdmin">
<domain name="xxxxxx.com" id="67ec5dab-8ccd-401f-9b2d-e2cb03f1ca30">
<a n="o">xxxxxx.com domain</a>
<a n="objectClass">dcObject</a>
<a n="objectClass">organization</a>
<a n="objectClass">zimbraDomain</a>
<a n="zimbraGalMaxResults">100</a>
<a n="zimbraAuthMech">zimbra</a>
<a n="zimbraDomainName">xxxxxx.com</a>
<a n="zimbraGalAutoCompleteLdapFilter">externalLdapAu toComplete</a>
<a n="zimbraGalSyncLdapPageSize">1000</a>
<a n="zimbraGalInternalSearchBase">DOMAIN</a>
<a n="zimbraMailStatus">enabled</a>
<a n="zimbraNotebookAccount">wiki@xxxxxx.com</a>
<a n="zimbraGalLdapAttrMap">co=workCountry</a>
<a n="zimbraGalLdapAttrMap">company=company</a>
<a n="zimbraGalLdapAttrMap">description=notes</a>
<a n="zimbraGalLdapAttrMap">displayName,cn=fullName </a>
<a n="zimbraGalLdapAttrMap">givenName,gn=firstName</a>
<a n="zimbraGalLdapAttrMap">initials=initials</a>
<a n="zimbraGalLdapAttrMap">l=workCity</a>
<a n="zimbraGalLdapAttrMap">objectClass=objectClass </a>
<a n="zimbraGalLdapAttrMap">ou=department</a>
<a n="zimbraGalLdapAttrMap">physicalDeliveryOfficeNam e=office</a>
<a n="zimbraGalLdapAttrMap">postalCode=workPostalCode </a>
<a n="zimbraGalLdapAttrMap">sn=lastName</a>
<a n="zimbraGalLdapAttrMap">st=workState</a>
<a n="zimbraGalLdapAttrMap">street,streetAddress=work Street</a>
<a n="zimbraGalLdapAttrMap">telephoneNumber=workPhone </a>
<a n="zimbraGalLdapAttrMap">title=jobTitle</a>
<a n="zimbraGalLdapAttrMap">whenChanged,modifyTimeSta mp=modifyTimeStamp</a>
<a n="zimbraGalLdapAttrMap">whenCreated,createTimeSta mp=createTimeStamp</a>
<a n="zimbraGalLdapAttrMap">zimbraCalResLocationDispl ayName=zimbraCalResLocationDisplayName</a>
<a n="zimbraGalLdapAttrMap">zimbraCalResType=zimbraCa lResType</a>
<a n="zimbraGalLdapAttrMap">zimbraId=zimbraId</a>
<a n="zimbraGalLdapAttrMap">zimbraMailDeliveryAddress ,zimbraMailAlias,mail=email,email2,email3,email4,e mail5,email6,email7,email8,email9,email10,email11, email12,email13,email14,email15,email16</a>
<a n="zimbraGalLdapAttrMap">zimbraMailForwardingAddre ss=zimbraMailForwardingAddress</a><a n="zimbraVirtualHostname">gatonero.com</a>
<a n="zimbraFreebusyExchangeCachedIntervalStart">7d </a>
<a n="zimbraGalLdapPageSize">1000</a>
<a n="zimbraId">67ec5dab-8ccd-401f-9b2d-e2cb03f1ca30</a>
<a n="zimbraGalMode">zimbra</a><a n="zimbraDomainType">local</a>
<a n="dc">gatonero</a><a n="zimbraFreebusyExchangeCachedInterval">60d</a>
<a n="zimbraDomainStatus">active</a>
</domain>
</ModifyDomainResponse>
</soap:Body>
</soap:Envelope>

Last edited by opichon; 09-11-2008 at 06:49 AM.. Reason: added soap request and response transcripts
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.