Generator does not handle imports correctly
-------------------------------------------

         Key: XFIRE-349
         URL: http://jira.codehaus.org/browse/XFIRE-349
     Project: XFire
        Type: Bug

  Components: Generator  
    Versions: 1.1-beta-1    
 Environment: Ant 1.6.5
JDK 5
Windows 2000
    Reporter: Anders Jacobsson
 Assigned to: Dan Diephouse 
     Fix For: 1.1


When trying use generator on parlayx_terminal_status_service_2_0.wsdl (the 
other *service*.wsdl files fail as well) in the attached WSDL files, it fails 
importing a namespace:

org.codehaus.xfire.XFireRuntimeException: Couldn't find schema for part: 
{http://www.csapi.org/schema/parlayx/terminal_status/v2_0/local}getStatus

The error seems to be caused by an import of parlayx_common_types_2_0.xsd in 
parlayx_terminal_status_types_2_0.xsd. If I move the definition of ServiceError 
from parlayx_common_types_2_0.xsd to parlayx_terminal_status_types_2_0.xsd, 
everything works fine. But since these WSDLs are part of a standard (Parlay/X) 
I cannot do that... :(


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

Reply via email to