Exception in thread "main" 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
---------------------------------------------------------------------------------------------------------------------------------------------------------

                 Key: AXIS2-3361
                 URL: https://issues.apache.org/jira/browse/AXIS2-3361
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
    Affects Versions: 1.3
         Environment: WINDOWS XP,JDK1.4.2,AXIS2-1.3
            Reporter: Kumar


Hi,
I'm getting errors while generating Java stubs from a WSDL file.
Please let me know How to resolve this issue.
Many ThANKS

Following is the trace:

Retrieving schema at 'InitResponsev1.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/'.
Retrieving schema at 'DataTypes.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/InitResponsev1.xsd'.
Retrieving schema at 'ProcessRequestv1.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/'.
Retrieving schema at 'DataTypes.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/ProcessRequestv1.xsd'.
Retrieving schema at 'InquireVehicleRequestv1.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/'.
Retrieving schema at 'DataTypes.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/InquireVehicleRequestv1.xsd'.
Retrieving schema at 'InquireVehicleResponsev1.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/'.
Retrieving schema at 'DataTypes.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/InquireVehicleResponsev1.xsd'.
Retrieving schema at 'MVOMErrorHandlingv1.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/'.
Retrieving schema at 'oasis-sstc-saml-schema-assertion-1.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/'.
Retrieving schema at 'xmldsig-core-schema.xsd', relative to 
'file:/C:/Temp/Version13.11.2007/oasis-sstc-saml-schema-assertion-1.xsd'.
[DEBUG] Entry: populateAllServices
[DEBUG] mapActionToOperation: Mapping Action to Operation: action: 
http://eu.toyota.com/nmscordering/vehicleordering/v1/vehicleorderingv1/InquireVehicleRequest;
 operation: [EMAIL PROTECTED]
[DEBUG] mapActionToOperation: Mapping Action to Operation: action: 
http://eu.toyota.com/nmscordering/vehicleordering/v1/InquireVehicle; operation: 
[EMAIL PROTECTED]
[DEBUG] SOAP body parts have not been set. All the parts in the message were 
added to the message.
[DEBUG] SOAP body parts have not been set. All the parts in the message were 
added to the message.
[DEBUG] Exit: populateAllServices.
[DEBUG] getBundle(org.apache.axis2,org.apache.axis2.i18n,resource,null,...)
[DEBUG] loadBundle: Ignoring MissingResourceException: Can't find bundle for 
base name org.apache.axis2.resource, locale en_GB
[DEBUG] Created org.apache.axis2.i18n.resource, linked to parent null
[DEBUG] 
getBundle(org.apache.axis2,org.apache.axis2.schema.i18n,resource,null,...)
[DEBUG] loadBundle: Ignoring MissingResourceException: Can't find bundle for 
base name org.apache.axis2.schema.resource, locale en_GB
[DEBUG] loadBundle: Ignoring MissingResourceException: Can't find bundle for 
base name org.apache.axis2.resource, locale en_GB
[DEBUG] Root package not found, cross link to org.apache.axis2.i18n.resource
[DEBUG] Root package not found, cross link to org.apache.axis2.i18n.resource
[DEBUG] Created org.apache.axis2.schema.i18n.resource, linked to parent 
org.apache.axis2.i18n.resource
[DEBUG] 
org.apache.axis2.schema.i18n.resource::handleGetObject(schema.unsupportedcontenterror)
Exception in thread "main" 
org.apache.axis2.wsdl.codegen.CodeGenerationException: 
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:265)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)
Caused by: java.lang.RuntimeException: 
java.lang.reflect.InvocationTargetException
        at 
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:53)
        at 
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGenerationEngine.java:218)
        ... 2 more
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:615)
        at 
org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(SimpleDBExtension.java:50)
        ... 3 more
Caused by: org.apache.axis2.schema.SchemaCompilationException: Unsupported 
content Simple Content !
        at 
org.apache.axis2.schema.SchemaCompiler.copyMetaInfoHierarchy(SchemaCompiler.java:1268)
        at 
org.apache.axis2.schema.SchemaCompiler.processSimpleRestrictionBaseType(SchemaCompiler.java:1481)
        at 
org.apache.axis2.schema.SchemaCompiler.processSimpleContent(SchemaCompiler.java:1379)
        at 
org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1079)
        at 
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:993)
        at 
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
        at 
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
        at 
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
        at 
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
        at 
org.apache.axis2.schema.SchemaCompiler.processComplexContent(SchemaCompiler.java:1126)
        at 
org.apache.axis2.schema.SchemaCompiler.processContentModel(SchemaCompiler.java:1077)
        at 
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:993)
        at 
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
        at 
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:623)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:478)
        at 
org.apache.axis2.schema.SchemaCompiler.process(SchemaCompiler.java:1899)
        at 
org.apache.axis2.schema.SchemaCompiler.processParticle(SchemaCompiler.java:1788)
        at 
org.apache.axis2.schema.SchemaCompiler.processComplexType(SchemaCompiler.java:977)
        at 
org.apache.axis2.schema.SchemaCompiler.processNamedComplexSchemaType(SchemaCompiler.java:914)
        at 
org.apache.axis2.schema.SchemaCompiler.processSchema(SchemaCompiler.java:865)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:518)
        at 
org.apache.axis2.schema.SchemaCompiler.processElement(SchemaCompiler.java:489)
        at 
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:302)
        at 
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:284)
        at 
org.apache.axis2.schema.SchemaCompiler.compile(SchemaCompiler.java:212)
        at 
org.apache.axis2.schema.ExtensionUtility.invoke(ExtensionUtility.java:80)
        ... 8 more


-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to