aspose file tools*
The moose likes JBoss/WildFly and the fly likes How can I configure the HTTP proxy for a Web Service client running in JBoss 4? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How can I configure the HTTP proxy for a Web Service client running in JBoss 4?" Watch "How can I configure the HTTP proxy for a Web Service client running in JBoss 4?" New topic
Author

How can I configure the HTTP proxy for a Web Service client running in JBoss 4?

M. Justin
Greenhorn

Joined: Sep 03, 2009
Posts: 16
Using NetBeans 6.8 I managed to write a JAX-WS Web Service client for a service which runs in the Internet.

Within NetBeans, communication through the HTTP firewall works fine.

Now I tried to run the client in a Servlet in JBoss 4.2.3.GA, here the request fails with the message:

HTTP transport error: java.net.UnknownHostException: wwwcie.ups.com

So I guess that the VM which runs the Servlet does not know the proxy. I tried to set the proxy system properties in the Servlet code, and in the standard JBoss configuration file using the PropertiesService - without success.

Many thanks in advance!

p.s. this question also posted on http://stackoverflow.com/questions/2183215/how-can-i-configure-the-http-proxy-for-a-web-service-client-running-in-jboss-4-2


Michael Justin - http://www.habarisoft.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can I configure the HTTP proxy for a Web Service client running in JBoss 4?