This content has been marked as final.
Show 3 replies
-
1. Re: error when using wsgen to generet wsdl
poweron Sep 5, 2008 6:47 AM (in response to emailmsgbox)I have got the same issue. Have anybody found a solution?
-
2. Re: error when using wsgen to generet wsdl
josief Sep 24, 2009 4:00 AM (in response to emailmsgbox)The topic was sleeping but I had the same issue and I found this solution, using wsgen as an ant task:
The problem was the classpath. This is my wsgen task: -
3. Re: error when using wsgen to generet wsdl
josief Sep 24, 2009 4:01 AM (in response to emailmsgbox)<target name="build-server-java" description="Generate the WSDL files for the webservices" depends="compile"> <taskdef name="wsgen" classname="com.sun.tools.ws.ant.WsGen"> <classpath refid="build.classpath" /> </taskdef> <wsgen genwsdl="true" keep="true" verbose="true" destdir="${wsdl.dir}" sei="yourPackage.YourClass"> <classpath> <pathelement path="${lib.dir}/ejb-api.jar"/> <pathelement path="${lib.dir}/jboss-seam.jar"/> <path location="${jar.dir}" /> </classpath> </wsgen> </target>