axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Poetter (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-3954) WSDL2Java generates "staticabstract" instead of "static abstract" in case of inheritance hierarchies
Date Thu, 31 Jul 2008 16:10:33 GMT
WSDL2Java generates "staticabstract" instead of "static abstract" in case of inheritance hierarchies
----------------------------------------------------------------------------------------------------

                 Key: AXIS2-3954
                 URL: https://issues.apache.org/jira/browse/AXIS2-3954
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.4
         Environment: Windows XP SP3
            Reporter: Thomas Poetter
            Priority: Blocker


WSDL2Java generates "staticabstract" instead of "static abstract" in case of inheritance hierarchies.

This bug can be manually addressed by manually inserting a blank into "staticabstract" so
that it becomes "static abstract".

C:\Program Files\Java\axis2-1.3\bin>WSDL2Java.bat -uri C:\AIS\AISNewlyModeledSecureClientService\wsdl-schemata\AccountInforma
0-acc-ws-policy-local-files3.wsdl -p com.commerzbank.ais.AISNewlyModeledSecureClientService
-o C:\AIS\Wsdl2java_Test
Using AXIS2_HOME:   C:\Program Files\Java\axis2-1.3
Using JAVA_HOME:    C:\Program Files\Java\jdk1.5.0_15
Retrieving schema at 'file:///C:/AIS/schemata/InterActive-core-v1.0-local-files.xsd', relative
to 'file:/C:/AIS/AISNewlyModel
ureClientService/wsdl-schemata/'.
Retrieving schema at 'file:///C:/AIS/schemata/xenc-schema-local-files.xsd', relative to 'file:/C:/AIS/schemata/InterActive-co
.0-local-files.xsd'.
Retrieving schema at 'file:///C:/AIS/schemata/xmldsig-core-schema.xsd', relative to 'file:/C:/AIS/schemata/xenc-schema-local-
.xsd'.
Retrieving schema at 'file:///C:/AIS/schemata/InterActive-accountinformation-v1.0.xsd', relative
to 'file:/C:/AIS/AISNewlyMod
ecureClientService/wsdl-schemata/'.
Retrieving schema at 'file:///C:/AIS/schemata/pain.001.001.01.xsd', relative to 'file:/C:/AIS/AISNewlyModeledSecureClientServ
sdl-schemata/'.
Retrieving schema at 'file:///C:/AIS/schemata/InterActive-common-v1.0.xsd', relative to 'file:/C:/AIS/AISNewlyModeledSecureCl
ervice/wsdl-schemata/'.
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:753:16:
unexpect
ken: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.classField(InternalJavaParser.java:3119)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.classBlock(InternalJavaParser.java:2457)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.classDefinition(InternalJavaParser.java:710)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:632)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:11860:16:
unexpe
token: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:660)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:13339:16:
unexpe
token: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:660)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:17821:16:
unexpe
token: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:660)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:32039:16:
unexpe
token: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:660)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Terminate batch job (Y/N)? y


C:\Program Files\Java\axis2-1.4\bin>WSDL2Java.bat -uri C:\AIS\AISNewlyModeledSecureClientService\wsdl-schemata\AccountInforma
0-acc-ws-policy-local-files3.wsdl -p com.commerzbank.ais.AISNewlyModeledSecureClientService
-o C:\AIS\Wsdl2java_Test
Using AXIS2_HOME:   C:\Program Files\Java\axis2-1.3
Using JAVA_HOME:    C:\Program Files\Java\jdk1.5.0_15
Retrieving schema at 'file:///C:/AIS/schemata/InterActive-core-v1.0-local-files.xsd', relative
to 'file:/C:/AIS/AISNewlyModel
ureClientService/wsdl-schemata/'.
Retrieving schema at 'file:///C:/AIS/schemata/xenc-schema-local-files.xsd', relative to 'file:/C:/AIS/schemata/InterActive-co
.0-local-files.xsd'.
Retrieving schema at 'file:///C:/AIS/schemata/xmldsig-core-schema.xsd', relative to 'file:/C:/AIS/schemata/xenc-schema-local-
.xsd'.
Retrieving schema at 'file:///C:/AIS/schemata/InterActive-accountinformation-v1.0.xsd', relative
to 'file:/C:/AIS/AISNewlyMod
ecureClientService/wsdl-schemata/'.
Retrieving schema at 'file:///C:/AIS/schemata/pain.001.001.01.xsd', relative to 'file:/C:/AIS/AISNewlyModeledSecureClientServ
sdl-schemata/'.
Retrieving schema at 'file:///C:/AIS/schemata/InterActive-common-v1.0.xsd', relative to 'file:/C:/AIS/AISNewlyModeledSecureCl
ervice/wsdl-schemata/'.
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:753:16:
unexpect
ken: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.classField(InternalJavaParser.java:3119)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.classBlock(InternalJavaParser.java:2457)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.classDefinition(InternalJavaParser.java:710)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:632)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:11860:16:
unexpe
token: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:660)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:13339:16:
unexpe
token: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:660)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:17821:16:
unexpe
token: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:660)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
[ERROR] PARSER_ERROR
C:\AIS\Wsdl2java_Test\src\com\commerzbank\ais\AISNewlyModeledSecureClientService\AccountInformationStub.java:32039:16:
unexpe
token: staticabstract
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinitionInternal(InternalJavaParser.java:660)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.typeDefinition(InternalJavaParser.java:465)
        at de.hunsicker.jalopy.language.antlr.InternalJavaParser.parse(InternalJavaParser.java:296)
        at de.hunsicker.jalopy.language.JavaRecognizer.parse(JavaRecognizer.java:588)
        at de.hunsicker.jalopy.Jalopy.parse(Jalopy.java:1212)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1044)
        at de.hunsicker.jalopy.Jalopy.format(Jalopy.java:1017)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at org.apache.axis2.util.PrettyPrinter.prettify(PrettyPrinter.java:89)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettifyFile(JavaPrettyPrinterExtension.java:66
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:46)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.JavaPrettyPrinterExtension.prettify(JavaPrettyPrinterExtension.java:50)
        at org.apache.axis2.wsdl.codegen.extension.AbstractPrettyPrinterExtension.engage(AbstractPrettyPrinterExtension.java:
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:259)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Terminate batch job (Y/N)?
^C
C:\Program Files\Java\axis2-1.4\bin>

As a result, functions like these are incorrectly generated by AXIS2:

        public staticabstract class ServiceRequestBodyAbstractType extends ServiceBodyAbstractType
        implements org.apache.axis2.databinding.ADBBean{
        /* This type was generated from the piece of schema that had
                name = ServiceRequestBodyAbstractType
                Namespace URI = http://www.XXX.com/yyy/schemas/core/v1.0/
                Namespace Prefix = ns3
                */

    public static class Factory{ ...}
The member type Factory cannot be declared static; static types can only be declared in static
or top level types


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


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message