title: javax.xml.ws.WebServiceException: It failed with: Connection timed out
body: <p>When try to access a WSDL file from the browser(the URL is <a href="http://10.191.245.96/XXXServer/WorkFlowService?wsdl" rel="nofollow">http://10.191.245.96/XXXServer/WorkFlowService?wsdl</a>), I am able to access that.But, when I try to access the same WSDL file from java code, I am getting the following exception:</p>
  
  <pre><code>javax.xml.ws.WebServiceException: Failed to access the WSDL at: http://10.191.245.96/XXXServer/WorkFlowService?wsdl. It failed with: 
      Connection timed out.
  2015-07-02 04:47:26,055 ERROR [STDERR]  at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.tryWithMex(RuntimeWSDLParser.java:162)
  2015-07-02 04:47:26,055 ERROR [STDERR]  at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:144)
  2015-07-02 04:47:26,055 ERROR [STDERR]  at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:264)
  ...........
  ...............
  Caused by: java.net.ConnectException: Connection timed out
  2015-07-02 04:47:26,063 ERROR [STDERR]  at java.net.PlainSocketImpl.socketConnect(Native Method)
  2015-07-02 04:47:26,063 ERROR [STDERR]  at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
  2015-07-02 04:47:26,063 ERROR [STDERR]  at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
  2015-07-02 04:47:26,063 ERROR [STDERR]  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
  .............
  ..............
  </code></pre>
  
  <p>How to resolve the above problem?</p>