A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Products
»
JBoss
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: 15
posted
Feb 02, 2010 15:10:33
0
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://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: How can I configure the HTTP proxy for a Web Service client running in JBoss 4?
Similar Threads
Problems with a project with Netbeans
Hessian in Jboss
Java Web Service
Steps for creating Remote Java WebServices in eclipse
accessing a web service from behind a firewall using wsad
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter