Cool, problem solved, thank you so much!

        final Client client = ClientBuilder.newClient();
        // Timeout not covered by client properties, so we go propritary,
but
        // call fails with "Not a valid Client"
        final WebTarget target = client.target(url);
        final Invocation.Builder request = target.request(); // <==== this
fixed "Not a valid Client"
        final HTTPConduit httpConduit = WebClient.getConfig(target).
                getHttpConduit();
        httpConduit.getClient().setReceiveTimeout(7000);
        httpConduit.getClient().setConnectionTimeout(7000);




--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/JAX-RS-POJO-mapping-tp4674454p4674564.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to