Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Tomcat not able to access wsdl; while IE can access wsdl;

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, all!   I am getting the time out message below.  However, I can bring the wsdl page up in IE.  Is there a reason why Tomcat/Java would not be able to connect to the url while IE can?  I have also tried setting a proxy in JAVA network settings with no luck.   *Tomcat works fine if I remove the url.

 
Quincy Schmidt
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another thought, is there a way to test the wsdl through JAVA outside of tomcat?
 
Saloon Keeper
Posts: 22248
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error message says it timed out looking for URL 'https://"URL".com/input/v1?wsdl'

That's not a valid URL. You need to put in the same servername that you used with IE.
 
Quincy Schmidt
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Holloway wrote:The error message says it timed out looking for URL 'https://"URL".com/input/v1?wsdl'

That's not a valid URL. You need to put in the same servername that you used with IE.



Lol yeah.. I removed the actually url since this is a public forum..
 
Tim Holloway
Saloon Keeper
Posts: 22248
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's still a timeout message. Which means that either the URL is wrong, there's a firewall problem, or the remote server is down.
 
Quincy Schmidt
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Tim Holloway wrote:It's still a timeout message. Which means that either the URL is wrong, there's a firewall problem, or the remote server is down.



It would seem that way.. However, the exact same url (copy and pasted) into IE brings up a wsdl page.  The server is using a proxy.. Maybe I need to configure the proxy in tomcat?
 
Tim Holloway
Saloon Keeper
Posts: 22248
151
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the server using a proxy, or is the IE client using a proxy? Technically, it's a reverse proxy when a server is fronted by a proxy server, by the way.

If the Tomcat server needs to reference a proxy when its webapp is behaving as a client, then yes, it would have to be pointed to that proxy. For straight command-line use, that's normally done by setting environment variables. I'm not sure about where to set it in a webapp, although it's probably available as an option on the HttpURLConnection class.
 
What does a metric clock look like? I bet it is nothing like this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic