Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JSP Client
JSP Client [message #161426] Tue, 21 February 2006 19:25 Go to next message
Eclipse UserFriend
Originally posted by: kcrosson.simventions.com

I have a web service that runs on a different server. I have generated a
JSP client from a WSDL that I would like to run the web service from
within Eclipse. How do I connect the JSP client to the unique IP address
of the outside server instead of the localhost server used within Eclipse?
Additionally, I was able to run the web service using the Web Services
Explorer within Eclipse. However, this method will not allow for proper
editing of the code contained within the client shell. Any advice or input
would be greatly appreciated.
Re: JSP Client [message #161662 is a reply to message #161426] Wed, 22 February 2006 19:18 Go to previous message
Ben Sisson is currently offline Ben SissonFriend
Messages: 202
Registered: July 2009
Senior Member
I changed the IP address within the Locator file for the source code
generated when creating the JSP file from the WSDL of the Web service to
match the IP address of the deployed Web Service on the other server.
Though the IP address was changed. when I would go to launch the JSP
client, Right click on TestClient.jsp->Run As->Run on Server the initial
default option is the localhost Tomcat v5.5 Server@localhost. I tried to
manually define a new server but could not define another one on at a
differnt IP address. I tried to define a new server and couldn't define
another one at a different IP address.

I know that there should be a way, when I create a Java client using the
wsdl2java plugin, I can change the server that the client accesses by
simply changing the IP address in the Locator.java file. I would have
expected this to be as simple as well.

I hope this helps and if anyone else has any information it would be
greatly appreciated.

Thanks,
Ben
Previous Topic:xml parsing innovation
Next Topic:Publishing to Tomcat .. keeps on running
Goto Forum:
  


Current Time: Thu Apr 25 09:43:24 GMT 2024

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

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

Back to the top