I found out what the problem is.

If you specify an option that is defined in class WSDL2, the option won't get included because the "options" field being referred to is in the class WSDL2Java, not WSDL2.

Working on a patch ...

On 2/27/06, Chris Burnley <[EMAIL PROTECTED]> wrote:
Actually, this doesn't work ( well it stops that particular problem, but it causes the command line options to be displayed )


On 2/27/06, Chris Burnley < [EMAIL PROTECTED]> wrote:
Hi, I'm getting an ArrayStoreException in WSDL2JavaMojo.java because the Integer timeout is not being converted to a String.

It should be fixed by replacing :

        if ( timeout != null ) 
{

argsList.add( "-O" );

argsList.add( timeout );
}

with

if ( timeout != null )
{
argsList.add( "-O" );

argsList.add( timeout.toString() );

}

regards,

Chris Burnley




Reply via email to