Author: ningjiang Date: Thu Oct 9 23:10:08 2008 New Revision: 703330 URL: http://svn.apache.org/viewvc?rev=703330&view=rev Log: Merged revisions 703328 via svnmerge from https://svn.apache.org/repos/asf/cxf/branches/2.1.x-fixes
................ r703328 | ningjiang | 2008-10-10 14:03:04 +0800 (Fri, 10 Oct 2008) | 9 lines Merged revisions 703324 via svnmerge from https://svn.apache.org/repos/asf/cxf/trunk ........ r703324 | ningjiang | 2008-10-10 13:51:41 +0800 (Fri, 10 Oct 2008) | 1 line CXF-1842 added an example to show how to publish the WSDL first endpoints from spring ........ ................ Added: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/src/demo/hw/client/SpringClient.java - copied unchanged from r703328, cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/wsdl_first/src/demo/hw/client/SpringClient.java cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/src/demo/hw/client/client-beans.xml - copied unchanged from r703328, cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/wsdl_first/src/demo/hw/client/client-beans.xml cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/src/demo/hw/server/SpringServer.java - copied unchanged from r703328, cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/wsdl_first/src/demo/hw/server/SpringServer.java cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/src/demo/hw/server/server-beans.xml - copied unchanged from r703328, cxf/branches/2.1.x-fixes/distribution/src/main/release/samples/wsdl_first/src/demo/hw/server/server-beans.xml Modified: cxf/branches/2.0.x-fixes/ (props changed) cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/build.xml Propchange: cxf/branches/2.0.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt?rev=703330&r1=703329&r2=703330&view=diff ============================================================================== --- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt (original) +++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/README.txt Thu Oct 9 23:10:08 2008 @@ -52,7 +52,11 @@ ant server (from one command line window) ant client (from a second command line window) - + + You can also publish or consumer the demo webservice from spring + + ant spring.server (from one command line window) + ant spring.client (from a second command line window) To remove the code generated from the WSDL file and the .class files, run "ant clean". Modified: cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/build.xml URL: http://svn.apache.org/viewvc/cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/build.xml?rev=703330&r1=703329&r2=703330&view=diff ============================================================================== --- cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/build.xml (original) +++ cxf/branches/2.0.x-fixes/distribution/src/main/release/samples/wsdl_first/build.xml Thu Oct 9 23:10:08 2008 @@ -27,13 +27,23 @@ param1="${basedir}/wsdl/hello_world.wsdl" param2="${op}" param3="${param}"/> - </target> + </target> + + <target name="spring.client" description="run demo client which is created from the spring context" depends="build"> + <property name="param" value=""/> + <cxfrun classname="demo.hw.client.SpringClient"/> + </target> <target name="server" description="run demo server" depends="build"> <cxfrun classname="demo.hw.server.Server" param1="${basedir}/wsdl/hello_world.wsdl"/> </target> + <target name="spring.server" description="run demo server which is created from the spring context" depends="build"> + <cxfrun classname="demo.hw.server.SpringServer"/> + </target> + + <target name="client.get" description="run demo client through HTTP GET" depends="build"> <property name="param" value=""/> <cxfrun classname="demo.hw.client.Get"
