Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.2.4
-
Fix Version/s: None
-
Component/s: Core
-
Labels:None
-
Environment:WinXP Java 1.5.09
Description
When I pass a WSDL URL to the XFireClientFactoryBean of the format "classpath:...../bla.wsdl" I get an error in the method makeClient() as uri.toURL() throws an IllegalArgumentException("URI is not absolute").
The Resolver resolves the file correctly to a String of the form "file:/d:/..../bla.wsdl" but when the URI object is created (in the method tryClasspath(String) of Resolver) with uri = new URI(URLEncoder.encode(decodedURL, "UTF-8")) URI does not find the scheme (I guess this should be file:/) and therefore thinks its a relative URI.
The problem seems to be the UTF-8 encoding in
This leads to the fact, that the URI Constructor can't extract the scheme and the URI is treated as "not absolute".
I can't understand why the urlString has to be encoded before using it for the URI Constructor.
The problem could be solved for me if remove the encoding. I will attach a patch.
Regards
Nils Eckert