Resolver resolves classpath resources incorrect
-----------------------------------------------

                 Key: XFIRE-857
                 URL: http://jira.codehaus.org/browse/XFIRE-857
             Project: XFire
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.4
         Environment: WinXP Java 1.5.09
            Reporter: Philippe Jacot
         Assigned To: Dan Diephouse


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.

-- 
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

Reply via email to