You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by dk...@apache.org on 2013/06/24 19:10:57 UTC

svn commit: r867253 [15/46] - in /websites/production/cxf/content: ./ 2008/04/28/ 2008/06/20/ 2009/02/10/ 2009/08/04/ cache/ docs/ docs/cxf-architecture.thumbs/ docs/cxf-dependency-graphs.thumbs/ docs/logbrowser-configuration.thumbs/ docs/logbrowser-so...

Modified: websites/production/cxf/content/docs/developing-assertions.html
==============================================================================
--- websites/production/cxf/content/docs/developing-assertions.html (original)
+++ websites/production/cxf/content/docs/developing-assertions.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Developing Assertions">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Developing Assertions
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Developing Assertions
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- Developing Assertions
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -160,78 +168,78 @@ Implementation of <em>build()</em> metho
 
 <p>This is the easiest way of providing runtime support for an Assertion. Steps 1. and 2. listed in <a shape="rect" href="ws-policy-framework-overview.html#WS-PolicyFrameworkOverview-InteractionwiththeFramework">Interaction with the Framework</a> can usually be coded as follows:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">package</span> mycompany.com.interceptors;
-<span class="code-keyword">import</span> org.apache.cxf.ws.policy.AssertionInfoMap;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+package mycompany.com.interceptors;
+import org.apache.cxf.ws.policy.AssertionInfoMap;
 
 class MyPolicyAwareInterceptor {
-   <span class="code-keyword">static</span> <span class="code-keyword">final</span> QName assertionType = <span class="code-keyword">new</span> QName(<span class="code-quote">"http:<span class="code-comment">//mycompany.com}"</span>, 
-</span>       <span class="code-quote">"MyType"</span>});
+   static final QName assertionType = new QName("http://mycompany.com}", 
+       "MyType"});
 
-   <span class="code-keyword">public</span> void handleMessage(Message message) {
+   public void handleMessage(Message message) {
 
-      <span class="code-comment">// get AssertionInfoMap
-</span>       org.apache.cxf.ws.policy.AssertionInfoMap aim = 
+      // get AssertionInfoMap
+       org.apache.cxf.ws.policy.AssertionInfoMap aim = 
            message.get(org.apache.cxf.ws.policy.AssertionInfoMap.class);
        Collection&lt;AssertionInfo ais&gt; = aim.get(assertionType );
 
-       <span class="code-comment">// extract Assertion information
-</span>       <span class="code-keyword">for</span> (AssertionInfo ai : ais) {
+       // extract Assertion information
+       for (AssertionInfo ai : ais) {
            org.apache.neethi.Assertion a = ai.getAssertion();
            MyAssertionType ma = (MyAssertionType)a;
-          <span class="code-comment">// digest ....
-</span>       }
+          // digest ....
+       }
+
+       // process message ...
+            // express support
 
-       <span class="code-comment">// process message ...
-</span>            <span class="code-comment">// express support
-</span>
-       <span class="code-keyword">for</span> (AssertionInfo ai : ais) {
+       for (AssertionInfo ai : ais) {
            ai.setAsserted(...);
        }          }
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>Sometimes, it may be more convenient to spead the above functionality accross several interceptors, possibly according to chain (in, in fault, out, outfault). In any case, you need to also provide a PolicyInterceptorProvider, and declare a corresponding bean. Either implement one from scratch or use the PolicyInterceptorProviderImpl in the api package and customise it as follows (assuming that one and the same interceptor is used for all paths). The main task of policy interceptor provider is to say which interceptors must be activated for specified policy assertion:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 
-&lt;bean name=<span class="code-quote">"MyPolicyAwareInterceptor"</span> 
-      class=<span class="code-quote">"mycompany.com.interceptors.MyPolicyAwareInterceptor"</span>/&gt;
+&lt;bean name="MyPolicyAwareInterceptor" 
+      class="mycompany.com.interceptors.MyPolicyAwareInterceptor"/&gt;
 
-<span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.ws.policy.PolicyInterceptorProviderImpl"</span>&gt;</span>
-        <span class="code-tag">&lt;constructor-arg&gt;</span>
+&lt;bean class="org.apache.cxf.ws.policy.PolicyInterceptorProviderImpl"&gt;
+        &lt;constructor-arg&gt;
             &lt;!-- the list of assertion types supported by this 
                  PolicyInterceptorProvider --&gt;
-            <span class="code-tag">&lt;list&gt;</span>
-                <span class="code-tag">&lt;bean class=<span class="code-quote">"javax.xml.namespace.QName"</span>&gt;</span>
-                    <span class="code-tag">&lt;constructor-arg value=<span class="code-quote">"http://mycompany.com}"</span>/&gt;</span>
-                    <span class="code-tag">&lt;constructor-arg value=<span class="code-quote">"MyType"</span>/&gt;</span>
-                <span class="code-tag">&lt;/bean&gt;</span>
-            <span class="code-tag">&lt;/list&gt;</span>
-        <span class="code-tag">&lt;/constructor-arg&gt;</span>
-        <span class="code-tag">&lt;property name=<span class="code-quote">"inInterceptors"</span>&gt;</span>
-            <span class="code-tag">&lt;list&gt;</span>
-                <span class="code-tag">&lt;ref bean=<span class="code-quote">"MyPolicyAwareInterceptor"</span>/&gt;</span>
-            <span class="code-tag">&lt;/list&gt;</span>
-        <span class="code-tag">&lt;/property&gt;</span>
-        <span class="code-tag">&lt;property name=<span class="code-quote">"inFaultInterceptors"</span>&gt;</span>
-            <span class="code-tag">&lt;list&gt;</span>
-                <span class="code-tag">&lt;ref bean=<span class="code-quote">"MyPolicyAwareInterceptor"</span>/&gt;</span>
-            <span class="code-tag">&lt;/list&gt;</span>
-        <span class="code-tag">&lt;/property&gt;</span>
-        <span class="code-tag">&lt;property name=<span class="code-quote">"outInterceptors"</span>&gt;</span>
-            <span class="code-tag">&lt;list&gt;</span>
-                <span class="code-tag">&lt;ref bean=<span class="code-quote">"MyPolicyAwareInterceptor"</span>/&gt;</span>
-            <span class="code-tag">&lt;/list&gt;</span>
-        <span class="code-tag">&lt;/property&gt;</span>
-        <span class="code-tag">&lt;property name=<span class="code-quote">"outFaultInterceptors"</span>&gt;</span>
-            <span class="code-tag">&lt;list&gt;</span>
-                <span class="code-tag">&lt;ref bean=<span class="code-quote">"MyPolicyAwareInterceptor"</span>/&gt;</span>
-            <span class="code-tag">&lt;/list&gt;</span>
-        <span class="code-tag">&lt;/property&gt;</span>
-    <span class="code-tag">&lt;/bean&gt;</span>
-</pre>
+            &lt;list&gt;
+                &lt;bean class="javax.xml.namespace.QName"&gt;
+                    &lt;constructor-arg value="http://mycompany.com}"/&gt;
+                    &lt;constructor-arg value="MyType"/&gt;
+                &lt;/bean&gt;
+            &lt;/list&gt;
+        &lt;/constructor-arg&gt;
+        &lt;property name="inInterceptors"&gt;
+            &lt;list&gt;
+                &lt;ref bean="MyPolicyAwareInterceptor"/&gt;
+            &lt;/list&gt;
+        &lt;/property&gt;
+        &lt;property name="inFaultInterceptors"&gt;
+            &lt;list&gt;
+                &lt;ref bean="MyPolicyAwareInterceptor"/&gt;
+            &lt;/list&gt;
+        &lt;/property&gt;
+        &lt;property name="outInterceptors"&gt;
+            &lt;list&gt;
+                &lt;ref bean="MyPolicyAwareInterceptor"/&gt;
+            &lt;/list&gt;
+        &lt;/property&gt;
+        &lt;property name="outFaultInterceptors"&gt;
+            &lt;list&gt;
+                &lt;ref bean="MyPolicyAwareInterceptor"/&gt;
+            &lt;/list&gt;
+        &lt;/property&gt;
+    &lt;/bean&gt;
+]]></script>
 </div></div>
 
 <p>All beans of type PolicyInterceptorProvider are automatically registered with the framework's PolicyInterceptorProviderRegistry.</p>
