Jun 14, 2009 8:12 AM
ForumService.getMessageCountByCommunityIDAndFilter() never returning results
No matter what filter I specify, the getMessageCountByCommunityIDAndFilter() operation of the ForumService (SOAP) never returns anything but 0.
I send the following request to the server:
POST /rpc/soap/ForumService HTTP/1.1\r\n
Referer: app:/ForumClient.swf\r\n
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: 1223
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
Cookie: jive.recentHistory=312c3431383938373b312c3434333932333b312c3434343833373b312c3434353332373b312c3434353033373b312c3434343537343b312c3434353433363b312c3434333237323b312c3434343532363b31342c333338313b31342c343132333b31342c
\r\n
<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:getMessageCountByCommunityIDAndFilter
xmlns:tns="http://jivesoftware.com/clearspace/webservices">
<communityID>
3346
</communityID>
<filter>
<creationDateRangeMax>
2009-12-30T23:00:00Z
</creationDateRangeMax>
<creationDateRangeMin>
2008-12-31T23:00:00Z
</creationDateRangeMin>
<moderationRangeMax>
NaN
</moderationRangeMax>
<moderationRangeMin>
NaN
</moderationRangeMin>
<modificationDateRangeMax
xsi:nil="true"/>
<modificationDateRangeMin
xsi:nil="true"/>
<numResults>
NaN
</numResults>
<recursive>
false
</recursive>
<resolutionDateRangeMin>
NaN
</resolutionDateRangeMin>
<resolutionStates
xsi:nil="true"/>
<resolutionnDateRangeMax>
NaN
</resolutionnDateRangeMax>
<sortField>
NaN
</sortField>
<sortOrder>
NaN
</sortOrder>
<startIndex>
NaN
</startIndex>
<tags
xsi:nil="true"/>
<userID>
NaN
</userID>
</filter>
</tns:getMessageCountByCommunityIDAndFilter>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
And the server response it:
HTTP/1.1 200 OK\r\n
Date: Sun, 14 Jun 2009 15:03:54 GMT\r\n
SOAPAction: ""\r\n
Content-Type: text/xml;charset=UTF-8\r\n
Content-Length: 289
Vary: Accept-Encoding,User-Agent\r\n
JP: D=224335 t=1244991834995434\r\n
Keep-Alive: timeout=5, max=100\r\n
Connection: Keep-Alive\r\n
\r\n
<soap:Envelope
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getMessageCountByCommunityIDAndFilterResponse
xmlns:ns1="http://jivesoftware.com/clearspace/webservices">
<return>
0
</return>
</ns1:getMessageCountByCommunityIDAndFilterResponse>
</soap:Body>
</soap:Envelope>
The server should respond with a 12000+ number of messages posted in that community this year. This is on a hosted Cleasrspace 2.5.7.