problem with wscompile (Amazon WS)

From: Artur Caetano <>
Date: Sun, 03 Apr 2005 20:50:30 +0100


I am trying to use wscompile to generate the client stubs for the
current (2005-03-23) WSDL provided by Amazon as follows:

    wscompile -keep -gen:client -d . config-wsdl.xml

where config-wsdl.xml is defined as:

    <?xml version="1.0" encoding="UTF-8"?>

The issue is that I get a stack overflow error while parsing the wsdl
file. I have already tried to increase the stack and memory size of the
jvm up to 1 GB (using -Xss, etc.) but keep getting the same error. The
first lines of the stack dump start with:

            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at java.lang.reflect.Method.invoke(
    Caused by: java.lang.StackOverflowError

Any suggestion on how to generate the stubs for the Amazon WSDL?