Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Web Service pure java client
Web Service pure java client [message #190532] Wed, 28 March 2007 10:03 Go to next message
Eclipse User
Originally posted by: ouri.poupko.gmail.com

Hi,

I would like to use a web service as a client in a simple java
application. I tried using the Web Service Client wizard but it requires a
server like Tomcat to be installed. Can I create a client that does not
rely on any server and can be simply called from a simple java application?

Thanks,
Ouri.
Re: Web Service pure java client [message #190555 is a reply to message #190532] Wed, 28 March 2007 15:11 Go to previous messageGo to next message
Eclipse User
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi Ouri,

I think the server is only required for running the wizard, but you won't need
it for running your application.

Hope this helps

Wolfgang

Ouri wrote:
> Hi,
>
> I would like to use a web service as a client in a simple java
> application. I tried using the Web Service Client wizard but it requires
> a server like Tomcat to be installed. Can I create a client that does
> not rely on any server and can be simply called from a simple java
> application?
>
> Thanks,
> Ouri.
>
Re: Web Service pure java client [message #190663 is a reply to message #190555] Thu, 29 March 2007 07:50 Go to previous messageGo to next message
Eclipse User
Originally posted by: ouri.poupko.gmail.com

Thanks Wolfgang.

I managed to verify this on a computer that is not behind a firewall. This
convinced me that my original client does not work because of firewall
proxy settings.

I read somewhere that the proxy needs to be defined for the JRE that my
client is using. I tried this in two ways:

1- through "control panel" -> Java -> Open -> General -> "network
settings"
2- through eclipse -> run -> environment (adding http.proxyHost and
http.proxyPort)

Both ways did not help.

Does anyone know how to define proxy settings for java applications
running in eclipse?

Thanks,
Ouri.
Re: Web Service pure java client [message #191127 is a reply to message #190555] Thu, 05 April 2007 12:56 Go to previous message
Chris Brealey is currently offline Chris Brealey
Messages: 104
Registered: July 2009
Senior Member
This is a multipart message in MIME format.
--=_alternative 00470C60852572B4_=
Content-Type: text/plain; charset="US-ASCII"

Ouri,
if you are creating an Apache Axis 1.3 client, then you do not even need
to have Tomcat installed. The Web Service Client wizard supports
generating Axis code into a plain Java project with no installed servers
present. I double checked this using WTP 1.5.3. Note that the story may
differ if using other Web service runtimes.

Thanks - CB.
--=_alternative 00470C60852572B4_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">Ouri,</font>
<br><font size=2 face="sans-serif">if you are creating an Apache Axis 1.3
client, then you do not even need to have Tomcat installed. The Web Service
Client wizard supports generating Axis code into a plain Java project with
no installed servers present. I double checked this using WTP 1.5.3. Note
that the story may differ if using other Web service runtimes.</font>
<br>
<br><font size=2 face="sans-serif">Thanks - CB.</font>
--=_alternative 00470C60852572B4_=--
Previous Topic:[Plugin Dev]Get source folder of the Dynamic Web Project
Next Topic:HTTP or SOAP protocol for Port
Goto Forum:
  


Current Time: Sun Sep 21 16:15:47 GMT 2014

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

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