On Sat, Aug 23, 2008 at 11:57:33AM +0200, Arnout Engelen wrote:
> I'm trying to run the Maven wsdl2code plugin (version 1.4).
> 
> When I invoke this target, I get the following stacktrace:
... 
> WSDLException (at /wsdl:description): faultCode=INVALID_WSDL: Expected 
> element '{http://schemas.xmlsoap.org/wsdl/}definitions'.
... 
> Does wsdl2code not support wsdl 2.0, or am I doing something else wrong?

I checked out the source to the plugin and noticed the 'wsdlVersion'
parameter. Setting that to '2.0' seems to solve the problem.

This doesn't seem to be documented at
http://ws.apache.org/axis2/tools/1_4/maven-plugins/maven-wsdl2code-plugin.html


Arnout

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to