Hey thanks dims... is gump back up? What prompted you to fix this?

[EMAIL PROTECTED] wrote:

dims 2003/12/26 08:57:51

Modified: src/java/org/apache/xmlrpc CommonsXmlRpcTransport.java
Log:
constructor URI(URL url) is no longer present in httpclient's URI.java
Revision Changes Path
1.2 +2 -2 ws-xmlrpc/src/java/org/apache/xmlrpc/CommonsXmlRpcTransport.java
Index: CommonsXmlRpcTransport.java
===================================================================
RCS file: /home/cvs/ws-xmlrpc/src/java/org/apache/xmlrpc/CommonsXmlRpcTransport.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- CommonsXmlRpcTransport.java 16 Mar 2003 06:56:54 -0000 1.1
+++ CommonsXmlRpcTransport.java 26 Dec 2003 16:57:51 -0000 1.2
@@ -105,7 +105,7 @@
method.setRequestHeader(userAgentHeader);
// TODO: authentication not implemented yet
method.setRequestBody(new ByteArrayInputStream(request));
- URI hostURI = new URI(url);
+ URI hostURI = new URI(url.toString());
HostConfiguration hostConfig = new HostConfiguration();
hostConfig.setHost(hostURI);
client.executeMethod(hostConfig, method);



Reply via email to