got it:
PujUserEntity newUser =
wr.path("user").path("create").type(MediaType.APPLICATION_XML).put(PujUserEntity.class,
user);
for this resource:
>
> @POST
> @Produces( { MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
> @Path("create")
> public PujUserEntity create(PujUserEntity user) {
> return userFacade.create(user);
> }