[ http://jira.codehaus.org/browse/XFIRE-888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88555 ]
Steve Kwee commented on XFIRE-888: ---------------------------------- The client is generated with xfire and uses the same JDK as the server: jdk150_b6 JMeter Version is 2.2. The server (tomcat 5.5.20) is listening on localhost port 8080 The proxy is listening on localhost port 8081 (There is a typo in my last comment, 8081 is correct) Everything is running in a eclipse 3.2-WTP-Environment. As stated above, I just implemented the proxy feature for jmeter on thursday and have recorded wonderful traces. On friday I did the upgrade to version 1.2.4 and the proxy feature broke. If you can tell me in which part of the code the decision to use a proxy or not is taken, I could try to debug it myself. > CLONE -Recognize the Java runtime system variable for HTTP proxies > ------------------------------------------------------------------ > > Key: XFIRE-888 > URL: http://jira.codehaus.org/browse/XFIRE-888 > Project: XFire > Issue Type: Improvement > Affects Versions: 1.1-RC1 > Environment: N/A > Reporter: Steve Kwee > Assigned To: Tomasz Sztelak > Fix For: 1.2.4 > > > Currently it seems that the only way to specify a proxy for an XFire client > is by doing it programatically when creating the client: > MySoap client = stub.getMySoap(); > Client http = ((XFireProxy) > Proxy.getInvocationHandler(client)).getClient(); > http.setProperty(CommonsHttpMessageSender.HTTP_PROXY_HOST, "localhost"); > http.setProperty(CommonsHttpMessageSender.HTTP_PROXY_PORT, "8080"); > This means that if you want to be able to transparently set a proxy you'll > have to code some logic to check whether a property is set everywhere you > create a client. A much more convenient way would be if the generated code > from XFire took into account the standard Java environment properties for > setting a proxy (as documented here: > http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html). This would > provide much convenience and flexibility in how to set whether or not to use > an HTTP proxy as explained here: > http://www.rgagnon.com/javadetails/java-0085.html. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email