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


Using NetBeans 6.8, I managed to write a JADS-Web service customer for the Internet running service.

Communication works well via HTTP firewall, within NetBens.

Now I tried to run the client in a service in Jebus 4.2.3.Ga, here the request message fails:

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

So I think the VM proxy running the Servlet does not know I will try to set proxy system properties in the servlet code, but maybe There is also a way to enter the standard JBoss configuration file.

I remember the https in service URL (error message not only protocol portion, but server name only) Done

Required changes are simple, two https (http no!) Proxy properties in the PropertiesService configuration file on default / deploy / properties-service.xml

Set
  & lt; Attribute name = "attribute" & gt; ... https.proxyHost = ... https.proxyPort = ... & lt; / Attribute & gt;  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -