Samples JDK
package-info.java
1 /**
2  * \brief \htmlonly <font size="3" color="red">Incomplete ??</font> \endhtmlonly
3  * \brief CXF 3.0.3
4  * Generates java code from xsd and wsdl. Verifies basic, wsse token and 2 way auth interceptors.
5  * Uses soap out and fault interceptors.
6  * Uses SOAP UI as a client.
7  *
8  * <h1>Setup</h1>
9  * <ul>
10  * <li>helloworld.wsdl file had xsd types definition and wsdl service definition</li>
11  * <li>build.xml has apache-cxf-wsdl-cxfWSDLToJava target, this will generated the source code under build/generated-src using xmlbeans binding.</li>
12  * <li>include build/generated-src in build path as source folder.</li>
13  * </ul>
14  * <h2>Generate the Client and Server Keystores</h2>
15  * <ul>
16  * <li>keytool -genkeypair -alias serverkey -keyalg RSA -dname "CN=localhost,OU=Organization Unit,O=Organization,L=City,S=State,C=IN" -keypass password -keystore serverkeystore.jks -storepass password</li>
17  * <li>keytool -genkeypair -alias clientkey -keyalg RSA -dname "CN=localhost,OU=Organization Unit,O=Organization,L=City,S=State,C=IN" -keypass password -storepass password -keystore clientkeystore.jks</li>
18  * </ul>
19  * <h2>Install the client&rsquo;s public certificate in to the server&rsquo;s keystore</h2>
20  * <ul>
21  * <li>keytool -exportcert -alias clientkey -file client-public.cer -keystore clientkeystore.jks -storepass password</li>
22  * <li>keytool -importcert -keystore serverkeystore.jks -alias clientcert -file client-public.cer -storepass password -noprompt</li>
23  * </ul>
24  *
25  * <h2>Export the Server&rsquo;s Public Certificate and Import it in to the client&rsquo;s Keystore</h2>
26  * <ul>
27  * <li>keytool -exportcert -alias serverkey -file server-public.cer -keystore serverkeystore.jks -storepass password</li>
28  * <li>keytool -importcert -keystore clientkeystore.jks -alias servercert -file server-public.cer -storepass password -noprompt</li>
29  * </ul>
30  *
31  * <h1>SOAP UI Project</h1>
32  * <pre>
33  * Also has client and is best to use these clients as basic auth and wsse security headers can be easily specified.
34  * Mock services are of limited use as tricky to specify basic auth and wsse security setup. Moreover that wouldn't be of cxf formats. Hence can not be used in real projects.
35  * </pre>
36  *
37  *
38  */
39 package com.freemindcafe.apache.cxf.wsdl.sample3;