alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Apache CXF example source code file (README.txt)

This example Apache CXF source code file (README.txt) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Apache CXF tags/keywords

cxf, cxf, microsoft, microsoft, pclient, running, strength, the, the, to, to, unlimited, ws-security, wsdl

The Apache CXF README.txt source code

*** About these samples ***

This CXF sample is being used to help implement WS-SecurityPolicy,
WS-SecureConversation, and WS-Trust within CXF.

CXF is presently relying on the test web services used by Microsoft's Web Services
Interoperability Plug-Fest[1].  The main scenario document[2] listed in the second 
column of the table at the top of [1] describes each test case.

[1] http://mssoapinterop.org/ilab/
[2] http://131.107.72.15/ilab/WSSecurity/WCFInteropPlugFest_Security.doc


*** Requirements ***

The samples in this directory use STRONG encryption.  The default encryption algorithms 
included in a JRE is not adequate for these samples.   The Java Cryptography Extension 
(JCE) Unlimited Strength Jurisdiction Policy Files available on Sun's JDK download 
page[3] *must* be installed for the examples to work.   If you get errors about invalid
key lengths, the Unlimited Strength files are not installed.

[3] http://java.sun.com/javase/downloads/index.jsp


*** Running the WS-Security samples against the Microsoft servers ***

Each of the samples are setup to test a CXF client against the public servers provided
by Microsoft.    To build and run the client, run:

mvn -Pclient

This will download the WSDL and Certs from Microsoft, build the code, and runs the client 
testing all the known working test cases.   If you want to run a specific test, run:

mvn -Pclient -Dtest.method=XX

Where the range of values for test.method is defined in the Client.java file of that project.

In particular, test.method will be the prefix to the web service port being used (see each 
wsdl:port under the wsdl:service element in the WSDL above).  So -Dtest.method=UX will 
call the UX_IPingService listed in the WSDL.


*** Running the WS-Security samples against the local CXF servers ***

The wssec10, wssec11, and wssc samples contain working CXF servers.  (The WS-Trust 
samples do not yet have working servers.)  To start the server, just run:

mvn -Pserver


To run the CXF clients agains the local server, run:

mvn -Pclient -Dtest.server=local

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

 

new blog posts

 

Copyright 1998-2021 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.