Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
M. Justin
Greenhorn
Posts: 18
Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic