Hi,
Seems you have env var CXF_HOME set which still point to an old CXF
version, which will affect the default cxf.classpath, so you actually
still use old cxf version with ant.
Freeman
On 2011-5-5, at 上午1:29, swastb wrote:
HI,
Thanks a lot for the reply. I tried the same thing with CXF 2.3.4.
The
problem of extending Exception class is resolved.its now extending
java.lang.Exception. But when I use the following ant command a
server class
is getting generated which again throws Exception instead of
java.lang.Exception. so we get compile error again.
<target name="cxfWSDLToJava">
<java classname="org.apache.cxf.tools.wsdlto.WSDLToJava"
fork="true">
<arg value="-server"/>
<arg value="-impl"/>
<arg value="-d"/>
<arg value="src"/>
<arg value="Sample.wsdl"/>
<classpath>
<path refid="cxf.classpath"/>
</classpath>
</java>
</target>
--
View this message in context:
http://cxf.547215.n5.nabble.com/Exception-used-as-ComplexType-name-tp4364282p4370533.html
Sent from the cxf-user mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
Connect at CamelOne May 24-26
The Open Source Integration Conference