axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sagara Gunathunga (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5317) import and element within types->schema failing
Date Fri, 06 Jul 2012 12:31:35 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13407950#comment-13407950
] 

Sagara Gunathunga  commented on AXIS2-5317:
-------------------------------------------

Great to see this kind of well organized resources for a JIRA issue. I have generated code
successfully using command line tool also managed to build using generated Ant build file.
 

Retrieving document at '/home/gen/sample.wsdl'.
Retrieving schema at 'request.xsd', relative to 'file:/home/gen/sample.wsdl'.
Retrieving schema at 'response.xsd', relative to 'file:/home/gen/sample.wsdl'.
Retrieving schema at 'exceptions.xsd', relative to 'file:/home/gen/sample.wsdl'.
                
> 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.1, 1.6.2
>         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
>              Labels: element, generation, import, schema, types, wsdl2java
>
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message