I can use wstools to generate jaxrpc-mapping and webservices.xml, but the inverse is not true. I can't use the wstool to generate java stubs from wsdl, even if the wsdl is produced by wstools itself. I used following instead. This tool even generated cactus testcase for me. It comes with axis. and The last line of WSDL,soap:address location=' ' should be changed to actual endpoint address. I am also a new learner, may be so sorry for misleading.
| <taskdef name="wsdl2java" classname="org.apache.axis.tools.ant.wsdl.Wsdl2javaAntTask" classpathref="axis.classpath"/> | | <target name="commandline"> | <mkdir dir="src/ws-gen/src"/> | <wsdl2java all="true" debug="false" helperGen="true" | noimports="false" | | output="src/" | serverside="false" skeletonDeploy="false" testcase="true" | typeMappingVersion="1.1" | url="file:///E:/files/jBossProject/WebService/src/WEB-INF/wsdl/vondarService.wsdl" | verbose="false" noWrapped="false" > | <mapping namespace="http://vondart.org/webService/rpcstyle" package="webService.generated"/> | </wsdl2java> | | | </target> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967431#3967431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967431 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user