It works, thanks a lot Cory! 

-----Urspr�ngliche Nachricht-----
Von: Cory Wilkerson [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 14. Februar 2003 17:48
An: [EMAIL PROTECTED]
Betreff: RE: Invoke Web Service from behind a Firewall


Set the system properties for your proxy host and proxy port.

System.setProperty("http.proxyPort", "XXX");
System.setProperty("http.proxyHost", "XXX.XXX.XXX.XXX");

Cory


-----Original Message-----
From: Mark Uhlemann [mailto:[EMAIL PROTECTED]]
Sent: Friday, February 14, 2003 10:42 AM
To: '[EMAIL PROTECTED]'
Subject: Invoke Web Service from behind a Firewall


Hi all!

I have a problem concening invoking public Web Services from inside a
corporate network (and of course a firewall). The only possibility to access
the Internet is via a proxy server and I don't have a clue how to tell my
Java client to invoke the Service via this proxy. 

I already constructed the Stubs and ServiceLocators with the WSDL2Java Tool
and wrote a client utilizing that stuff, but I cannot reach the Service
because of the problem mentioned above.

Anybody who had similar problems?

Your help is greatly appreciated!
THX

Mark

Reply via email to