@@ -239,35 +247,35 @@ class MyPolicyAwareInterceptor {
 <p>It is also possible to implement policy interceptor provider programmatically from scratch. It's constructor gives assertions QNames as argument of super constructor and adds corresponded interceptors using getters:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class MyInterceptorProvider <span class="code-keyword">extends</span> AbstractPolicyInterceptorProvider {
-    <span class="code-keyword">private</span> <span class="code-keyword">static</span> <span class="code-keyword">final</span> <span class="code-object">long</span> serialVersionUID = -5248428637449096540L;
-    <span class="code-keyword">private</span> <span class="code-keyword">static</span> <span class="code-keyword">final</span> MyInInterceptor IN_INTERCEPTOR = <span class="code-keyword">new</span> MyInInterceptor();
-    <span class="code-keyword">private</span> <span class="code-keyword">static</span> <span class="code-keyword">final</span> MyOutInterceptor OUT_INTERCEPTOR = <span class="code-keyword">new</span> MyOutInterceptor();
-    <span class="code-keyword">private</span> <span class="code-keyword">static</span> <span class="code-keyword">final</span> MyOutFaultInterceptor OUT_FAULT_INTERCEPTOR = <span class="code-keyword">new</span> MyOutFaultInterceptor();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public class MyInterceptorProvider extends AbstractPolicyInterceptorProvider {
+    private static final long serialVersionUID = -5248428637449096540L;
+    private static final MyInInterceptor IN_INTERCEPTOR = new MyInInterceptor();
+    private static final MyOutInterceptor OUT_INTERCEPTOR = new MyOutInterceptor();
+    private static final MyOutFaultInterceptor OUT_FAULT_INTERCEPTOR = new MyOutFaultInterceptor();
     
-    <span class="code-keyword">private</span> <span class="code-keyword">static</span> <span class="code-keyword">final</span> Collection&lt;QName&gt; ASSERTION_TYPES;
-    <span class="code-keyword">static</span> {
-        ASSERTION_TYPES = <span class="code-keyword">new</span> ArrayList&lt;QName&gt;();
-        ASSERTION_TYPES.add(<span class="code-keyword">new</span> QName(<span class="code-quote">"www.mycompany.org"</span>, <span class="code-quote">"myassertion"</span>));
+    private static final Collection&lt;QName&gt; ASSERTION_TYPES;
+    static {
+        ASSERTION_TYPES = new ArrayList&lt;QName&gt;();
+        ASSERTION_TYPES.add(new QName("www.mycompany.org", "myassertion"));
     }
 
-    <span class="code-keyword">public</span> MyInterceptorProvider() {
-        <span class="code-keyword">super</span>(ASSERTION_TYPES);
+    public MyInterceptorProvider() {
+        super(ASSERTION_TYPES);
         getInInterceptors().add(IN_INTERCEPTOR);        
         getOutInterceptors().add(OUT_INTERCEPTOR);        
         getOutFaultInterceptors().add(OUT_FAULT_INTERCEPTOR);        
     }
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>Since version 2.5.2, Assertion builder and policy interceptor provider can be registered using CXF bus extension mechanism: just create a file META-INF/cxf/bus-extensions.txt containing the following:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-org.company.MyInterceptorProvider::<span class="code-keyword">true</span>
-org.company.MyAssertionBuilder::<span class="code-keyword">true</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+org.company.MyInterceptorProvider::true
+org.company.MyAssertionBuilder::true
+]]></script>
 </div></div>
 <p>Boolean value at the end specifies lazy loading strategy. <br clear="none">
 CXF automatically recognizes the assertion builder and policy interceptor provider and store them into registries: <em>AssertionBuilderRegistry</em> and <em>PolicyInterceptorProviderRegistry</em>. <br clear="none">
@@ -278,26 +286,26 @@ Since CXF 2.6.0 it is possible to regist
 <h3><a shape="rect" name="DevelopingAssertions-Initialisation"></a>Initialisation</h3>
 <p>Conduits/Destinations have access to the EndpointInfo object in their their constructors,. Assuming they also have access to the bus, they can at any time in their lifecycle obtain the effective policy for the endpoint as follows:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 class MyPolicyAwareConduit {
-    <span class="code-keyword">static</span> <span class="code-keyword">final</span> QName assertionType = <span class="code-keyword">new</span> QName(<span class="code-quote">"http:<span class="code-comment">//mycompany.com}"</span>, 
-</span>        <span class="code-quote">"MyType"</span>});
+    static final QName assertionType = new QName("http://mycompany.com}", 
+        "MyType"});
     ...
 
     void init() {
         PolicyEngine engine = bus.getExtenation(PolicyEngine.class);
-        <span class="code-keyword">if</span> (<span class="code-keyword">null</span> != engine &amp;&amp; engine.isEnabled()) {
-        EffectiveEndpointPolicy ep = engine.getEndpointPolicy(endpoint, <span class="code-keyword">this</span>);
+        if (null != engine &amp;&amp; engine.isEnabled()) {
+        EffectiveEndpointPolicy ep = engine.getEndpointPolicy(endpoint, this);
         Collection&lt;Assertion&gt; as = ep.getChosenAlternative();
-        <span class="code-keyword">for</span> (Assertion a : as) {
-            <span class="code-keyword">if</span> (assertType.equals(a.getName()) {
-                <span class="code-comment">// <span class="code-keyword">do</span> something with it ...
-</span>            }
+        for (Assertion a : as) {
+            if (assertType.equals(a.getName()) {
+                // do something with it ...
+            }
        }
        ... 
     }
 }
-</pre>
+]]></script>
 </div></div>
 <p>and similarly for a Destination. </p>
 
@@ -311,21 +319,21 @@ class MyPolicyAwareConduit {
 HTTPConduit is an exmaple of a policy aware Conduit. It supports assertions of type HTTPClientPolicy, which are represented in the runtime as JaxbAssertion&lt;HTTPClientPolicy&gt; objects. HTTPConduit also has a data member of type HTTPClientPolicy. It implements assertMessage as follows: for outbound messages, it asserts all JaxbAssertion&lt;HTTPClientPolicy&gt;  that are compatible with this data member. For inboun d messages, all HTTPClientPolicy assertions are asserted regardless their attributes. The rationale for this is that the sematics of the HTTPClientPolicy assertion effectively does not mandate any specific action on the inbound message.<br clear="none">
 Similary, on its inbound path,  the HTTPDestination asserts all HTTPServerPolicy assertions that are equal to the HTTPServerPolicy assertion configured for the destination, and all assertions of that type on the outbound path.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-class MyPolicyAwareConduit <span class="code-keyword">implements</span> Assertor {
-    <span class="code-keyword">static</span> <span class="code-keyword">final</span> QName MYTYPE = <span class="code-keyword">new</span> QName(<span class="code-quote">"http:<span class="code-comment">//mycompany.com}"</span>, 
-</span>        <span class="code-quote">"MyType"</span>});
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+class MyPolicyAwareConduit implements Assertor {
+    static final QName MYTYPE = new QName("http://mycompany.com}", 
+        "MyType"});
 
-    <span class="code-keyword">public</span> <span class="code-object">boolean</span> canAssert(QName name) {
-        <span class="code-keyword">return</span> MTYPE.equals(name);
+    public boolean canAssert(QName name) {
+        return MTYPE.equals(name);
     }
 
-    <span class="code-keyword">public</span> void assertMessage(Mesage message) {
+    public void assertMessage(Mesage message) {
         AssertionInfoMap = message.get(AssertioninfoMap.class);
         ...
     }
 }
-</pre>
+]]></script>
 </div></div>
 </div>
            </div>

Modified: websites/production/cxf/content/docs/documentation-todos.html
==============================================================================
--- websites/production/cxf/content/docs/documentation-todos.html (original)
+++ websites/production/cxf/content/docs/documentation-todos.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Documentation TODOs">
+
+
     <title>
 Apache CXF -- Documentation TODOs
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Documentation TODOs
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- Documentation TODOs
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/dynamic-clients.html
==============================================================================
--- websites/production/cxf/content/docs/dynamic-clients.html (original)
+++ websites/production/cxf/content/docs/dynamic-clients.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,17 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Dynamic Clients">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Dynamic Clients
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- Dynamic Clients
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +101,7 @@ Apache CXF -- Dynamic Clients
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -133,28 +140,28 @@ Apache CXF -- Dynamic Clients
 
 <p>Let's pretend for a moment that you have a WSDL which defines a single operation "echo" which takes an input of a string and outputs a String. You could use the JaxWsDynamicClientFactory for it like this:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
-Client client = dcf.createClient(<span class="code-quote">"echo.wsdl"</span>);
+Client client = dcf.createClient("echo.wsdl");
 
-<span class="code-object">Object</span>[] res = client.invoke(<span class="code-quote">"echo"</span>, <span class="code-quote">"test echo"</span>);
-<span class="code-object">System</span>.out.println(<span class="code-quote">"Echo response: "</span> + res[0]);
-</pre>
+Object[] res = client.invoke("echo", "test echo");
+System.out.println("Echo response: " + res[0]);
+]]></script>
 </div></div>
 <p>Many WSDLs will have more complex types though. In this case the JaxWsDynamicClientFactory takes care of generating Java classes for these types. For example, we may have a People service which keeps track of people in an organization. In the sample below we create a Person object that was generated for us dynamically and send it to the server using the addPerson operation:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 JaxWsDynamicClientFactory dcf = JaxWsDynamicClientFactory.newInstance();
-Client client = dcf.createClient(<span class="code-quote">"people.wsdl"</span>, classLoader);
+Client client = dcf.createClient("people.wsdl", classLoader);
 
 
-<span class="code-object">Object</span> person = <span class="code-object">Thread</span>.currentThread().getContextClassLoader().loadClass(<span class="code-quote">"com.acme.Person"</span>).newInstance();
+Object person = Thread.currentThread().getContextClassLoader().loadClass("com.acme.Person").newInstance();
 
-Method m = person.getClass().getMethod(<span class="code-quote">"setName"</span>, <span class="code-object">String</span>.class);
-m.invoke(person, <span class="code-quote">"Joe Schmoe"</span>);
+Method m = person.getClass().getMethod("setName", String.class);
+m.invoke(person, "Joe Schmoe");
 
-client.invoke(<span class="code-quote">"addPerson"</span>, person);
-</pre>
+client.invoke("addPerson", person);
+]]></script>
 </div></div>
 <p>You may be asking yourself the following question: "Where did the class name 'com.acme.Person' come from?"</p>
 

