We've got a user/developer working on an off-line reader for the Forums through webservices and he has run into something that he asked me to ask you about.
Thanks!
John
- - - -
While testing an incremental download for over a year of historic messages through getMessagesByCommunityIDAndFilter() and
getThreadsByCommunityIDAndFilter() the server generates an error for one specific day. Both methods are called with exactly the same filter on modificationDateRangeMax and modificationDateRangeMin. That worked for all messages and threads for 2008, but there is a problem with downloading the messages from a specific day in 2009. The threads for that day work fine. Below are the two invocations and the error (the correct result from the working thread download is not included since it is quite large).
Threads download:
POST /rpc/soap/ForumService HTTP/1.1\r\n
Referer: app:/ForumClient.swf\r\n
[truncated] Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, text/plain;q=0.8, text/css, image/png, image/jpeg, image/gif;q=0.8, application/x-shockwave-flash, video/mp4;q=0.9, flv-application/octet-stream;q=0.8,
x-flash-version: 10,0,12,36\r\n
Content-Type: text/xml; charset=utf-8\r\n
SOAPAction: ""\r\n
Content-Length: 613
User-Agent: Mozilla/5.0 (Windows; U; en-US) AppleWebKit/526.9+ (KHTML, like Gecko) AdobeAIR/1.5\r\n
Host: forums.adobe.com\r\n
Connection: Keep-Alive\r\n
[truncated] Cookie:
jive.recentHistory=312c3435323635353b312c3431383938373b312c3434333932333b312c3434343833373b312c3434353332373b312c3434353033373b312c3434343537343b312c3434353433363b312c3434333237323b312c3434343532363b31342c333236333b3134
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<tns:getThreadsByCommunityIDAndFilter
xmlns:tns="http://jivesoftware.com/clearspace/webservices">
<communityID>
2240
</communityID>
<filter>
<modificationDateRangeMax>
2009-05-09T23:00:00Z
</modificationDateRangeMax>
<modificationDateRangeMin>
2009-05-08T23:00:00Z
</modificationDateRangeMin>
</filter>
</tns:getThreadsByCommunityIDAndFilter>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Message download:
POST /rpc/soap/ForumService HTTP/1.1\r\n
Referer: app:/ForumClient.swf\r\n
[truncated] Accept: text/xml, application/xml, application/xhtml+xml, text/html;q=0.9, text/plain;q=0.8, text/css, image/png, image/jpeg, image/gif;q=0.8, application/x-shockwave-flash, video/mp4;q=0.9, flv-application/octet-stream;q=0.8,
x-flash-version: 10,0,12,36\r\n
Content-Type: text/xml; charset=utf-8\r\n
SOAPAction: ""\r\n
Content-Length: 615
User-Agent: Mozilla/5.0 (Windows; U; en-US) AppleWebKit/526.9+ (KHTML, like Gecko) AdobeAIR/1.5\r\n
Host: forums.adobe.com\r\n
Connection: Keep-Alive\r\n
[truncated] Cookie:
jive.recentHistory=312c3435323635353b312c3431383938373b312c3434333932333b312c3434343833373b312c3434353332373b312c3434353033373b312c3434343537343b312c3434353433363b312c3434333237323b312c3434343532363b31342c333236333b3134
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Body>
<tns:getMessagesByCommunityIDAndFilter
xmlns:tns="http://jivesoftware.com/clearspace/webservices">
<communityID>
2240
</communityID>
<filter>
<modificationDateRangeMax>
2009-05-09T23:00:00Z
</modificationDateRangeMax>
<modificationDateRangeMin>
2009-05-08T23:00:00Z
</modificationDateRangeMin>
</filter>
</tns:getMessagesByCommunityIDAndFilter>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Error message
HTTP/1.1 500 Internal Server Error\r\n
Date: Tue, 21 Jul 2009 20:01:18 GMT\r\n
Content-Type: text/xml;charset=UTF-8\r\n
Content-Length: 227
Vary: Accept-Encoding,User-Agent\r\n
JP: D=235640 t=1248206478026634\r\n
Connection: close\r\n
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>
soap:Server
</faultcode>
<faultstring>
Fault occurred while processing.
</faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>