Author: gmazza
Date: Fri Sep 16 22:10:16 2011
New Revision: 1171822
URL: http://svn.apache.org/viewvc?rev=1171822&view=rev
Log:
Merged revisions 1171819 via svnmerge from
https://svn.apache.org/repos/asf/cxf/trunk
........
r1171819 | gmazza | 2011-09-16 17:54:36 -0400 (Fri, 16 Sep 2011) | 1 line
Removed the legacy Ant and java build info from another 11 samples
........
Removed:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/aegis/build.xml
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/build.xml
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_pure_xml/build.xml
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_rpclit/build.xml
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_soap12/build.xml
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xml_wrapped/build.xml
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xmlbeans/build.xml
Modified:
cxf/branches/2.4.x-fixes/ (props changed)
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/aegis/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/soap_header/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xmlbeans/README.txt
Propchange: cxf/branches/2.4.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/aegis/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/aegis/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/aegis/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/aegis/README.txt
Fri Sep 16 22:10:16 2011
@@ -4,41 +4,13 @@ Aegis Demo
This demo illustrates how to develop a service use the "code first", pojo
based.
This demo uses the Aegis data binding.
-Prerequisite
-------------
-
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK and ant bin directories on the PATH
-it is not necessary to set the environment as described in
-the samples directory README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-
-Building and running the demo using Ant
----------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located), the Ant build.xml file can be used to build and run the demo.
-The server and client targets automatically build the demo.
-
-Using either UNIX or Windows:
-
- ant server (from one command line window)
- ant client (from a second command line window)
-
-
-To remove the code generated from the WSDL file and the .class
-files, run "ant clean"
-
Building and running the demo using Maven
---------------------------------------
From the base directory of this sample (i.e., where this README file is
located), the pom.xml file is used to build and run the demo.
-Using either UNIX or Windows:
+Using either UNIX or Window
mvn install (builds the demo)
mvn -Pserver (from one command line window)
@@ -48,96 +20,3 @@ Using either UNIX or Windows:
To remove the code generated from the WSDL file and the .class
files, run "mvn clean".
-
-Building the demo using javac
-------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located), first create the target directory build/classes:
-
-For UNIX:
- mkdir -p build/classes
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/hw/client/*.java
- javac -d build/classes src/demo/hw/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\hw\client\*.java
- javac -d build\classes src\demo\hw\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
- ant clean
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using ant, run the client application with the command:
-
- ant client-servlet -Dbase.url=http://localhost:#
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Or
- ant client-servlet -Dhost=localhost -Dport=8080
-
-You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant
client-servlet
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client http://localhost:#/helloworld/services/hello_world
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/java_first_pojo/README.txt
Fri Sep 16 22:10:16 2011
@@ -30,93 +30,3 @@ Using either UNIX or Windows:
To remove the code generated from the WSDL file and the .class
files, run "mvn clean".
-
-Building the demo using javac
-------------------------------
-
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK directory on the PATH
-it is not necessary to set the environment as described in
-the samples directory README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-
-From the base directory of this sample (i.e., where this README file is
-located), first create the target directory build/classes:
-
-For UNIX:
- mkdir -p build/classes
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/hw/client/*.java
- javac -d build/classes src/demo/hw/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\hw\client\*.java
- javac -d build\classes src\demo\hw\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
- ant clean
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client http://localhost:#/helloworld/services/hello_world
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/jax_server_aegis_client/README.txt
Fri Sep 16 22:10:16 2011
@@ -30,84 +30,3 @@ To remove the code generated from the WS
files, run "mvn clean".
-Building the demo using javac
-------------------------------
-
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK directory on the PATH
-it is not necessary to set the environment as described in
-the samples directory README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-From the base directory of this sample (i.e., where this README file is
-located), first create the target directory build/classes:
-
-For UNIX:
- mkdir -p build/classes
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/hw/client/*.java
- javac -d build/classes src/demo/hw/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\hw\client\*.java
- javac -d build\classes src\demo\hw\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client http://localhost:#/helloworld/services/hello_world
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/mtom/README.txt
Fri Sep 16 22:10:16 2011
@@ -23,91 +23,3 @@ To remove the code generated from the WS
files, run mvn clean".
-Building the demo using wsdl2java and javac
--------------------------------------------
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK directories on the PATH
-it is not necessary to set the environment as described in
-the samples directory's README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-From the base directory of this sample (i.e., where this README file is
-located), first create the target directory build/classes and then
-generate code from the WSDL file.
-
-For UNIX:
- mkdir -p build/classes
-
- wsdl2java -d build/classes -compile ./wsdl/mtom_xop.wsdl
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
- wsdl2java -d build\classes -compile .\wsdl\mtom_xop.wsdl
- May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/mtom/client/*.java
- javac -d build/classes src/demo/mtom/server/*.java
- cp src/demo/mtom/client/me.bmp build/classes/demo/mtom/client/me.bmp
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\mtom\client\*.java
- javac -d build\classes src\demo\mtom\server\*.java
- copy src\demo\mtom\client\me.bmp build\classes\demo\mtom\client\me.bmp
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.mtom.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.mtom.client.Client ./wsdl/mtom_xop.wsdl
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.mtom.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.mtom.client.Client .\wsdl\mtom_xop.wsdl
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.mtom.client.Client http://localhost:#/mtom/services/mtom?wsdl
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.mtom.client.Client http://localhost:#/mtom/services/mtom?wsdl
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/soap_header/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/soap_header/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/soap_header/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/soap_header/README.txt
Fri Sep 16 22:10:16 2011
@@ -16,19 +16,6 @@ out/inout headers.
Please review the README in the samples directory before
continuing.
-
-Prerequisites
--------------
-
-If your environment already includes cxf.jar on the
-CLASSPATH, and the JDK and ant bin directories on the PATH
-it is not necessary to set the environment as described in
-the samples directory's README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-
Building and running the demo using Ant
---------------------------------------
From the base directory of this sample (i.e., where this README file is
@@ -62,101 +49,4 @@ files, run "mvn clean".
mvn clean
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then
-generate code from the WSDL file.
-
-For UNIX:
- mkdir -p build/classes
-
- wsdl2java -d build/classes -compile ./wsdl/soap_header.wsdl
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
- wsdl2java -d build\classes -compile .\wsdl\soap_header.wsdl
- May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf.jar:./build/classes
- javac -d build/classes src/demo/soap_header/client/*.java
- javac -d build/classes src/demo/soap_header/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf.jar;.\build\classes
- javac -d build\classes src\demo\soap_header\client\*.java
- javac -d build\classes src\demo\soap_header\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.soap_header.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.soap_header.client.Client ./wsdl/soap_header.wsdl
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.soap_header.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.soap_header.client.Client .\wsdl\soap_header.wsdl
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
- ant clean
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using ant, run the client application with the command:
-
- ant client-servlet -Dbase.url=http://localhost:#
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Or
- ant client-servlet -Dhost=localhost -Dport=8080
-
-You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant
client-servlet
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.soap_header.client.Client
http://localhost:#/soapheader/services/soap_header?wsdl
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.soap_header.client.Client
http://localhost:#/soapheader/services/soap_header?wsdl
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_dynamic_client/README.txt
Fri Sep 16 22:10:16 2011
@@ -4,42 +4,9 @@ Hello World Demo using Document/Literal
This demo illustrates the use of the CXF dynamic client
against a standalone server using SOAP 1.1 over HTTP.
-
Please review the README in the samples directory before continuing.
-Prerequisite
-------------
-
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK and ant bin directories on the PATH
-it is not necessary to set the environment as described in
-the samples directory README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-
-Building and running the demo using Ant
----------------------------------------
-From the base directory of this sample (i.e., where this README file is
-located), the Ant build.xml file can be used to build and run the demo.
-The server and client targets automatically build the demo.
-
-Using either UNIX or Windows:
-
- 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".
-
-
Building and running the demo using Maven
---------------------------------------
@@ -56,115 +23,3 @@ To remove the code generated from the WS
files, run "mvn clean".
-
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then
-generate code from the WSDL file.
-
-For UNIX:
- mkdir -p build/classes
-
- wsdl2java -d build/classes -compile ./wsdl/hello_world.wsdl
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
- wsdl2java -d build\classes -compile .\wsdl\hello_world.wsdl
- May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/hw/client/*.java
- javac -d build/classes src/demo/hw/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\hw\client\*.java
- javac -d build\classes src\demo\hw\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client ./wsdl/hello_world.wsdl
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client .\wsdl\hello_world.wsdl
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
- ant clean
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using ant, run the client application with the command:
-
- ant client-servlet -Dbase.url=http://localhost:#
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Or
- ant client-servlet -Dhost=localhost -Dport=8080
-
-You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant
client-servlet
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world?wsdl
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world?wsdl
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-
-Running demo with HTTP GET
---------------------------
-APACHE CXF support HTTP GET to invoke the service, instead of running
-
- ant client
-
-you can use
-
- ant client.get
-
-to invoke the service with simple HttpURLConnection, or you can even
-use your favorite browser to get the results back.
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_pure_xml/README.txt
Fri Sep 16 22:10:16 2011
@@ -8,35 +8,6 @@ doc-lit bare style
Please review the README in the samples directory before
continuing.
-
-Prerequisite
-------------
-
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK and ant bin directories on the PATH
-it is not necessary to set the environment as described in
-the samples directory's README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-
-Building and running the demo using Ant
----------------------------------------
-From the base directory of this sample (i.e., where this README file is
-located), the Ant build.xml file can be used to build and run the demo.
-The server and client targets automatically build the demo.
-
-Using either UNIX or Windows:
-
- ant server (from one command line window)
- ant client (from a second command line window)
-
-
-To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
-
-
Building and running the demo using Maven
---------------------------------------
@@ -54,116 +25,3 @@ To remove the code generated from the WS
files, run "mvn clean".
-
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then
-generate code from the WSDL file.
-
-For UNIX:
- mkdir -p build/classes
-
- wsdl2java -d build/classes -compile ./wsdl/hello_world.wsdl
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
- wsdl2java -d build\classes -compile .\wsdl\hello_world.wsdl
- May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/hw/client/*.java
- javac -d build/classes src/demo/hw/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\hw\client\*.java
- javac -d build\classes src\demo\hw\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client ./wsdl/hello_world.wsdl
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client .\wsdl\hello_world.wsdl
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
- ant clean
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using ant, run the client application with the command:
-
- ant client-servlet -Dbase.url=http://localhost:#
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Or
- ant client-servlet -Dhost=localhost -Dport=8080
-
-You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant
client-servlet
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world?wsdl
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world?wsdl
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-
-Running demo with HTTP GET
---------------------------
-
-APACHE CXF support HTTP GET to invoke the service, instead of running
-
- ant client
-
-you can use
-
- ant client.get
-
-to invoke the service with simple HttpURLConnection, or you can even
-use your favoriate browser to get the results back.
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_rpclit/README.txt
Fri Sep 16 22:10:16 2011
@@ -1,39 +1,13 @@
Hello World Demo using RPC-Literal Style
========================================
-This version of Helloe World demonstrates the use
+This version of Hello World demonstrates the use
of the RPC-Literal style binding.
Please review the README in the samples directory before
continuing.
-Prerequisites
--------------
-
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK and ant bin directories on the PATH
-it is not necessary to set the environment as described in
-the samples directory's README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-
-Building and running the demo using Ant
----------------------------------------
-From the base directory of this sample (i.e., where this README file is
-located), the Ant build.xml file can be used to build and run the demo.
-The server and client targets automatically build the demo.
-
-Using either UNIX or Windows:
-
- ant server (from one command line window)
- ant client (from a second command line window)
-
-To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
-
Building and running the demo using Maven
---------------------------------------
@@ -50,121 +24,3 @@ Using either UNIX or Windows:
To remove the code generated from the WSDL file and the .class
files, run "mvn clean".
-
-
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then
-generate code from the WSDL file.
-
-For UNIX:
- mkdir -p build/classes
-
- wsdl2java -d build/classes -compile ./wsdl/hello_world_RPCLit.wsdl
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
- wsdl2java -d build\classes -compile .\wsdl\hello_world_RPCLit.wsdl
- May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/hwRPCLit/client/*.java
- javac -d build/classes src/demo/hwRPCLit/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\hwRPCLit\client\*.java
- javac -d build\classes src\demo\hwRPCLit\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hwRPCLit.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hwRPCLit.client.Client ./wsdl/hello_world_RPCLit.wsdl
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hwRPCLit.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hwRPCLit.client.Client .\wsdl\hello_world_RPCLit.wsdl
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
- ant clean
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using ant, run the client application with the command:
-
- ant client-servlet -Dbase.url=http://localhost:#
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Or
- ant client-servlet -Dhost=localhost -Dport=8080
-
-You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant
client-servlet
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hwRPCLit.client.Client
http://localhost:#/helloworld/services/hello_world_rpclit?wsdl
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hwRPCLit.client.Client
http://localhost:#/helloworld/services/hello_world_rpclit?wsdl
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Undeploy the application from the APACHE TOMCAT with the command:
-
- ant undeploy -Dtomcat=true
-
-
-Running demo with HTTP GET
---------------------------
-
-APACHE CXF support HTTP GET to invoke the service, instead of running
-
- ant client
-
-you can use
-
- ant client.get
-
-to invoke the service with simple HttpURLConnection, or you can even
-use your favoriate browser to get the results back.
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_soap12/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_soap12/README.txt
Fri Sep 16 22:10:16 2011
@@ -7,35 +7,6 @@ Please review the README in the samples
continuing.
-Prerequisites
--------------
-
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK and ant bin directories on the PATH
-it is not necessary to set the environment as described in
-the samples directory's README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-
-Building and running the demo using Ant
----------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located), the Ant build.xml file can be used to build and run the demo.
-The server and client targets automatically build the demo.
-
-Using either UNIX or Windows:
-
- ant server (from one command line window)
- ant client (from a second command line window)
-
-
-To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
-
-
Building and running the demo using Maven
---------------------------------------
@@ -53,116 +24,3 @@ To remove the code generated from the WS
files, run "mvn clean".
-
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then
-generate code from the WSDL file.
-
-For UNIX:
- mkdir -p build/classes
-
- wsdl2java -d build/classes -compile ./wsdl/hello_world_soap12.wsdl
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
- wsdl2java -d build\classes -compile .\wsdl\hello_world_soap12.wsdl
- May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/hw/client/*.java
- javac -d build/classes src/demo/hw/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\hw\client\*.java
- javac -d build\classes src\demo\hw\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client ./wsdl/hello_world_soap12.wsdl
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client .\wsdl\hello_world_soap12.wsdl
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
- ant clean
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using ant, run the client application with the command:
-
- ant client-servlet -Dbase.url=http://localhost:#
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Or
- ant client-servlet -Dhost=localhost -Dport=8080
-
-You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant
client-servlet
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world_soap12?wsdl
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world_soap12?wsdl
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-
-Running demo with HTTP GET
---------------------------
-
-APACHE CXF support HTTP GET to invoke the service, instead of running
-
- ant client
-
-you can use
-
- ant client.get
-
-to invoke the service with simple HttpURLConnection, or you can even
-use your favorite browser to get the results back.
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xml_wrapped/README.txt
Fri Sep 16 22:10:16 2011
@@ -8,35 +8,6 @@ doc-lit wrapped style.
Please review the README in the samples directory before
continuing.
-
-Prerequisite
-------------
-
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK and ant bin directories on the PATH
-it is not necessary to set the environment as described in
-the samples directory's README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-
-Building and running the demo using Ant
----------------------------------------
-From the base directory of this sample (i.e., where this README file is
-located), the Ant build.xml file can be used to build and run the demo.
-The server and client targets automatically build the demo.
-
-Using either UNIX or Windows:
-
- ant server (from one command line window)
- ant client (from a second command line window)
-
-
-To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
-
-
Building and running the demo using Maven
---------------------------------------
@@ -55,115 +26,3 @@ To remove the code generated from the WS
files, run "mvn clean".
-
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then
-generate code from the WSDL file.
-
-
-For UNIX:
- mkdir -p build/classes
-
- wsdl2java -d build/classes -compile ./wsdl/hello_world.wsdl
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
- wsdl2java -d build\classes -compile .\wsdl\hello_world.wsdl
- May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/hw/client/*.java
- javac -d build/classes src/demo/hw/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\hw\client\*.java
- javac -d build\classes src\demo\hw\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client ./wsdl/hello_world.wsdl
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client .\wsdl\hello_world.wsdl
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
- ant clean
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using ant, run the client application with the command:
-
- ant client-servlet -Dbase.url=http://localhost:#
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Or
- ant client-servlet -Dhost=localhost -Dport=8080
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world?wsdl
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world?wsdl
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-
-Running demo with HTTP GET
---------------------------
-
-APACHE CXF support HTTP GET to invoke the service, instead of running
-
- ant client
-
-you can use
-
- ant client.get
-
-to invoke the service with simple HttpURLConnection, or you can even
-use your favoriate browser to get the results back.
Modified:
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xmlbeans/README.txt
URL:
http://svn.apache.org/viewvc/cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xmlbeans/README.txt?rev=1171822&r1=1171821&r2=1171822&view=diff
==============================================================================
---
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xmlbeans/README.txt
(original)
+++
cxf/branches/2.4.x-fixes/distribution/src/main/release/samples/wsdl_first_xmlbeans/README.txt
Fri Sep 16 22:10:16 2011
@@ -29,39 +29,6 @@ not causing an exception.
Please review the README in the samples directory before continuing.
-
-Prerequisite
-------------
-
-If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK and ant bin directories on the PATH
-it is not necessary to set the environment as described in
-the samples directory README. If your environment is not
-properly configured, or if you are planning on using wsdl2java,
-javac, and java to build and run the demos, you must set the
-environment.
-
-
-Building and running the demo using Ant
----------------------------------------
-From the base directory of this sample (i.e., where this README file is
-located), the Ant build.xml file can be used to build and run the demo.
-The server and client targets automatically build the demo.
-
-Using either UNIX or Windows:
-
- 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".
-
-
Building and running the demo using Maven
---------------------------------------
@@ -78,119 +45,6 @@ To remove the code generated from the WS
files, run "mvn clean".
-
-Building the demo using wsdl2java and javac
--------------------------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) first create the target directory build/classes and then
-generate code from the WSDL file.
-
-For UNIX:
- mkdir -p build/classes
-
- wsdl2java -d build/classes -compile ./wsdl/hello_world.wsdl
-
-For Windows:
- mkdir build\classes
- Must use back slashes.
-
- wsdl2java -d build\classes -compile .\wsdl\hello_world.wsdl
- May use either forward or back slashes.
-
-Now compile the provided client and server applications with the commands:
-
-For UNIX:
-
- export CLASSPATH=$CLASSPATH:$CXF_HOME/lib/cxf-manifest.jar:./build/classes
- javac -d build/classes src/demo/hw/client/*.java
- javac -d build/classes src/demo/hw/server/*.java
-
-For Windows:
- set classpath=%classpath%;%CXF_HOME%\lib\cxf-manifest.jar;.\build\classes
- javac -d build\classes src\demo\hw\client\*.java
- javac -d build\classes src\demo\hw\server\*.java
-
-
-Running the demo using java
----------------------------
-
-From the base directory of this sample (i.e., where this README file is
-located) run the commands, entered on a single command line:
-
-For UNIX (must use forward slashes):
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.server.Server &
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client ./wsdl/hello_world.wsdl
-
-The server process starts in the background. After running the client,
-use the kill command to terminate the server process.
-
-For Windows (may use either forward or back slashes):
- start
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.server.Server
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client .\wsdl\hello_world.wsdl
-
-A new command windows opens for the server process. After running the
-client, terminate the server process by issuing Ctrl-C in its command window.
-
-To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
- ant clean
-
-
-Building and running the demo in a servlet container
-----------------------------------------------------
-
-Please refer to samples directory README for building demo in a servlet
container.
-
-Using ant, run the client application with the command:
-
- ant client-servlet -Dbase.url=http://localhost:#
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-Or
- ant client-servlet -Dhost=localhost -Dport=8080
-
-You can ignore the -Dhost and -Dport if your tomcat setup is same, i.e ant
client-servlet
-
-Using java, run the client application with the command:
-
- For UNIX:
-
- java -Djava.util.logging.config.file=$CXF_HOME/etc/logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world?wsdl
-
- For Windows:
-
- java -Djava.util.logging.config.file=%CXF_HOME%\etc\logging.properties
- demo.hw.client.Client
http://localhost:#/helloworld/services/hello_world?wsdl
-
-Where # is the TCP/IP port used by the servlet container,
-e.g., 8080.
-
-
-Running demo with HTTP GET
---------------------------
-APACHE CXF support HTTP GET to invoke the service, instead of running
-
- ant client
-
-you can use
-
- ant client.get
-
-to invoke the service with simple HttpURLConnection, or you can even
-use your favorite browser to get the results back.
-
Schema Validation Exception
----------------------------
When running the client with mvn -Pclient, you may see exceptions like