This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WS UNknownHostException error

 
tony kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to configure WS on WSAD. I am using WSDL file which is refering to external URL for output. When ever i run testresult JSP and give inputs, the output i get is UNKnownHostException www.webservicemart.com
It tries to connect to http://www.webservicemart.com for output but gets an error
Please help me in same.

Regards,
tony
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Javadocs reveal that you get a java.net.UnknownHostException when the system is unable to determine an IP address for the host part of the URL.

Why are you so sure that the host you are specifying is correct?

Bill
 
tony kumar
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bill,

the thing is that i am able to open the referred url through a new browser in WSAD.

Regards,
Tony
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by tony kumar:
the thing is that i am able to open the referred url through a new browser in WSAD.


Is it possible that the browser is already properly configured to use a proxy in the firewall while your web services client isn't?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic