|
Apache CXF example source code file (README.txt)
The Apache CXF README.txt source codeHello World Client Demo using JavaScript ======================================== The client demo demonstrates the use of (non-browser) JavaScript to call a CXF server. The client side makes call using JAX-WS APIs. It uses the Mozilla Rhino library to read the JavaScript file and run it. Building and running the demo server 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. Using either UNIX or Windows: ant build ant server (in the background or another window) ant client (in another 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) Using either UNIX or Windows: mvn install mvn -Pserver mvn -Pclient JavaScript client output ----------------------------- The client will show this output: invoke sayHi(). return Bonjour invoke greetMe(String). return Hello Jeff The same time, the server will give this output: [java] Executing operation sayHi [java] Executing operation greetMe [java] Message received: Jeff Other Apache CXF examples (source code examples)Here is a short list of links related to this Apache CXF README.txt source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.