John Patrick created AXIS2-5317:
-----------------------------------

             Summary: import and element within types->schema failing
                 Key: AXIS2-5317
                 URL: https://issues.apache.org/jira/browse/AXIS2-5317
             Project: Axis2
          Issue Type: Bug
          Components: codegen, wsdl
    Affects Versions: 1.6.2, 1.6.1
         Environment: $ java -version
java version "1.6.0_31"
Java(TM) SE Runtime Environment (build 1.6.0_31-b04-415-10M3635)
Java HotSpot(TM) 64-Bit Server VM (build 20.6-b01-415, mixed mode)
$ mvn -version
Apache Maven 3.0.4 (r1232337; 2012-01-17 08:44:56+0000)
Maven home: /opt/local/share/java/maven3
Java version: 1.6.0_31, vendor: Apple Inc.
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Default locale: en_US, platform encoding: MacRoman
OS name: "mac os x", version: "10.6.8", arch: "x86_64", family: "mac"
$ 
            Reporter: John Patrick


I've been given a live wsdl where I'm working and wsdl2java is unable to 
generate the java code. I'm using the maven plugin but I also get the same from 
the command line.

>From my understanding the wsdl is valid, but if you have both import and 
>element within schema it appears like it doesn't merge the element into the 
>import.

Files can be found at https://gist.github.com/2652903

Put the xsd's and wsdl into src/main/resource relative to the pom.xml and the 
"mvn clean install" will show the error.

For a console log of my error, see 
https://gist.github.com/2652903#file_console.log


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to