Modified: websites/production/cxf/content/docs/dynamic-languages.html
==============================================================================
--- websites/production/cxf/content/docs/dynamic-languages.html (original)
+++ websites/production/cxf/content/docs/dynamic-languages.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Dynamic Languages">
+
+
     <title>
 Apache CXF -- Dynamic Languages
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Dynamic Languages
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- Dynamic Languages
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/embedding-cxf-inside-spring.html
==============================================================================
--- websites/production/cxf/content/docs/embedding-cxf-inside-spring.html (original)
+++ websites/production/cxf/content/docs/embedding-cxf-inside-spring.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Embedding CXF inside Spring">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Embedding CXF inside Spring
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Embedding CXF inside Sprin
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- Embedding CXF inside Sprin
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -125,38 +133,38 @@ Apache CXF -- Embedding CXF inside Sprin
 
 <p>CXF includes Spring configuration files which configure the various CXF modules. You will want to import these into your application. Here is an example that imports the core CXF components, the SOAP binding, and the servlet transport:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
-	<span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
-	<span class="code-keyword">xmlns:jaxws</span>=<span class="code-quote">"http://cxf.apache.org/jaxws"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns:jaxws="http://cxf.apache.org/jaxws"
 	xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/jaxws http://cxf.apache.org/schema/jaxws.xsd"&gt;
 
