Hi Anthony,

It's a known bug.  It is fixed in the Snapshot release.

Dustin


On 02/16/2010 10:32 PM, [email protected] wrote:
> Hi
>
> I've just upgraded from Restlet 2.0m4 to 2.0m7, apart from a few API changes 
> I have no problems upgrading.
>
> I'm using the Restlet JAXRS Extension on my Server.
>
> When I run my unit test, the ones when client sends QueryParms to the server 
> they all failed.
>
> This is an example of my client test code;
>
> String uri = BASE_URI + "?startRow=100&rowCount=100";
>
> // Invoke the web service
> ClientResource clientResource = new ClientResource(uri);
>               
> String resultSetXML = clientResource.get().getText();
>
> // should get an OK response
> assertTrue(clientResource.getStatus().isSuccess()); //FAILED
>
>
> On the server the QueryParams startRow=100&rowCount=100 are missing. But when 
> I type the same URI into IE everything works perfectly and my server can read 
> those QueryParams.
>
> So my question is, did the client restlet API changed and this is intended? 
> Or there's a bug somewhere?
>
> I'm happy to do further investigation if this is unintended or provide 
> further details if required.
>
> Regards,
> Anthony Xiao
>
> ------------------------------------------------------
> http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2448250
>    

-- 


Dustin N. Jenkins | Tel/Tél: 250.363.3101 | [email protected]

facsimile/télécopieur: (250) 363-0045

National Research Council Canada | 5071 West Saanich Rd, Victoria BC. 
V9E 2E7

Conseil national de recherches Canada | 5071, ch. West Saanich, Victoria 
(C.-B) V9E 2E7

Government of Canada | Gouvernement du Canada

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2448416

Reply via email to