I downloaded the axis2 nightly build in order to try the -Ewdc wsdl2java option. When I run the wsdl2java for the StockQuotePrice quicksample and use the -Ewdc option for xmlbeans binding, I get the following errors:

compile.src:
[javac] Compiling 214 source files to c:\swdev\axis2-SNAPSHOT\samples\quickstartxmlbeans\build\service\build\classes [javac] c:\swdev\axis2-SNAPSHOT\samples\quickstartxmlbeans\build\service\src\samples\quickstart\service\xmlbeans\StockQuoteServiceSkeleton.java:40: cannot find symbol
   [javac] symbol  : method getSymbol()
[javac] location: interface samples.quickstart.service.xmlbeans.xsd.UpdateDocument.Update [javac] map.put(param0.getUpdate().getSymbol(), new Double(param0.getUpdate().getPrice()));
   [javac]                                 ^
[javac] c:\swdev\axis2-SNAPSHOT\samples\quickstartxmlbeans\build\service\src\samples\quickstart\service\xmlbeans\StockQuoteServiceSkeleton.java:40: cannot find symbol
   [javac] symbol  : method getPrice()
[javac] location: interface samples.quickstart.service.xmlbeans.xsd.UpdateDocument.Update [javac] map.put(param0.getUpdate().getSymbol(), new Double(param0.getUpdate().getPrice())); [javac] ^ [javac] c:\swdev\axis2-SNAPSHOT\samples\quickstartxmlbeans\build\service\src\samples\quickstart\service\xmlbeans\StockQuoteServiceSkeleton.java:44: cannot find symbol
   [javac] symbol  : method getSymbol()
[javac] location: interface samples.quickstart.service.xmlbeans.xsd.GetPriceDocument.GetPrice [javac] Double price = (Double) map.get(param1.getGetPrice().getSymbol());
   [javac]                                                           ^
[javac] c:\swdev\axis2-SNAPSHOT\samples\quickstartxmlbeans\build\service\src\samples\quickstart\service\xmlbeans\StockQuoteServiceSkeleton.java:54: cannot find symbol
   [javac] symbol  : method setReturn(double)
[javac] location: interface samples.quickstart.service.xmlbeans.xsd.GetPriceResponseDocument.GetPriceResponse
   [javac]         res.setReturn(ret);
   [javac]            ^
   [javac] Note: Some input files use or override a deprecated API.
   [javac] Note: Recompile with -Xlint:deprecation for details.
   [javac] Note: Some input files use unchecked or unsafe operations.
   [javac] Note: Recompile with -Xlint:unchecked for details.
   [javac] 4 errors

BUILD FAILED
c:\swdev\axis2-SNAPSHOT\samples\quickstartxmlbeans\build.xml:77: The following error occurred while executing this line: c:\swdev\axis2-SNAPSHOT\samples\quickstartxmlbeans\build\service\build.xml:50: Compile failed; see the compiler error output for details.

Here's the ant task for running wsdl2java:
<java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true" classpathref="axis2.wl.xmlbeans.classpath">
           <arg line="-uri ${wsdl.uri}"/>
           <arg line="-s"/>
           <arg line="-ss"/>
           <arg line="-sd"/>
           <arg line="-ssi"/>
           <arg line="-ap"/>
<arg line="-ns2p http://quickstart.samples/xsd=samples.quickstart.service.xmlbeans.xsd"/>
           <arg line="-l java"/>
           <arg line="-p samples.quickstart.service.xmlbeans"/>
           <arg line="-d xmlbeans"/>
           <arg line="-o ${build.dir}/service"/>
           <arg line="-Ewdc"/>
       </java>

I don't get any errors, when I remove the -Ewdc option. Do you know what's wrong?

Thanks,
Jonathan


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

Reply via email to