Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » How to get right hostname instead of "localhost" in a generated WSDL?
How to get right hostname instead of "localhost" in a generated WSDL? [message #169827] Tue, 23 May 2006 12:27 Go to next message
Eclipse User
Originally posted by: richard.cambio.se

Hello all!
I have a sall problem: when I generate a webservice from a Java class
the WSDL that gets generated contains the row
<wsdlsoap:address
location="http://localhost:8080/EchoWS/services/EchoService"/>
which when deployed to my Tomcat 5.5 makes it impossible for clients to
connect to the service as localhost of course points back to the client.
Which setting schould I change for the WSDL to be generated with a
hostname instead of localhost?
Regards,
Richard
Re: How to get right hostname instead of "localhost" in a generated WSDL? [message #169906 is a reply to message #169827] Tue, 23 May 2006 15:26 Go to previous messageGo to next message
Lawrence Mandel is currently offline Lawrence Mandel
Messages: 486
Registered: July 2009
Senior Member
Hi Richard,

I don't think there is a setting for this. To change the endpoint you
should simply enter the correct endpoint into the WSDL file after it is
generated. It is generated with localhost to allow for easy testing on
your local machine during development.

Lawrence
Re: How to get right hostname instead of "localhost" in a generated WSDL? [message #171869 is a reply to message #169906] Wed, 21 June 2006 16:01 Go to previous message
Chris Brealey is currently offline Chris Brealey
Messages: 104
Registered: July 2009
Senior Member
Richard,
updating the host name from the [Tomcat] Server editor should accomplish
this, but I've tried it and it isn't doing the trick. I'll dig into this a
bit. Meanwhile, please feel welcome to open a bug.

Cheers - CB.

lmandel@ca.ibm.com wrote:

> Hi Richard,
>
> I don't think there is a setting for this. To change the endpoint you
> should simply enter the correct endpoint into the WSDL file after it is
> generated. It is generated with localhost to allow for easy testing on
> your local machine during development.
>
> Lawrence
Previous Topic:Webservice Client Problem with vectors / deserialization
Next Topic:Interoperability JAVA / .NET
Goto Forum:
  


Current Time: Wed Oct 22 12:27:15 GMT 2014

Powered by FUDForum. Page generated in 0.01789 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software