-	<span class="code-tag">&lt;import resource=<span class="code-quote">"classpath:META-INF/cxf/cxf.xml"</span> /&gt;</span>
-	<span class="code-tag">&lt;import resource=<span class="code-quote">"classpath:META-INF/cxf/cxf-extension-soap.xml"</span> /&gt;</span>
-	<span class="code-tag">&lt;import resource=<span class="code-quote">"classpath:META-INF/cxf/cxf-servlet.xml"</span> /&gt;</span>
+	&lt;import resource="classpath:META-INF/cxf/cxf.xml" /&gt;
+	&lt;import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" /&gt;
+	&lt;import resource="classpath:META-INF/cxf/cxf-servlet.xml" /&gt;
   ...
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p>To include all the CXF modules you can use cxf-all or a wildcard expression:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
-	<span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
-	<span class="code-keyword">xmlns:jaxws</span>=<span class="code-quote">"http://cxf.apache.org/jaxws"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns:jaxws="http://cxf.apache.org/jaxws"
 	xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/jaxws http://cxf.apache.org/schema/jaxws.xsd"&gt;
 
-	<span class="code-tag">&lt;import resource=<span class="code-quote">"classpath:META-INF/cxf/cxf.xml"</span> /&gt;</span>
-	<span class="code-tag">&lt;import resource=<span class="code-quote">"classpath*:META-INF/cxf/cxf-extension-*.xml"</span> /&gt;</span>
+	&lt;import resource="classpath:META-INF/cxf/cxf.xml" /&gt;
+	&lt;import resource="classpath*:META-INF/cxf/cxf-extension-*.xml" /&gt;
   ...
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p>The only module cxf-all won't include is the servlet transport. If you want to include the servlet transport you must specify it specifically. This is because it will tell CXF to no longer use the standalone HTTP transport which is specified in the "classpath:META-INF/cxf/cxf-extension-http-jetty.xml" xml file, and you may not always want to do this.</p>

Modified: websites/production/cxf/content/docs/features.html
==============================================================================
--- websites/production/cxf/content/docs/features.html (original)
+++ websites/production/cxf/content/docs/features.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Features">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Features
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Features
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- Features
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -126,47 +134,47 @@ Apache CXF -- Features
 <p>A Feature in CXF is a way of adding capabilities to a Server, Client or Bus. For example, you could add the ability to log messages for each of these objects, by configuring them with a LoggingFeature. To implement a Feature, you must subclass AbstractFeature below. By default the initialize methods all delegate to initializeProvider(InterceptorProvider), so if you're simply adding interceptors to a Server, Client, or Bus, this allows you to add them easily.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> <span class="code-keyword">abstract</span> class AbstractFeature {
