I
IndraKumar
Hi,
I am trying to create Contact using WEBDAV protocol( implemented in C#).
Without giving 'otherpostaddress' columns, i am able to create contact. If
specify the postal address i am getting the following error
Response
------------
<?xml version="1.0" ?>
<a:multistatus xmlns:b="http://schemas.microsoft.com/exchange/"
xmlns:c="urn:schemas:contacts:"
xmlns:a="DAV:">
<a:response
<a:href>http://testserver/Exchange/kumar/TempContacts/Dobney, JoLynn</a:href>
<aropstat>
<a:status>HTTP/1.1 403 Forbidden</a:status>
<arop>
<ctherpostaladdress />
</arop>
</aropstat>
</a:response>
</a:multistatus>
Input XML:
<?xml version="1.0" ?>
<gropertyupdate xmlns:g="DAV:" xmlns:c="urn:schemas:contacts:"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:mapi="http://schemas.microsoft.com/mapi/" xmlns:x="xml:"
xmlns:cal="urn:schemas:calendar:"
xmlns:mail="urn:schemas:httpmail:">
<g:set>
<grop>
<g:contentclass>urn:content-classeserson</g:contentclass>
<eutlookmessageclass>IPM.Contact</eutlookmessageclass>
<ctherstreet>99 Water St</ctherstreet>
<ctherpostofficebox>PO Box 98765</ctherpostofficebox>
<cthercity>SomeTown</cthercity>
<ctherstate>FL</ctherstate>
<ctherpostalcode>12345</ctherpostalcode>
<ctherpostaladdress>otherpostaladdressvalue</ctherpostaladdress>
<cthercountry>USA</cthercountry>
</grop>
</g:set>
</gropertyupdate>
I am trying to create Contact using WEBDAV protocol( implemented in C#).
Without giving 'otherpostaddress' columns, i am able to create contact. If
specify the postal address i am getting the following error
Response
------------
<?xml version="1.0" ?>
<a:multistatus xmlns:b="http://schemas.microsoft.com/exchange/"
xmlns:c="urn:schemas:contacts:"
xmlns:a="DAV:">
<a:response
<a:href>http://testserver/Exchange/kumar/TempContacts/Dobney, JoLynn</a:href>
<aropstat>
<a:status>HTTP/1.1 403 Forbidden</a:status>
<arop>
<ctherpostaladdress />
</arop>
</aropstat>
</a:response>
</a:multistatus>
Input XML:
<?xml version="1.0" ?>
<gropertyupdate xmlns:g="DAV:" xmlns:c="urn:schemas:contacts:"
xmlns:e="http://schemas.microsoft.com/exchange/"
xmlns:mapi="http://schemas.microsoft.com/mapi/" xmlns:x="xml:"
xmlns:cal="urn:schemas:calendar:"
xmlns:mail="urn:schemas:httpmail:">
<g:set>
<grop>
<g:contentclass>urn:content-classeserson</g:contentclass>
<eutlookmessageclass>IPM.Contact</eutlookmessageclass>
<ctherstreet>99 Water St</ctherstreet>
<ctherpostofficebox>PO Box 98765</ctherpostofficebox>
<cthercity>SomeTown</cthercity>
<ctherstate>FL</ctherstate>
<ctherpostalcode>12345</ctherpostalcode>
<ctherpostaladdress>otherpostaladdressvalue</ctherpostaladdress>
<cthercountry>USA</cthercountry>
</grop>
</g:set>
</gropertyupdate>