[OGo-Evolution] working mangling daemon allowing basic
OGo-Evolution
Erik Romijn
evolution@opengroupware.org
Thu, 21 Oct 2004 15:10:21 +0200
On Thu, 2004-10-21 at 11:49 +0200, Helge Hess wrote:
> > If ZideStore already supports the PROPPATCH we would just have to find
> > out what exactly has changed that makes ZideStore return a 501.
>
> Exactly.
I'm now looking at the Contacts.
It seems that the connector does use a PUT to send modifications to
contacts. And even better, zidestore can already process that.
Connector sends:
--snip--
PUT /zidestore/public/Contacts/76770.EML HTTP/1.1
Authorization: Basic ZXJpazpFcjM0KjU=
Content-Length: 294
Content-Type: message/rfc822
Host: localhost:1234
Translate: f
User-Agent: Evolution/2.0.1
content-class: urn:content-classes:person
Subject: ajkl hklj
X-MS-Has-Attach: yes
From: Salsa <erik@toltech.nl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Date: Thu, 21 Oct 2004 15:00:41 +0200
Message-Id: <1098363641.19219.1.camel@s003018577431>
Mime-Version: 1.0
--snap--
ZideStore replies to this with a regular HTTP 200 which evolution
accepts.
For inserting a new contact, the connector sends this:
--snip--
PROPPATCH /zidestore/erik/Contacts/a.EML HTTP/1.1
Authorization: Basic ZXJpazpFcjM0KjU=
Brief: t
Content-Length: 808
Content-Type: text/xml
Host: localhost:1234
If-None-Match: *
User-Agent: Evolution/2.0.1
<?xml version="1.0" encoding="utf-8" ?><D:propertyupdate xmlns:D="DAV:"
xmlns:c="http://schemas.microsoft.com/exchange/"
xmlns:g="http://schemas.microsoft.com/mapi/"
xmlns:f="urn:schemas:contacts:" xmlns:a="urn:schemas:httpmail:"
xmlns:b="http://schemas.microsoft.com/mapi/proptag/"
xmlns:h="http://schemas.microsoft.com/mapi/id/{00062004-0000-0000-C000-000000000046}/" xmlns:T="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/">
<D:set><D:prop>
<c:outlookmessageclass>IPM.Contact</c:outlookmessageclass><g:sideeffects>16</g:sideeffects><f:fileas>a</f:fileas><a:subject>a</a:subject><g:sensitivity>0</g:sensitivity><f:givenName>a</f:givenName><b:x10800003>512</b:x10800003><h:0x00008025 T:dt="boolean">0</h:0x00008025><g:emaillisttype>0</g:emaillisttype><f:cn>a</f:cn>
</D:prop></D:set>
</D:propertyupdate>
--snap--
ZideStore replies this:
--snip--
HTTP/1.1 501 Method Not Implemented
Connection: close
Content-Length: 211
Date: Thu, 21 Oct 2004 12:55:10 GMT
Server: Microsoft-IIS/5.0
content-type: text/html; charset="iso-8859-1"
<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<body><h3>An error occured during object publishing</h3><p>object
creation not available on this object</p></body>
</html>
--snap--
Actually I have no idea where to look for the source of this error.
Difficulty here is that I don't have any other examples from which I can
read the correct format of the request. Do you see anything that is
likely not to be accepted by ZideStore?
Greetings,
Erik