Skip to main content



      Home
Home » Language IDEs » ServerTools (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 08:27 Go to next message
Eclipse UserFriend
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 11:26 Go to previous messageGo to next message
Eclipse UserFriend
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 12:01 Go to previous message
Eclipse UserFriend
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: Fri Jul 25 20:44:29 EDT 2025

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

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

Back to the top