• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Another thought, is there a way to test the wsdl through JAVA outside of tomcat?
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic