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

pat edited comment on AXIS2-3021 at 11/20/07 1:41 PM:
-------------------------------------------------------------

Amila,

this is not yet working for me. I downloaded the nightly build from 
http://people.apache.org/dist/axis2/nightly/distribution-SNAPSHOT-bin.zip 

and still get the following error:

C:\axis\axis2-SNAPSHOT\bin>wsdl2java.bat -uri http://webservices.amazon.com/AWSE
CommerceService/AWSECommerceService.wsdl
Using AXIS2_HOME:   C:\axis\axis2-1.3
Using JAVA_HOME:    C:\j2sdk1.4.2_05
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(CodeGener
ationEngine.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.InvocationTargetExcepti
on
        at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:53)
        at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.generate(CodeGener
ationEngine.java:218)
        ... 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(DelegatingMethodAcces
sorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.apache.axis2.wsdl.codegen.extension.SimpleDBExtension.engage(Simp
leDBExtension.java:50)
        ... 3 more
Caused by: java.lang.StackOverflowError

Can you please help me out on this?

Thank you very much.

Patrick



  
> java.lang.StackOverflowError when trying to generate code for an Amazon 
> service.
> --------------------------------------------------------------------------------
>
>                 Key: AXIS2-3021
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3021
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>         Environment: Windows XP SP2 / JDK 1.4.12 
>            Reporter: Cristian Ivascu
>            Assignee: Amila Chinthaka Suriarachchi
>
> When trying to invoke WSDL2Java.bat or use the Axis2 code to generate client 
> code for the amazon wsdl 
> (http://webservices.amazon.com/AWSECommerceService/AWSECommerceService.wsdl) 
> I get a java.lang.stackOverflowError message. It seems to go into recursion 
> somewhere when processing the particles for a complex type, in the 
> SchemaCompiler.java class ->processParticle() method.

-- 
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