Page 1 of 1

Sending Messages via API - 2 questions

Posted: Mon Feb 09, 2009 10:52 am
by ph1949rst
In the example on p33 of the API Guide, the Content-Length: is 328. Can anyone explain exactly how that is calculated ? The value doesn't seem correct to me, but maybe I'm missing something.
When submitting a similar message for sending, I get a response:
D00002 Error processing provided MIME message.
Can I find out any more detail about what the problem was ? I have upped the SWA logging
to INFO, but can't see anything in the log files relevant to this error. Is there another config setting I should use, or another log file to look in ?
I'm looking at files like /var/opt/scalix/.../tomcat/logs/scalix-api.log, but there's nothing but Java stuff in there.

- and another error msg

Posted: Mon Feb 09, 2009 11:13 am
by ph1949rst
M00013 error while parsing the provided XML data.
This was when submitting the Contact update shown in the API Guide. How to find out what this means ?

Posted: Tue Feb 10, 2009 2:40 pm
by ph1949rst
I fixed the MIME error: the example message on P 33 of the API Guide is missing the blank line that I assume is required after the Content-Length line.
I guess most of my questions are now irrelevant, except I'd still like to know if I could get more details about a problem like this from the log files.