[ 
http://jira.codehaus.org/browse/XFIRE-797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102483
 ] 

Allard Buijze commented on XFIRE-797:
-------------------------------------

I have encountered this same issue in 1.2.6. If a remote WSDL (http://.....) is 
opened, the imported schema's can't be found.

I've located the problem in the class org.codehaus.xfire.util.Resolver. The 
tryRemote method doesn't accept relative paths

> Imported Schema Not Found Using Dynamic Client
> ----------------------------------------------
>
>                 Key: XFIRE-797
>                 URL: http://jira.codehaus.org/browse/XFIRE-797
>             Project: XFire
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.2.3
>            Reporter: Stephen Duncan Jr
>            Assignee: Dan Diephouse
>            Priority: Critical
>
> Attempting to use the dynamic client to do a simple SOAP call.  The WSDL 
> being used imports a schema for type definitions.  The WSDL builder attempts 
> to load the file from the location the program is run from, rather than from 
> the classpath where the WSDL was located.  Similar to this issue in the 
> generator: http://jira.codehaus.org/browse/XFIRE-374 except for the client 
> instead of the generator.  I notice that the public Client(InputStream is, 
> Class serviceClass) passes null to the readWSDL method for a baseUri.  
> Here's a sample of the calling code:
> Client client = new 
> Client(Thread.currentThread().getContextClassLoader().getResource("Service.wsdl"));

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