users@jersey.java.net

Client side API used for testing services

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 23 Oct 2007 16:00:30 +0200

Hi,

I have just committed a simple HTTP client side API. Currently this API
is a bit raw and undocumented. The short term plan is to use it to
improve testing, i have already modified the LW HTTP server tests to use
this API, and the same API will be used for testing services in-memory,
and in the longer term for client code and server code to be tested in a
container independent manner.

At the moment the source code is under the package:

   com.sun.ws.rest.impl.client [1]

After it has been through a couple of iterations being used as a test
API i plan to move relevant classes/ifaces to the
com.sun.ws.rest.api.client package for general use.

If any of you are feeling adventurous you can try it out in the latest
build [2]. As an example look at the this test [3] (see attached).

Paul.

[1]
https://jersey.dev.java.net/source/browse/jersey/trunk/jersey/src/impl/com/sun/ws/rest/impl/client/
[2]
https://jersey.dev.java.net/servlets/ProjectDocumentList?folderID=7653&expandFolder=7653&folderID=0
[3]
https://jersey.dev.java.net/source/browse/*checkout*/jersey/trunk/jersey/test/com/sun/ws/rest/impl/container/httpserver/AcceptableXMLorJSONTest.java

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109