Davide Gesino wrote:
How can I increase the time before HTTP request expiration?

That's in the client policy on the relevant HTTP conduit. In spring you do it like this:

http://cwiki.apache.org/CXF20DOC/client-http-transport-including-ssl-support.html

In code, something like:

  Client client = ClientProxy.getClient(cxfStub);
  Conduit conduit = client.getConduit();
  HTTPClientPolicy policy = ((HTTPConduit)conduit).getClient();
  if(policy == null) {
    policy = new HTTPClientPolicy();
    ((HTTPConduit)conduit).setClient(policy);
  }

  policy.setReceiveTimeout(...);
  policy.setConnectionTimeout(...);

Ian

--
Ian Roberts               | Department of Computer Science
[EMAIL PROTECTED]  | University of Sheffield, UK

Reply via email to