Bug: Unable to use HTTP Proxy from client stubs
-----------------------------------------------
Key: XFIRE-1107
URL: http://jira.codehaus.org/browse/XFIRE-1107
Project: XFire
Issue Type: Bug
Components: Core
Affects Versions: 1.2.6
Environment: WindowsXP
Java 1.5
commons-httpclient-3.1
Reporter: Adam Bradley
Assignee: Dan Diephouse
Priority: Critical
I've just struck an issue where it would appear XFire cannot use a Proxy.
I've generated Client stubs from a WSDL using the following technique
http://xfire.codehaus.org/Client+and+Server+Stub+Generation+from+WSDL
with the following command
java -cp
xfire-all-1.2.6.jar;lib\ant.jar;lib\jaxb-api-2.0.jar;lib\stax-api-1.0.1.jar;lib\jdom-1.0.jar;lib\jaxb-impl-2.0.1.jar;lib\jaxb-xjc-2.0.1.jar;
lib\wstx-asl-3.2.0.jar;lib\commons-logging-1.0.4.jar;lib\activation-1.1.jar;lib\wsdl4j-1.6.1.jar;lib\XmlSchema-1.1.jar;lib\xfire-jsr181-api-1.0-M1.jar
org.codehaus.xfire.gen.WsGen -wsdl .\examples\live\managedomain2.wsdl -o
examples\live\src -overwrite true
I can use the generated classes happily until I try to access the Web Service
through a Proxy.
I currently set the Proxy values with
public static final String HTTP_PROXY_HOST = "http.proxyHost";
public static final String HTTP_PROXY_PORT = "http.proxyPort";
...
System.getProperties().setProperty( HTTP_PROXY_HOST, "localhost");
System.getProperties().setProperty( HTTP_PROXY_PORT, "3128");
But it refuses to use the Proxy.
Thanks in advance
Adam
--
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