users@jax-rpc.java.net

Re: java.net.UnknownHostException: localhost.localdomain

From: Sam <bytecode_at_phreaker.net>
Date: Wed, 28 Dec 2005 10:47:46 -0500

Its because the WSDL contains that as the URL in the service element.
Set the correct URL in the WSDL and it will work.

Also look at the example here
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/

/s



ZhangLin wrote:
> I wrote a web service client application with the Dynamic Proxy method.
> But when running the client application, I got a
> java.net.UnknownHostException: localhost.localdomain. Why this exception
> happened and how to fix it, thanks!
>