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.

Reply via email to