-    <span class="code-keyword">public</span> void initialize(Server server, Bus bus) {
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public abstract class AbstractFeature {
+    public void initialize(Server server, Bus bus) {
         initializeProvider(server.getEndpoint(), bus);
     }
 
-    <span class="code-keyword">public</span> void initialize(Client client, Bus bus) {
+    public void initialize(Client client, Bus bus) {
         initializeProvider(client, bus);
     }
 
-    <span class="code-keyword">public</span> void initialize(Bus bus) {
+    public void initialize(Bus bus) {
         initializeProvider(bus, bus);
     }
 
-    <span class="code-keyword">protected</span> void initializeProvider(InterceptorProvider provider, Bus bus) {
-        <span class="code-comment">// you could customized the interceptors in the provider here
-</span>    }
+    protected void initializeProvider(InterceptorProvider provider, Bus bus) {
+        // you could customized the interceptors in the provider here
+    }
 
     /**
      * Convenience method to extract a feature by type from an active list.
      *
      * @param features the given feature list
      * @param type the feature type required
-     * @<span class="code-keyword">return</span> the feature of the specified type <span class="code-keyword">if</span> active
+     * @return the feature of the specified type if active
      */
-    <span class="code-keyword">public</span> <span class="code-keyword">static</span> &lt;T&gt; T getActive(List&lt;AbstractFeature&gt; features,
-                                  <span class="code-object">Class</span>&lt;T&gt; type) {
-        T active = <span class="code-keyword">null</span>;
-        <span class="code-keyword">if</span> (features != <span class="code-keyword">null</span>) {
-            <span class="code-keyword">for</span> (AbstractFeature feature : features) {
-                <span class="code-keyword">if</span> (type.isInstance(feature)) {
-                    active = type.<span class="code-keyword">cast</span>(feature);
-                    <span class="code-keyword">break</span>;
+    public static &lt;T&gt; T getActive(List&lt;AbstractFeature&gt; features,
+                                  Class&lt;T&gt; type) {
+        T active = null;
+        if (features != null) {
+            for (AbstractFeature feature : features) {
+                if (type.isInstance(feature)) {
+                    active = type.cast(feature);
+                    break;
                 }
             }
         }
-        <span class="code-keyword">return</span> active;
+        return active;
     }
 }
 
-</pre>
+]]></script>
 </div></div>
 
 <h1><a shape="rect" name="Features-WritingandconfiguretheFeature"></a>Writing and configure the Feature</h1>
@@ -178,24 +186,24 @@ Apache CXF -- Features
 <p>It is very easy to write a new feature, your feature just need to extends the AbstractFeature and implement initializeProvider or write customizing code for configuring client or server interceptors. Here is an example for implementing the logging feature.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class LoggingFeature <span class="code-keyword">extends</span> AbstractFeature {
-    <span class="code-keyword">private</span> <span class="code-keyword">static</span> <span class="code-keyword">final</span> <span class="code-object">int</span> DEFAULT_LIMIT = 100 * 1024;
-    <span class="code-keyword">private</span> <span class="code-keyword">static</span> <span class="code-keyword">final</span> LoggingInInterceptor IN = <span class="code-keyword">new</span> LoggingInInterceptor(DEFAULT_LIMIT);
-    <span class="code-keyword">private</span> <span class="code-keyword">static</span> <span class="code-keyword">final</span> LoggingOutInterceptor OUT = <span class="code-keyword">new</span> LoggingOutInterceptor(DEFAULT_LIMIT);
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public class LoggingFeature extends AbstractFeature {
+    private static final int DEFAULT_LIMIT = 100 * 1024;
+    private static final LoggingInInterceptor IN = new LoggingInInterceptor(DEFAULT_LIMIT);
+    private static final LoggingOutInterceptor OUT = new LoggingOutInterceptor(DEFAULT_LIMIT);
 
-    <span class="code-object">int</span> limit = DEFAULT_LIMIT;
+    int limit = DEFAULT_LIMIT;
 
     @Override
-    <span class="code-keyword">protected</span> void initializeProvider(InterceptorProvider provider, Bus bus) {
-        <span class="code-keyword">if</span> (limit == DEFAULT_LIMIT) {
+    protected void initializeProvider(InterceptorProvider provider, Bus bus) {
+        if (limit == DEFAULT_LIMIT) {
             provider.getInInterceptors().add(IN);
             provider.getInFaultInterceptors().add(IN);
             provider.getOutInterceptors().add(OUT);
             provider.getOutFaultInterceptors().add(OUT);
-        } <span class="code-keyword">else</span> {
-            LoggingInInterceptor in = <span class="code-keyword">new</span> LoggingInInterceptor(limit);
-            LoggingOutInterceptor out = <span class="code-keyword">new</span> LoggingOutInterceptor(limit);
+        } else {
+            LoggingInInterceptor in = new LoggingInInterceptor(limit);
+            LoggingOutInterceptor out = new LoggingOutInterceptor(limit);
             provider.getInInterceptors().add(in);
             provider.getInFaultInterceptors().add(in);
             provider.getOutInterceptors().add(out);
@@ -204,100 +212,100 @@ Apache CXF -- Features
     }
 
     /**
-     * This function has no effect at <span class="code-keyword">this</span> time.
+     * This function has no effect at this time.
      * @param lim
      */
-    <span class="code-keyword">public</span> void setLimit(<span class="code-object">int</span> lim) {
+    public void setLimit(int lim) {
         limit = lim;
     }
 
     /**
-     * Retrieve the value set with {@link #setLimit(<span class="code-object">int</span>)}.
-     * @<span class="code-keyword">return</span>
+     * Retrieve the value set with {@link #setLimit(int)}.
+     * @return
      */
-    <span class="code-keyword">public</span> <span class="code-object">int</span> getLimit() {
-        <span class="code-keyword">return</span> limit;
+    public int getLimit() {
+        return limit;
     }
 }
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="Features-AddingaFeatureprogrammatically"></a>Adding a Feature programmatically</h2>
 
 <p>To add the feature to both server and client, you can use the Feature annotation on the service class</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 
-    @org.apache.cxf.feature.Features (features = <span class="code-quote">"org.apache.cxf.jaxws.service.AnnotationFeature"</span>)
-    <span class="code-keyword">public</span> class HelloServiceImpl <span class="code-keyword">implements</span> HelloService {
-        <span class="code-keyword">public</span> <span class="code-object">String</span> sayHi() {
-            <span class="code-keyword">return</span> <span class="code-quote">"HI"</span>;
+    @org.apache.cxf.feature.Features (features = "org.apache.cxf.jaxws.service.AnnotationFeature")
+    public class HelloServiceImpl implements HelloService {
+        public String sayHi() {
+            return "HI";
         }
     }
 
-</pre>
+]]></script>
 </div></div>
 
 <p>You can also add the feature to the server by using ServerFactoryBean, or the client by using the ClientFactoryBean</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.frontend.ServerFactoryBean;
-<span class="code-keyword">import</span> org.apache.cxf.frontend.ClientFactoryBean;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import org.apache.cxf.frontend.ServerFactoryBean;
+import org.apache.cxf.frontend.ClientFactoryBean;
 ...
-ServerFactoryBean serverFactoryBean = <span class="code-keyword">new</span> ServerFactoryBean();
-MyFeature myFeature = <span class="code-keyword">new</span> MyFeature();
-<span class="code-comment">// added my feature to the serverFactoryBean
-</span>serverFactoryBean.setFeatures(<span class="code-keyword">new</span> ArrayList().add(myFeature));
+ServerFactoryBean serverFactoryBean = new ServerFactoryBean();
+MyFeature myFeature = new MyFeature();
+// added my feature to the serverFactoryBean
+serverFactoryBean.setFeatures(new ArrayList().add(myFeature));
 ...
 
-ClientFactoryBean clientFactoryBean = <span class="code-keyword">new</span> ClientFactoryBean();
-clientFactoryBean.setFeatures(<span class="code-keyword">new</span> ArrayList().add(myFeature));
+ClientFactoryBean clientFactoryBean = new ClientFactoryBean();
+clientFactoryBean.setFeatures(new ArrayList().add(myFeature));
 ...
 
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="Features-AddingaFeaturethroughconfiguration"></a>Adding a Feature through configuration</h2>
 
 <p>Here are some examples on using configuration files to add features. You can find more information about the CXF provides features at <a shape="rect" href="featureslist.html" title="FeaturesList">FeaturesList</a>.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
-      <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
-      <span class="code-keyword">xmlns:cxf</span>=<span class="code-quote">"http://cxf.apache.org/core"</span>
-      <span class="code-keyword">xmlns:jaxws</span>=<span class="code-quote">"http://cxf.apache.org/jaxws"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+      xmlns:cxf="http://cxf.apache.org/core"
+      xmlns:jaxws="http://cxf.apache.org/jaxws"
       xsi:schemaLocation="
 http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"&gt;
-    <span class="code-tag"><span class="code-comment">&lt;!-- adding the feature to the bus--&gt;</span></span>
-    <span class="code-tag">&lt;cxf:bus&gt;</span>
-        <span class="code-tag">&lt;cxf:features&gt;</span>
-            <span class="code-tag">&lt;cxf:logging/&gt;</span>
-        <span class="code-tag">&lt;/cxf:features&gt;</span>
-    <span class="code-tag">&lt;/cxf:bus&gt;</span>
-
-    <span class="code-tag">&lt;bean id=<span class="code-quote">"myfeature"</span> class=<span class="code-quote">"com.example.Myfeature"</span>/&gt;</span>
-
-    <span class="code-tag"><span class="code-comment">&lt;!-- adding the feature to the client --&gt;</span></span>
-    &lt;jaxws:client id=<span class="code-quote">"client"</span>
-        serviceClass=<span class="code-quote">"org.apache.hello_world_soap_http.Greeter"</span>
-        wsdlLocation=<span class="code-quote">"wsdl/hello_world.wsdl"</span>&gt;
-        <span class="code-tag">&lt;jaxws:features&gt;</span>
-            <span class="code-tag">&lt;bean ref=<span class="code-quote">"myfeature"</span> /&gt;</span>
-        <span class="code-tag">&lt;jaxws:features&gt;</span>
-    <span class="code-tag">&lt;/jaxws:client&gt;</span>
-
-    <span class="code-tag"><span class="code-comment">&lt;!-- adding the feature to the server --&gt;</span></span>
-    <span class="code-tag">&lt;jaxws:server id=<span class="code-quote">"server"</span> serviceBean=<span class="code-quote">"org.apache.hello_world_soap_http.GreetImpl"</span> address=<span class="code-quote">"http://localhost:8080/simpleWithAddress"</span>&gt;</span>
-        <span class="code-tag">&lt;jaxws:features&gt;</span>
-            <span class="code-tag">&lt;bean class=<span class="code-quote">"com.example.Myfeature"</span>/&gt;</span>
-        <span class="code-tag">&lt;/jaxws:features&gt;</span>
-    <span class="code-tag">&lt;/jaxws:server&gt;</span>
+    &lt;!-- adding the feature to the bus--&gt;
+    &lt;cxf:bus&gt;
+        &lt;cxf:features&gt;
+            &lt;cxf:logging/&gt;
+        &lt;/cxf:features&gt;
+    &lt;/cxf:bus&gt;
+
+    &lt;bean id="myfeature" class="com.example.Myfeature"/&gt;
+
+    &lt;!-- adding the feature to the client --&gt;
+    &lt;jaxws:client id="client"
+        serviceClass="org.apache.hello_world_soap_http.Greeter"
+        wsdlLocation="wsdl/hello_world.wsdl"&gt;
+        &lt;jaxws:features&gt;
+            &lt;bean ref="myfeature" /&gt;
+        &lt;jaxws:features&gt;
+    &lt;/jaxws:client&gt;
+
+    &lt;!-- adding the feature to the server --&gt;
+    &lt;jaxws:server id="server" serviceBean="org.apache.hello_world_soap_http.GreetImpl" address="http://localhost:8080/simpleWithAddress"&gt;
+        &lt;jaxws:features&gt;
+            &lt;bean class="com.example.Myfeature"/&gt;
+        &lt;/jaxws:features&gt;
+    &lt;/jaxws:server&gt;
 
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+&lt;/beans&gt;
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/featureslist.html
==============================================================================
--- websites/production/cxf/content/docs/featureslist.html (original)
+++ websites/production/cxf/content/docs/featureslist.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - FeaturesList">
+
+
     <title>
 Apache CXF -- FeaturesList
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- FeaturesList
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- FeaturesList
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/frontends.html
==============================================================================
--- websites/production/cxf/content/docs/frontends.html (original)
+++ websites/production/cxf/content/docs/frontends.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Frontends">
+
+
     <title>
 Apache CXF -- Frontends
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Frontends
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- Frontends
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/generic-tracing-component.html
==============================================================================
--- websites/production/cxf/content/docs/generic-tracing-component.html (original)
+++ websites/production/cxf/content/docs/generic-tracing-component.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Generic Tracing component">
+
+
     <title>
 Apache CXF -- Generic Tracing component
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Generic Tracing component
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- Generic Tracing component
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -140,14 +138,14 @@ The tracing should support a flow id tha
 
 
 
-<map name="GLIFFY_MAP_25202745_Tracing_Component"></map>
-<table width="100%"><tr><td align="left" colspan="1" rowspan="1">
-            <table><caption align="bottom">
+<map id="gliffy-map-25591961-3605" name="gliffy-map-25591961-3605"></map>
+<table class="gliffy-macro-table" width="100%"><tr><td align="left" colspan="1" rowspan="1">
+            <table class="gliffy-macro-inner-table"><caption align="bottom">
                     
                         
-                        <a shape="rect" href="https://cwiki.apache.org/confluence/plugins/gliffy/viewlargediagram.action?name=Tracing Component&amp;ceoid=25202745&amp;key=CXF20DOC&amp;pageId=25202745" target="">Full Size</a>
+                        <a shape="rect" href="https://cwiki.apache.org/confluence/plugins/gliffy/viewlargediagram.action?name=Tracing Component&amp;ceoid=25202745&amp;key=CXF20DOC&amp;pageId=25202745" target="_self">Full Size</a>
                                     </caption><tr><td colspan="1" rowspan="1">
-                        <img style="border: none; width: 1411px; height: 510px;" usemap="#GLIFFY_MAP_25202745_Tracing_Component" src="generic-tracing-component.data/Tracing+Component.png" alt="A&amp;#32;Gliffy&amp;#32;Diagram&amp;#32;named&amp;#58;&amp;#32;Tracing&amp;#32;Component">
+                        <img class="gliffy-macro-image" style="border: none; width: 1411px;" usemap="#gliffy-map-25591961-3605" src="https://cwiki.apache.org/confluence/download/attachments/25202745/Tracing+Component.png?version=1&amp;modificationDate=1298355725000" alt="">
                     </td></tr></table>
         </td></tr></table>
 
@@ -156,14 +154,14 @@ The tracing should support a flow id tha
 
 
 
-<map name="GLIFFY_MAP_25202745_Design_Flow_id"></map>
-<table width="100%"><tr><td align="left" colspan="1" rowspan="1">
-            <table><caption align="bottom">
+<map id="gliffy-map-25591966-630" name="gliffy-map-25591966-630"></map>
+<table class="gliffy-macro-table" width="100%"><tr><td align="left" colspan="1" rowspan="1">
+            <table class="gliffy-macro-inner-table"><caption align="bottom">
                     
                         
-                        <a shape="rect" href="https://cwiki.apache.org/confluence/plugins/gliffy/viewlargediagram.action?name=Design Flow id&amp;ceoid=25202745&amp;key=CXF20DOC&amp;pageId=25202745" target="">Full Size</a>
+                        <a shape="rect" href="https://cwiki.apache.org/confluence/plugins/gliffy/viewlargediagram.action?name=Design Flow id&amp;ceoid=25202745&amp;key=CXF20DOC&amp;pageId=25202745" target="_self">Full Size</a>
                                     </caption><tr><td colspan="1" rowspan="1">
-                        <img style="border: none; width: 565px; height: 276px;" usemap="#GLIFFY_MAP_25202745_Design_Flow_id" src="generic-tracing-component.data/Design+Flow+id.png" alt="A&amp;#32;Gliffy&amp;#32;Diagram&amp;#32;named&amp;#58;&amp;#32;Design&amp;#32;Flow&amp;#32;id">
+                        <img class="gliffy-macro-image" style="border: none; width: 565px;" usemap="#gliffy-map-25591966-630" src="https://cwiki.apache.org/confluence/download/attachments/25202745/Design+Flow+id.png?version=2&amp;modificationDate=1298893753000" alt="">
                     </td></tr></table>
         </td></tr></table>
 

Modified: websites/production/cxf/content/docs/how-do-i-develop-a-client.html
==============================================================================
--- websites/production/cxf/content/docs/how-do-i-develop-a-client.html (original)
+++ websites/production/cxf/content/docs/how-do-i-develop-a-client.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,17 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - How do I develop a client?">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- How do I develop a client?
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- How do I develop a client?
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +101,7 @@ Apache CXF -- How do I develop a client?
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -138,12 +145,12 @@ div.rbtoc1253386510934 li {margin-left: 
 
 <p>One of the most common scenarios is that where you have a service which you may or not manage and this service has a WSDL. In this case you'll often want to generate a client from the WSDL. This provides you with a strongly typed interface by which to interact with the service. Once you've generated a client, typical usage of it will look like so:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-HelloService service = <span class="code-keyword">new</span> HelloService();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+HelloService service = new HelloService();
 Hello client = service.getHelloHttpPort();
 
-<span class="code-object">String</span> result = client.sayHi(<span class="code-quote">"Joe"</span>);
-</pre>
+String result = client.sayHi("Joe");
+]]></script>
 </div></div>
 
 <p>The WSDL2Java tool will generate JAX-WS clients from your WSDL. You can run WSDL2java one of three ways:</p>
@@ -156,37 +163,37 @@ Hello client = service.getHelloHttpPort(
 
 <p>Instead of using a wsdl2java-generated stub client directly, you can use Service.create to create Service instances, the following code illustrates this process:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> java.net.URL;
-<span class="code-keyword">import</span> javax.xml.ws.Service;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import java.net.URL;
+import javax.xml.ws.Service;
 ...
 
-URL wsdlURL = <span class="code-keyword">new</span> URL(<span class="code-quote">"http:<span class="code-comment">//localhost/hello?wsdl"</span>);
-</span>QName SERVICE_NAME = <span class="code-keyword">new</span> QName(<span class="code-quote">"http:<span class="code-comment">//apache.org/hello_world_soap_http"</span>, <span class="code-quote">"SOAPService"</span>);
-</span>Service service = Service.create(wsdlURL, SERVICE_NAME);
+URL wsdlURL = new URL("http://localhost/hello?wsdl");
+QName SERVICE_NAME = new QName("http://apache.org/hello_world_soap_http", "SOAPService");
+Service service = Service.create(wsdlURL, SERVICE_NAME);
 Greeter client = service.getPort(Greeter.class);
-<span class="code-object">String</span> result = client.greetMe(<span class="code-quote">"test"</span>);
-</pre>
+String result = client.greetMe("test");
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="HowdoIdevelopaclient%3F-JAXWSDispatchAPIs"></a>JAX-WS Dispatch APIs</h2>
 
 <p>JAX-WS provides the "dispatch" mechanism which makes it easy to dynamically invoke services which you have not generated a client for. Using the Dispatch mechanism you can create messages (which can be JAXB objects, Source objects, or a SAAJMessage) and dispatch them to the server. A simple example might look like this:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> java.net.URL;
-<span class="code-keyword">import</span> javax.xml.transform.Source;
-<span class="code-keyword">import</span> javax.xml.ws.Dispatch;
-<span class="code-keyword">import</span> javax.xml.ws.Service;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import java.net.URL;
+import javax.xml.transform.Source;
+import javax.xml.ws.Dispatch;
+import javax.xml.ws.Service;
 ...
 
-URL wsdlURL = <span class="code-keyword">new</span> URL(<span class="code-quote">"http:<span class="code-comment">//localhost/hello?wsdl"</span>);
-</span>Service service = Service.create(wsdlURL, <span class="code-keyword">new</span> QName(<span class="code-quote">"HelloService"</span>));
-Dispatch&lt;Source&gt; disp = service.createDispatch(<span class="code-keyword">new</span> QName(<span class="code-quote">"HelloPort"</span>), Source.class, Service.Mode.PAYLOAD);
+URL wsdlURL = new URL("http://localhost/hello?wsdl");
+Service service = Service.create(wsdlURL, new QName("HelloService"));
+Dispatch&lt;Source&gt; disp = service.createDispatch(new QName("HelloPort"), Source.class, Service.Mode.PAYLOAD);
 
-Source request = <span class="code-keyword">new</span> StreamSource(<span class="code-quote">"&lt;hello/&gt;"</span>)
+Source request = new StreamSource("&lt;hello/&gt;")
 Source response = disp.invoke(request);
-</pre>
+]]></script>
 </div></div>
 
 <p>NOTE: you can also use dispatches without a WSDL.</p>
@@ -202,10 +209,10 @@ Source response = disp.invoke(request);
 
 <p>CXF includes a Client interface which allows you to invoke operations and pass parameters for those operations. For instance:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 Client client = ....;
-<span class="code-object">Object</span>[] result = client.invoke(<span class="code-quote">"sayHi"</span>, <span class="code-quote">"Dan"</span>);
-</pre>
+Object[] result = client.invoke("sayHi", "Dan");
+]]></script>
 </div></div>
 <p>There are two ways to create Clients at runtime. The first choice is to use the ClientFactoryBean or JaxWsClientFactoryBean classes. These will create proxy objects for the SEI for the service. These proxies cannot handle complex objects. </p>
 

Modified: websites/production/cxf/content/docs/how-do-i-develop-a-service.html
==============================================================================
--- websites/production/cxf/content/docs/how-do-i-develop-a-service.html (original)
+++ websites/production/cxf/content/docs/how-do-i-develop-a-service.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,17 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - How do I develop a service?">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- How do I develop a service?
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- How do I develop a service
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +101,7 @@ Apache CXF -- How do I develop a service
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -139,14 +146,14 @@ Apache CXF -- How do I develop a service
 
 <p>Here's a simple example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 @WebService
-<span class="code-keyword">public</span> class Hello {
-  <span class="code-keyword">public</span> <span class="code-object">String</span> sayHi(<span class="code-object">String</span> name) {
-    <span class="code-keyword">return</span> <span class="code-quote">"Hello "</span> + name;
+public class Hello {
+  public String sayHi(String name) {
+    return "Hello " + name;
   }
 }
-</pre>
+]]></script>
 </div></div>
 <p>JAX-WS includes many more annotations as well such as:</p>
 <ul><li>@WebMethod - allows you to customize the operation name, exclude the operation from inclusion in the service, etc</li><li>@WebParam - allows you to customize a parameter's name, namespace, direction (IN or OUT), etc</li><li>@WebResult - allows you to customize the return value of the web service call</li></ul>
@@ -178,14 +185,14 @@ Apache CXF -- How do I develop a service
 
 <p>Here's a simple example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 @WebServiceProvider
-<span class="code-keyword">public</span> class HelloProvider {
-  <span class="code-keyword">public</span> Source invoke(Source request) {
-    <span class="code-keyword">return</span> ....;
+public class HelloProvider {
+  public Source invoke(Source request) {
+    return ....;
   }
 }
-</pre>
+]]></script>
 </div></div>
 <p>Services are publish via one of two means:</p>
 <ul><li>The JAX-WS standard Endpoint APIs</li><li>CXF's XML configuration format - i.e. &lt;jaxws:endpoint ... /&gt;</li></ul>

Modified: websites/production/cxf/content/docs/how-do-i-integrate-my-application-with-cxf.html
==============================================================================
--- websites/production/cxf/content/docs/how-do-i-integrate-my-application-with-cxf.html (original)
+++ websites/production/cxf/content/docs/how-do-i-integrate-my-application-with-cxf.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - How do I integrate my application with CXF">
+
+
     <title>
 Apache CXF -- How do I integrate my application with CXF
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- How do I integrate my appl
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +92,7 @@ Apache CXF -- How do I integrate my appl
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>

Modified: websites/production/cxf/content/docs/how-it-works.html
==============================================================================
--- websites/production/cxf/content/docs/how-it-works.html (original)
+++ websites/production/cxf/content/docs/how-it-works.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - How It Works">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- How It Works
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- How It Works
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache Sofware Foundation"><img border="0" alt="ASF Logo" src="http://cxf.apache.org/images/asf-logo.png"></a>
 </td></tr></table>
-</div>
-          <!-- Banner -->
-        </div>
-      </div>
+</p></div>
+      <!-- Banner -->
       <div id="top-menu">
         <table border="0" cellpadding="1" cellspacing="0" width="100%">
           <tr>
@@ -94,7 +102,7 @@ Apache CXF -- How It Works
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -139,7 +147,7 @@ With xml element attachment in WSDL 1.1,
 
 <p>PolicyAttachments are flexible w.r.t. the type of domain expressions. Domain expressions are used to identify entities such as endpoints, operations or messages with which a policy can be associated:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;wsp:PolicyAttachment&gt;
     &lt;wsp:AppliesTo&gt; 
         &lt;x:DomainExpression/&gt; +
@@ -147,7 +155,7 @@ With xml element attachment in WSDL 1.1,
     (&lt;wsp:Policy&gt;...&lt;/wsp:Policy&gt; | 
           &lt;wsp:PolicyReference&gt;...&lt;/wsp:PolicyReference&gt;)
 &lt;/wsp:PolicyAttachment&gt;
-</pre>
+]]></script>
 </div></div>
 <p>Currently, CXF supports only domain expressions of type wsa:EndpointReferenceType: They allow to associate the policies or policy references in an attachment with an endpoint (by means of matching the endpoint's address with that in the EndpointReferenceType element). It is not possible however to associate a Policy with an operation or a message this way.<br clear="none">
 Support for other types of domain expressions can be plugged in by implementing the DomainExpressionBuilder interface and adding a corresponding bean to your configuration file (all DomainExpressionBuilder instances loaded that way will automatically register with the DomainExpressionBuilder and thus be considered in the process of parsing PolicyAttachment elements).</p>
@@ -205,14 +213,14 @@ When the effective message policy is not
 Given an assertion type that has attributes, and assuming there are two instances of assertions of this type, it is possible that the interceptor can assert one, but not the other. In any case, inability to support all assertions understood by the interceptor does not necessarily indicate a failure. As mentioned above in relation to pre-emptive interceptor installation, it is possible that the ones that cannot be supported do not in fact apply to the underlying message at all. <br clear="none">
 Typically the interceptor would strive at supporting as many of these assertions as possible however, and to do so it may avail of the AssertionBuilder's capability to compute a compatible assertion. For example, by scheduling an acknowledgement to be sent in 3 seconds, an RM interceptor would support both of the following RMAssertions:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;wsrmp:RMAssertion <span class="code-keyword">xmlns:wsrmp</span>=<span class="code-quote">"http://schemas.xmlsoap.org/ws/2005/02/rm/policy"</span>&gt;</span>
-    <span class="code-tag">&lt;wsrmp:AcknowledgementInterval Milliseconds=<span class="code-quote">"30000"</span>/&gt;</span>
-<span class="code-tag">&lt;/wsrmp:RMAssertion&gt;</span>
-<span class="code-tag">&lt;wsrmp:RMAssertion <span class="code-keyword">xmlns:wsrmp</span>=<span class="code-quote">"http://schemas.xmlsoap.org/ws/2005/02/rm/policy"</span>&gt;</span>
-    <span class="code-tag">&lt;wsrmp:AcknowledgementInterval Milliseconds=<span class="code-quote">"50000"</span>/&gt;</span>
-<span class="code-tag">&lt;/wsrmp:RMAssertion&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;wsrmp:RMAssertion xmlns:wsrmp="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"&gt;
+    &lt;wsrmp:AcknowledgementInterval Milliseconds="30000"/&gt;
+&lt;/wsrmp:RMAssertion&gt;
+&lt;wsrmp:RMAssertion xmlns:wsrmp="http://schemas.xmlsoap.org/ws/2005/02/rm/policy"&gt;
+    &lt;wsrmp:AcknowledgementInterval Milliseconds="50000"/&gt;
+&lt;/wsrmp:RMAssertion&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="HowItWorks-Verification"></a>Verification</h2>