This week's giveaway is in the Beginning Java forum.
We're giving away four copies of Bad Programming Practices 101 (e-book) and have Karl Beecher on-line!
See this thread for details.
Win a copy of Bad Programming Practices 101 (e-book) this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Greenhorn
Posts: 11
  • 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: 11
  • 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?
 
Bartender
Posts: 19555
90
Android Eclipse IDE 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: 11
  • 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
Bartender
Posts: 19555
90
Android Eclipse IDE 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: 11
  • 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
Bartender
Posts: 19555
90
Android Eclipse IDE 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.
 
This tiny ad is wafer thin:
Why should you try IntelliJ IDEA ?
https://coderanch.com/wiki/696337/IntelliJ-IDEA
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!