It looks like:
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-rs-client</artifactId>
<version>3.0.3</version>
<scope>test</scope>
</dependency>
does the trick, now I can
javax.ws.rs.client.ClientBuilder.newClient().target(....) and have
implementation agnostic JAX-RS testing. It even plays nicely with
Arquillian, whereas jboss resteasy's 2.0 client didn't.
THANKS
On Sat, Jan 24, 2015 at 3:21 PM, Romain Manni-Bucau
<[email protected]> wrote:
> Hi
>
>
> TomEE 2 already packages CXF one.
>
> For tests I like to use CXF client - even if not portable - cause you
> can go from proxy to HTTP pretty easily and it makes code really
> easier than having to stick on string (path, param name etc...).
>
>
>
> Romain Manni-Bucau
> @rmannibucau
> http://www.tomitribe.com
> http://rmannibucau.wordpress.com
> https://github.com/rmannibucau
>
>
> 2015-01-24 21:16 GMT+01:00 jieryn <[email protected]>:
>> What is the preferred Apache / Apache TomEE dependency to start using
>> JAX-RS 2.0 Client API?
>>
>> I want to write tests using the 2.0 client code without hard depending
>> on specific implementation (currently Apache Wink).