You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Denis Schlesinger <sc...@ecs-gmbh.de> on 2006/01/11 09:59:19 UTC

[Axis13] Settings for invocation via proxy are cached somewhere

Hi all,
 
I have discovered that the settings I made to invoke a web service via a
proxy server are cached somewhere. When I want to change these values
Axis does not care about that and takes the old values.
 
In my case I implemented a small tool to test the web service invocation
via proxy servers. I used the Java system properties "http.proxyHost"
and "http.proxyPort". After changing the values of these properties Axis
still uses the values which I first put in for these properties.
 
Does anyone have a solution?
 
Any help is highly appreciated!
 
Denis

Re: [Axis13] Settings for invocation via proxy are cached somewhere

Posted by Davanum Srinivas <da...@gmail.com>.
see http://wiki.apache.org/ws/FrontPage/Axis/AxisProxy

On 1/11/06, Denis Schlesinger <sc...@ecs-gmbh.de> wrote:
>
>
> Hi all,
>
> I have discovered that the settings I made to invoke a web service via a
> proxy server are cached somewhere. When I want to change these values Axis
> does not care about that and takes the old values.
>
> In my case I implemented a small tool to test the web service invocation via
> proxy servers. I used the Java system properties "http.proxyHost" and
> "http.proxyPort". After changing the values of these properties Axis still
> uses the values which I first put in for these properties.
>
> Does anyone have a solution?
>
> Any help is highly appreciated!
>
> Denis


--
Davanum Srinivas : http://wso2.com/blogs/

Re: [Axis13] Settings for invocation via proxy are cached somewhere

Posted by Jim Azeltine <ja...@sbcglobal.net>.
Two questions:
  Where are you making the proxy server settings?
  Are you by any chance using JSP's with Apache/Tomcat?

  I found a problem earlier when I changed a class called from a JSP, and the changes didn't show up, even after I bounced Tomcat. Turns out that when the JSP is compiled, it packages the whole thing, including the referenced classes (turns it into a servlet in fact!). Changing a referenced class does not result in a recompile of the JSP. I had to drop the JSP and put it back to make my change go through. I went a little nuts until I figured this out... 8P
   
  Jim
Denis Schlesinger <sc...@ecs-gmbh.de> wrote:
        Hi all,
   
  I have discovered that the settings I made to invoke a web service via a proxy server are cached somewhere. When I want to change these values Axis does not care about that and takes the old values.
   
  In my case I implemented a small tool to test the web service invocation via proxy servers. I used the Java system properties "http.proxyHost" and "http.proxyPort". After changing the values of these properties Axis still uses the values which I first put in for these properties.
   
  Does anyone have a solution?
   
  Any help is highly appreciated!
   
  Denis