WSDL2java not generating all the classes when a WSDL file imports another WSDL 
file
-----------------------------------------------------------------------------------

                 Key: AXIS2-4622
                 URL: https://issues.apache.org/jira/browse/AXIS2-4622
             Project: Axis2
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.5.1
         Environment: Windows XP
            Reporter: Mike Margozzi


I have a WSDL file. If I run it through WSDL2Java it generates code just fine 
for all the expected classes.

If i create another WSDL file, and if all I have that WSDL file do is to import 
the previous one, then WSDl2Java
fails to create all the files. No error message is generated at all.

Ex:
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2010 (http://www.altova.com) by Mike Margozzi (Quantum 
Corporation) -->
<wsdl:description targetNamespace="http://localhost:8080/dxi/ws"; 
xmlns:wsdl="http://www.w3.org/ns/wsdl";>
        <wsdl:import namespace="http://localhost:8080/dxi/ws/rep"; 
location="DxiReplication.wsdl"/>
</wsdl:description>

My plan is to have a main WSDL that does nothing but aggregate multiple WSDl 
files together. This allows
me to be more modular in my design.

XMLSpy says the WSDL with the import is "valid". 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to