title: Can I globally set the timeout of HTTP connections?
body: <p>I have a program that uses <code>javax.xml.ws.Service</code> to call a remote service defined by a WSDL. This program runs on the Google App Engine which, by default, sets the HTTP connection timeout to <code>5</code> seconds{1}. I need to increase this timeout value since this service often takes a long time to respond, but since this request is not being made with <code>URLConnection</code>, I cannot figure out how to call <code>URLConnection.setReadTimeout(int)</code>{2}, or otherwise change the timeout. </p>
  
  <p>Is there any way to globally set the HTTP connection timeout on the App Engine? And, for purposes of sharing knowledge, how would one go about solving this sort of problem generally?</p>
  
  <p>{1}: <a href="https://developers.google.com/appengine/docs/java/urlfetch/overview#Requests">https://developers.google.com/appengine/docs/java/urlfetch/overview#Requests</a></p>
  
  <p>{2}: <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URLConnection.html#setReadTimeout%28int%29">http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URLConnection.html#setReadTimeout(int)</a></p>