This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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/
 
Consider Paul's rocket mass heater.
 
subject: How can I configure the HTTP proxy for a Web Service client running in JBoss 4?
 
Similar Threads
accessing a web service from behind a firewall using wsad
Hessian in Jboss
Steps for creating Remote Java WebServices in eclipse
Java Web Service
Problems with a project with Netbeans