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
Assigned To: 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