[Axis2] wsdl2java with WSDL 2.0

Jack Sprat <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <1364244495.69921.YahooMailNeo__13640.2436336086$1364244554$gmane$org@web162806.mail.bf1.yahoo.com>
Does the wsdl2java command work with a version 2.0 WSDL?  I have created a version 2.0 WSDL and validated it with Woden (included with Axis2 1.6.1).  The WSDL also passed validation using Altova XML Spy.  However, an error is thrown when I try to create the code stubs using wsdl2java.  Below is the command:

call %AXIS2_HOME%/bin/WSDL2Java -uri C:\Data\MyWebService\docs\myServiceV2.0.wsdl -p com.mycompany.ws.myservice.producer.gensrc -d xmlbeans -s -ss -sd -ssi -wv 2.0 -o C:\Data\build\myservice

Thanks,
J
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.