otherpostaladdress - Error

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>
<a:propstat>
<a:status>HTTP/1.1 403 Forbidden</a:status>
<a:prop>
<c:eek:therpostaladdress />
</a:prop>
</a:propstat>
</a:response>
</a:multistatus>




Input XML:


<?xml version="1.0" ?>
<g:propertyupdate 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>
<g:prop>
<g:contentclass>urn:content-classes:person</g:contentclass>
<e:eek:utlookmessageclass>IPM.Contact</e:eek:utlookmessageclass>
<c:eek:therstreet>99 Water St</c:eek:therstreet>
<c:eek:therpostofficebox>PO Box 98765</c:eek:therpostofficebox>
<c:eek:thercity>SomeTown</c:eek:thercity>
<c:eek:therstate>FL</c:eek:therstate>
<c:eek:therpostalcode>12345</c:eek:therpostalcode>
<c:eek:therpostaladdress>otherpostaladdressvalue</c:eek:therpostaladdress>
<c:eek:thercountry>USA</c:eek:thercountry>
</g:prop>
</g:set>
</g:propertyupdate>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top