[ https://issues.apache.org/jira/browse/AXIS2-5198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160605#comment-13160605 ]
Sagara Gunathunga commented on AXIS2-5198: ------------------------------------------- Please verify your WSDL is valid, if so attach your WSDL to reproduce this error. > org.apache.axis2.wsdl.codegen.CodeGenerationException: > java.lang.RuntimeException: java.lang.reflect.InvocationTargetException > ------------------------------------------------------------------------------------------------------------------------------ > > Key: AXIS2-5198 > URL: https://issues.apache.org/jira/browse/AXIS2-5198 > Project: Axis2 > Issue Type: Bug > Components: wsdl > Reporter: Aditya > Labels: newbie > Fix For: 1.4 > > > log4j:WARN No appenders could be found for logger > (org.apache.axis2.i18n.ProjectResourceBundle). > log4j:WARN Please initialize the log4j system properly. > org.apache.axis2.wsdl.codegen.CodeGenerationException: > java.lang.RuntimeException: java.lang.reflect.InvocationTargetException > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:185) > at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:32) > at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:21) > Caused by: java.lang.RuntimeException: > java.lang.reflect.InvocationTargetException > at > org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:93) > at > org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:140) > ... 2 more > Caused by: java.lang.reflect.InvocationTargetException > 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:324) > at > org.apache.axis2.wsdl.codegen.extension.XMLBeansExtension.engage(XMLBeansExtension.java:83) > ... 3 more > Caused by: java.lang.RuntimeException: org.apache.xmlbeans.XmlException: > error: Use of undefined namespace prefix: s > at > org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:192) > ... 8 more > Caused by: org.apache.xmlbeans.XmlException: error: Use of undefined > namespace prefix: s > at > org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3455) > at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:706) > at > org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:690) > at > org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:677) > at > org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:208) > at org.apache.xmlbeans.XmlObject$Factory.parse(XmlObject.java:632) > at > org.apache.axis2.xmlbeans.CodeGenerationUtility.processSchemas(CodeGenerationUtility.java:136) > ... 8 more > Exception in thread "main" > Java Result: 1 -- 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-unsubscr...@axis.apache.org For additional commands, e-mail: java-dev-h...@axis.apache.org