cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r867253 [11/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...
Date Mon, 24 Jun 2013 17:10:57 GMT
Modified: websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html
==============================================================================
--- websites/production/cxf/content/docs/client-http-transport-including-ssl-support.html (original)
+++ websites/production/cxf/content/docs/client-http-transport-including-ssl-support.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 - Client HTTP Transport (including SSL support)">
+
+  <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 -- Client HTTP Transport (including SSL support)
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Client HTTP Transport (inc
     <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 -- Client HTTP Transport (inc
 
 
 <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>
@@ -129,17 +137,17 @@ Apache CXF -- Client HTTP Transport (inc
 <h2><a shape="rect" name="ClientHTTPTransport%28includingSSLsupport%29-BasicAuthentication"></a>Basic Authentication</h2>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
- &lt;conduit name=<span class="code-quote">"{http://example.com/}HelloWorldServicePort.http-conduit"</span>
-   <span class="code-keyword">xmlns:sec</span>=<span class="code-quote">"http://cxf.apache.org/configuration/security"</span>
-   xmlns=<span class="code-quote">"http://cxf.apache.org/transports/http/configuration"</span>&gt;
-   <span class="code-tag">&lt;authorization&gt;</span>
-      <span class="code-tag">&lt;sec:UserName&gt;</span>myuser<span class="code-tag">&lt;/sec:UserName&gt;</span>
-      <span class="code-tag">&lt;sec:Password&gt;</span>mypasswd<span class="code-tag">&lt;/sec:Password&gt;</span>
-      <span class="code-tag">&lt;sec:AuthorizationType&gt;</span>Basic<span class="code-tag">&lt;/sec:AuthorizationType&gt;</span>
-   <span class="code-tag">&lt;/authorization&gt;</span>
- <span class="code-tag">&lt;/conduit&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+ &lt;conduit name="{http://example.com/}HelloWorldServicePort.http-conduit"
+   xmlns:sec="http://cxf.apache.org/configuration/security"
+   xmlns="http://cxf.apache.org/transports/http/configuration"&gt;
+   &lt;authorization&gt;
+      &lt;sec:UserName&gt;myuser&lt;/sec:UserName&gt;
+      &lt;sec:Password&gt;mypasswd&lt;/sec:Password&gt;
+      &lt;sec:AuthorizationType&gt;Basic&lt;/sec:AuthorizationType&gt;
+   &lt;/authorization&gt;
+ &lt;/conduit&gt;
+]]></script>
 </div></div>
 
 <p>Note: The AuthorizationType element can be omitted if you're using Basic authentication, as above.</p>
@@ -177,11 +185,11 @@ and supply it to your application by set
 <p>The file should contain:</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[
 CXFClient {
-    com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=<span class="code-keyword">true</span>;
+    com.sun.security.auth.module.Krb5LoginModule required client=TRUE useTicketCache=true;
 };
-</pre>
+]]></script>
 </div></div>
 
 <p>Sample config:</p>
@@ -189,17 +197,17 @@ CXFClient {
 <p>Make sure the Authorization element contains the same name as the Section in the login.conf (here: CXFClient).</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>HTTP conduit configuration for spnego with single sign on</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
  ...
- &lt;conduit name=<span class="code-quote">"{http://example.com/}HelloWorldServicePort.http-conduit"</span>
-   xmlns=<span class="code-quote">"http://cxf.apache.org/transports/http/configuration"</span>&gt;
-   <span class="code-tag">&lt;authorization&gt;</span>
-      <span class="code-tag">&lt;AuthorizationType&gt;</span>Negotiate<span class="code-tag">&lt;/AuthorizationType&gt;</span>
-      <span class="code-tag">&lt;Authorization&gt;</span>CXFClient<span class="code-tag">&lt;/Authorization&gt;</span>
-   <span class="code-tag">&lt;/authorization&gt;</span>
- <span class="code-tag">&lt;/conduit&gt;</span>
+ &lt;conduit name="{http://example.com/}HelloWorldServicePort.http-conduit"
+   xmlns="http://cxf.apache.org/transports/http/configuration"&gt;
+   &lt;authorization&gt;
+      &lt;AuthorizationType&gt;Negotiate&lt;/AuthorizationType&gt;
+      &lt;Authorization&gt;CXFClient&lt;/Authorization&gt;
+   &lt;/authorization&gt;
+ &lt;/conduit&gt;
  ...
-</pre>
+]]></script>
 </div></div>
 
 <p>You can use UserName and Password in the above xml config if you want to log in explicitly. If you want to use the cached Ticket Granting Ticket then do not supply them.</p>
@@ -207,15 +215,15 @@ CXFClient {
 <p>On windows you will also have to make sure you allow the TGT to be used in Java. See: <a shape="rect" class="external-link" href="http://www.javaactivedirectory.com/?page_id=93" rel="nofollow">http://www.javaactivedirectory.com/?page_id=93</a></p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Switching to Kerberos OID instead of Spnego</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
  ...
- <span class="code-tag">&lt;jaxws:client&gt;</span>
-  <span class="code-tag">&lt;jaxws:properties&gt;</span>
-   <span class="code-tag">&lt;entry key=<span class="code-quote">"auth.spnego.useKerberosOid"</span> value=<span class="code-quote">"true"</span>/&gt;</span>
-  <span class="code-tag">&lt;/jaxws:properties&gt;</span> 
- <span class="code-tag">&lt;/jaxws:client&gt;</span>
+ &lt;jaxws:client&gt;
+  &lt;jaxws:properties&gt;
+   &lt;entry key="auth.spnego.useKerberosOid" value="true"/&gt;
+  &lt;/jaxws:properties&gt; 
+ &lt;/jaxws:client&gt;
  ...
-</pre>
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="ClientHTTPTransport%28includingSSLsupport%29-CredentialDelegation"></a>Credential Delegation</h3>
@@ -229,16 +237,16 @@ CXFClient {
 <p>Note in the case of reusing the existing credential, the policy configuration does not need to reference a login module name:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>HTTP conduit configuration for spnego with single sign on</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
  ...
- &lt;conduit name=<span class="code-quote">"{http://example.com/}HelloWorldServicePort.http-conduit"</span>
-   xmlns=<span class="code-quote">"http://cxf.apache.org/transports/http/configuration"</span>&gt;
-   <span class="code-tag">&lt;authorization&gt;</span>
-      <span class="code-tag">&lt;AuthorizationType&gt;</span>Negotiate<span class="code-tag">&lt;/AuthorizationType&gt;</span>
-   <span class="code-tag">&lt;/authorization&gt;</span>
- <span class="code-tag">&lt;/conduit&gt;</span>
+ &lt;conduit name="{http://example.com/}HelloWorldServicePort.http-conduit"
+   xmlns="http://cxf.apache.org/transports/http/configuration"&gt;
+   &lt;authorization&gt;
+      &lt;AuthorizationType&gt;Negotiate&lt;/AuthorizationType&gt;
+   &lt;/authorization&gt;
+ &lt;/conduit&gt;
  ...
-</pre>
+]]></script>
 </div></div>
 
 
@@ -252,32 +260,32 @@ CXFClient {
 bit which sets the username/password to use for NTLM is commented out.  If credentials are<br clear="none">
 missing jcifs will use the underlying NT credentials.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-comment">//Set the jcifs properties
-</span>jcifs.Config.setProperty(<span class="code-quote">"jcifs.smb.client.domain"</span>, <span class="code-quote">"ben.com"</span>);
-jcifs.Config.setProperty(<span class="code-quote">"jcifs.netbios.wins"</span>, <span class="code-quote">"xxx.xxx.xxx.xxx"</span>);
-jcifs.Config.setProperty(<span class="code-quote">"jcifs.smb.client.soTimeout"</span>, <span class="code-quote">"300000"</span>); <span class="code-comment">// 5 minutes
-</span>jcifs.Config.setProperty(<span class="code-quote">"jcifs.netbios.cachePolicy"</span>, <span class="code-quote">"1200"</span>); <span class="code-comment">// 20 minutes
-</span><span class="code-comment">//jcifs.Config.setProperty(<span class="code-quote">"jcifs.smb.client.username"</span>, <span class="code-quote">"myNTLogin"</span>);
-</span><span class="code-comment">//jcifs.Config.setProperty(<span class="code-quote">"jcifs.smb.client.password"</span>, <span class="code-quote">"secret"</span>);
-</span>
-<span class="code-comment">//Register the jcifs URL handler to enable NTLM
-</span>jcifs.Config.registerSmbURLHandler();
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+//Set the jcifs properties
+jcifs.Config.setProperty("jcifs.smb.client.domain", "ben.com");
+jcifs.Config.setProperty("jcifs.netbios.wins", "xxx.xxx.xxx.xxx");
+jcifs.Config.setProperty("jcifs.smb.client.soTimeout", "300000"); // 5 minutes
+jcifs.Config.setProperty("jcifs.netbios.cachePolicy", "1200"); // 20 minutes
+//jcifs.Config.setProperty("jcifs.smb.client.username", "myNTLogin");
+//jcifs.Config.setProperty("jcifs.smb.client.password", "secret");
+
+//Register the jcifs URL handler to enable NTLM
+jcifs.Config.registerSmbURLHandler();
+]]></script>
 </div></div>
 
 <p>Finally, you need to setup the CXF client to turn off chunking.   The reason is that the NTLM authentication requires a 3 part handshake which breaks the streaming.  </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-comment">//Turn off chunking so that NTLM can occur
-</span>Client client = ClientProxy.getClient(port);
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+//Turn off chunking so that NTLM can occur
+Client client = ClientProxy.getClient(port);
 HTTPConduit http = (HTTPConduit) client.getConduit();
-HTTPClientPolicy httpClientPolicy = <span class="code-keyword">new</span> HTTPClientPolicy();
+HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
 httpClientPolicy.setConnectionTimeout(36000);
-httpClientPolicy.setAllowChunking(<span class="code-keyword">false</span>);
+httpClientPolicy.setAllowChunking(false);
 http.setClient(httpClientPolicy);
-</pre>
+]]></script>
 </div></div>
 
 <p>Please also see <a shape="rect" class="external-link" href="https://cwiki.apache.org/confluence/display/CXF20DOC/Asynchronous+Client+HTTP+Transport">Asynchronous HTTP Conduit</a> for more information on NTLM.</p>
@@ -292,12 +300,12 @@ http.setClient(httpClientPolicy);
 
 <p>Here is a sample of what your conduit definition might look like:</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:sec</span>=<span class="code-quote">"http://cxf.apache.org/configuration/security"</span>
-  <span class="code-keyword">xmlns:http</span>=<span class="code-quote">"http://cxf.apache.org/transports/http/configuration"</span>
-  <span class="code-keyword">xmlns:jaxws</span>=<span class="code-quote">"http://java.sun.com/xml/ns/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:sec="http://cxf.apache.org/configuration/security"
+  xmlns:http="http://cxf.apache.org/transports/http/configuration"
+  xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
   xsi:schemaLocation="
       http://cxf.apache.org/configuration/security
       http://cxf.apache.org/schemas/configuration/security.xsd
@@ -306,51 +314,51 @@ http.setClient(httpClientPolicy);
       http://www.springframework.org/schema/beans
       http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"&gt;
 
-  <span class="code-tag">&lt;http:conduit name=<span class="code-quote">"{http://apache.org/hello_world}HelloWorld.http-conduit"</span>&gt;</span>
+  &lt;http:conduit name="{http://apache.org/hello_world}HelloWorld.http-conduit"&gt;
 
-    <span class="code-tag">&lt;http:tlsClientParameters&gt;</span>
-      <span class="code-tag">&lt;sec:keyManagers keyPassword=<span class="code-quote">"password"</span>&gt;</span>
-        &lt;sec:keyStore type=<span class="code-quote">"JKS"</span> password=<span class="code-quote">"password"</span>
-                      file=<span class="code-quote">"my/file/dir/Morpit.jks"</span>/&gt;
-      <span class="code-tag">&lt;/sec:keyManagers&gt;</span>
-      <span class="code-tag">&lt;sec:trustManagers&gt;</span>
-        &lt;sec:keyStore type=<span class="code-quote">"JKS"</span> password=<span class="code-quote">"password"</span>
-                      file=<span class="code-quote">"my/file/dir/Truststore.jks"</span>/&gt;
-      <span class="code-tag">&lt;/sec:trustManagers&gt;</span>
-      <span class="code-tag">&lt;sec:cipherSuitesFilter&gt;</span>
+    &lt;http:tlsClientParameters&gt;
+      &lt;sec:keyManagers keyPassword="password"&gt;
+        &lt;sec:keyStore type="JKS" password="password"
+                      file="my/file/dir/Morpit.jks"/&gt;
+      &lt;/sec:keyManagers&gt;
+      &lt;sec:trustManagers&gt;
+        &lt;sec:keyStore type="JKS" password="password"
+                      file="my/file/dir/Truststore.jks"/&gt;
+      &lt;/sec:trustManagers&gt;
+      &lt;sec:cipherSuitesFilter&gt;
         &lt;!-- these filters ensure that a ciphersuite with
              export-suitable or null encryption is used,
              but exclude anonymous Diffie-Hellman key change as
              this is vulnerable to man-in-the-middle attacks --&gt;
-        <span class="code-tag">&lt;sec:include&gt;</span>.*_EXPORT_.*<span class="code-tag">&lt;/sec:include&gt;</span>
-        <span class="code-tag">&lt;sec:include&gt;</span>.*_EXPORT1024_.*<span class="code-tag">&lt;/sec:include&gt;</span>
-        <span class="code-tag">&lt;sec:include&gt;</span>.*_WITH_DES_.*<span class="code-tag">&lt;/sec:include&gt;</span>
-        <span class="code-tag">&lt;sec:include&gt;</span>.*_WITH_AES_.*<span class="code-tag">&lt;/sec:include&gt;</span>
-        <span class="code-tag">&lt;sec:include&gt;</span>.*_WITH_NULL_.*<span class="code-tag">&lt;/sec:include&gt;</span>
-        <span class="code-tag">&lt;sec:exclude&gt;</span>.*_DH_anon_.*<span class="code-tag">&lt;/sec:exclude&gt;</span>
-      <span class="code-tag">&lt;/sec:cipherSuitesFilter&gt;</span>
-    <span class="code-tag">&lt;/http:tlsClientParameters&gt;</span>
-    <span class="code-tag">&lt;http:authorization&gt;</span>
-      <span class="code-tag">&lt;sec:UserName&gt;</span>Betty<span class="code-tag">&lt;/sec:UserName&gt;</span>
-      <span class="code-tag">&lt;sec:Password&gt;</span>password<span class="code-tag">&lt;/sec:Password&gt;</span>
-    <span class="code-tag">&lt;/http:authorization&gt;</span>
-    <span class="code-tag">&lt;http:client AutoRedirect=<span class="code-quote">"true"</span> Connection=<span class="code-quote">"Keep-Alive"</span>/&gt;</span>
+        &lt;sec:include&gt;.*_EXPORT_.*&lt;/sec:include&gt;
+        &lt;sec:include&gt;.*_EXPORT1024_.*&lt;/sec:include&gt;
+        &lt;sec:include&gt;.*_WITH_DES_.*&lt;/sec:include&gt;
+        &lt;sec:include&gt;.*_WITH_AES_.*&lt;/sec:include&gt;
+        &lt;sec:include&gt;.*_WITH_NULL_.*&lt;/sec:include&gt;
+        &lt;sec:exclude&gt;.*_DH_anon_.*&lt;/sec:exclude&gt;
+      &lt;/sec:cipherSuitesFilter&gt;
+    &lt;/http:tlsClientParameters&gt;
+    &lt;http:authorization&gt;
+      &lt;sec:UserName&gt;Betty&lt;/sec:UserName&gt;
+      &lt;sec:Password&gt;password&lt;/sec:Password&gt;
+    &lt;/http:authorization&gt;
+    &lt;http:client AutoRedirect="true" Connection="Keep-Alive"/&gt;
 
-  <span class="code-tag">&lt;/http:conduit&gt;</span>
+  &lt;/http:conduit&gt;
 
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+&lt;/beans&gt;
+]]></script>
 </div></div>
 <p>The first thing to notice is the "name" attribute on &lt;http:conduit&gt;. This allows CXF to associate this HTTP Conduit configuration with a particular WSDL Port. The name includes the service's namespace, the WSDL port name (as found in the wsdl:service section of the WSDL), and ".http-conduit". It follows this template: "{WSDL Namespace}portName.http-conduit".   Note:  it's the PORT name, not the service name.   Thus, it's likely something like "MyServicePort", not "MyService".   If you are having trouble getting the template to work, another (temporary) option for the name value is simply "*.http-conduit". </p>
 
 <p>Another option for the name attribute is a reg-ex expression (e.g., "http://localhost:*") for the ORIGINAL URL of the endpoint.   The configuration is matched at conduit creation so the address used in the WSDL or used for the JAX-WS Service.create(...) call can be used for the name.   For example, you can do:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-   <span class="code-tag">&lt;http:conduit name=<span class="code-quote">"http://localhost:8080/.*"</span>&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+   &lt;http:conduit name="http://localhost:8080/.*"&gt;
        ......
-   <span class="code-tag">&lt;/http:conduit&gt;</span>
-</pre>
+   &lt;/http:conduit&gt;
+]]></script>
 </div></div>
 <p>to configure a conduit for all interactions on localhost:8080.  If you have multiple clients interacting with different services on the same server, this is probably the easiest way to configure it.</p>
 
@@ -373,40 +381,40 @@ http.setClient(httpClientPolicy);
 
 <p>The elements used to configure an HTTP client are defined in the namespace <tt><a shape="rect" href="http://cxf.apache.org/transports/http/configuration">http://cxf.apache.org/transports/http/configuration</a></tt>. It is commonly referred to using the prefix <tt>http-conf</tt>. In order to use the HTTP configuration elements you will need to add the lines shown below to the beans element of your endpoint's configuration file. In addition, you will need to add the configuration elements' namespace to the <tt>xsi:schemaLocation</tt> attribute.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>HTTP Consumer Configuration Namespace</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;beans ...
-       <span class="code-keyword">xmlns:http-conf</span>="http://cxf.apache.org/transports/http/configuration
+       xmlns:http-conf="http://cxf.apache.org/transports/http/configuration
        ...
        xsi:schemaLocation="...
            http://cxf.apache.org/transports/http/configuration
            http://cxf.apache.org/schemas/configuration/http-conf.xsd
        ..."&gt;
-</pre>
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="ClientHTTPTransport%28includingSSLsupport%29-The%7B%7Bconduit%7D%7Delement"></a>The <tt>conduit</tt> element</h3>
 
 <p>You configure an HTTP client using the <tt>http-conf:conduit</tt> element and its children. The <tt>http-conf:conduit</tt> element takes a single attribute, <tt>name</tt>, that specifies the WSDL port element that corresponds to the endpoint. The value for the <tt>name</tt> attribute takes the form <em>portQName</em><tt>.http-conduit</tt>. For example, the code below shows the <tt>http-conf:conduit</tt> element that would be used to add configuration for an endpoint that was specified by the WSDL fragment <tt>&lt;port binding="widgetSOAPBinding" name="widgetSOAPPort&gt;</tt> if the endpoint's target namespace was <tt><a shape="rect" class="external-link" href="http://widgets.widgetvendor.net" rel="nofollow">http://widgets.widgetvendor.net</a></tt>.   Alternatively, the <tt>name</tt> attribute can be a regular expression to match a URL.  This allows configuration of conduits that are not used for purposes of WSDL based endpoints such as JAX-RS and for WSDL retrieval.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>http-conf:conduit Element</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 ...
-  <span class="code-tag">&lt;http-conf:conduit name=<span class="code-quote">"{http://widgets/widgetvendor.net}widgetSOAPPort.http-conduit"</span>&gt;</span>
+  &lt;http-conf:conduit name="{http://widgets/widgetvendor.net}widgetSOAPPort.http-conduit"&gt;
     ...
-  <span class="code-tag">&lt;/http-conf:conduit&gt;</span>
+  &lt;/http-conf:conduit&gt;
 
-  <span class="code-tag">&lt;http-conf:conduit name=<span class="code-quote">"*.http-conduit"</span>&gt;</span>
+  &lt;http-conf:conduit name="*.http-conduit"&gt;
   &lt;!-- you can also using the wild card to specify 
        the http-conduit that you want to configure --&gt;
     ...
-  <span class="code-tag">&lt;/http-conf:conduit&gt;</span>
+  &lt;/http-conf:conduit&gt;
 
-  <span class="code-tag">&lt;http-conf:conduit name=<span class="code-quote">"http://localhost:8080/.*"</span>&gt;</span>
+  &lt;http-conf:conduit name="http://localhost:8080/.*"&gt;
   &lt;!-- you can also using the reg-ex URL matching for 
        the http-conduit that you want to configure --&gt;
     ...
-  <span class="code-tag">&lt;/http-conf:conduit&gt;</span>
+  &lt;/http-conf:conduit&gt;
 ...
-</pre>
+]]></script>
 </div></div>
 
 
@@ -446,22 +454,22 @@ Language tags are regulated by the Inter
 
 <p>The example below shows a the configuration for an HTTP client that wants to keep its connection to the server open between requests, will only retransmit requests once per invocation, and cannot use chunking streams.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>HTTP Consumer Endpoint Configuration</b></div><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:http-conf</span>=<span class="code-quote">"http://cxf.apache.org/transports/http/configuration"</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:http-conf="http://cxf.apache.org/transports/http/configuration"
        xsi:schemaLocation="http://cxf.apache.org/transports/http/configuration
            http://cxf.apache.org/schemas/configuration/http-conf.xsd
            http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
 
-  <span class="code-tag">&lt;http-conf:conduit name=<span class="code-quote">"{http://apache.org/hello_world_soap_http}SoapPort.http-conduit"</span>&gt;</span>
-    &lt;http-conf:client Connection=<span class="code-quote">"Keep-Alive"</span>
-                      MaxRetransmits=<span class="code-quote">"1"</span>
-                      AllowChunking=<span class="code-quote">"false"</span> /&gt;
-  <span class="code-tag">&lt;/http-conf:conduit&gt;</span>
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+  &lt;http-conf:conduit name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit"&gt;
+    &lt;http-conf:client Connection="Keep-Alive"
+                      MaxRetransmits="1"
+                      AllowChunking="false" /&gt;
+  &lt;/http-conf:conduit&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div>
 <p>Again, see the <a shape="rect" href="configuration.html" title="Configuration">Configuration page</a> for information on how to get CXF to detect your configuration file.</p>
 
@@ -480,18 +488,18 @@ Language tags are regulated by the Inter
 <p>Sample : </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>HTTP conduit configuration disabling HTTP URL hostname verification (usage of localhost, etc)</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
  ...
  &lt;http-conf:conduit 
-     name=<span class="code-quote">"{http://example.com/}HelloWorldServicePort.http-conduit"</span>&gt;
+     name="{http://example.com/}HelloWorldServicePort.http-conduit"&gt;
 
-   <span class="code-tag"><span class="code-comment">&lt;!-- deactivate HTTPS url hostname verification (localhost, etc)    --&gt;</span></span>
-   <span class="code-tag"><span class="code-comment">&lt;!-- WARNING ! disableCNcheck=true should NOT be used in production --&gt;</span></span>
-   <span class="code-tag">&lt;http-conf:tlsClientParameters disableCNcheck=<span class="code-quote">"true"</span> /&gt;</span>
+   &lt;!-- deactivate HTTPS url hostname verification (localhost, etc)    --&gt;
+   &lt;!-- WARNING ! disableCNcheck=true should NOT be used in production --&gt;
+   &lt;http-conf:tlsClientParameters disableCNcheck="true" /&gt;
    ...
- <span class="code-tag">&lt;/http-conf:conduit&gt;</span>
+ &lt;/http-conf:conduit&gt;
  ...
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="ClientHTTPTransport%28includingSSLsupport%29-UsingWSDL"></a>Using WSDL</h2>
@@ -501,10 +509,10 @@ Language tags are regulated by the Inter
 
 <p>The WSDL extension elements used to configure an HTTP client are defined in the namespace <tt><a shape="rect" href="http://cxf.apache.org/transports/http/configuration">http://cxf.apache.org/transports/http/configuration</a></tt>. It is commonly referred to using the prefix <tt>http-conf</tt>. In order to use the HTTP configuration elements you will need to add the line shown below to the <tt>definitions</tt> element of your endpoint's WSDL document.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>HTTP Consumer WSDL Element's Namespace</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;definitions ...
-   <span class="code-keyword">xmlns:http-conf</span>="http://cxf.apache.org/transports/http/configuration
-</pre>
+   xmlns:http-conf="http://cxf.apache.org/transports/http/configuration
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="ClientHTTPTransport%28includingSSLsupport%29-The%7B%7Bclient%7D%7Delement"></a>The <tt>client</tt> element</h3>
@@ -515,14 +523,14 @@ Language tags are regulated by the Inter
 
 <p>The example below shows a WSDL fragment that configures an HTTP client to specify that it will not interact with caches.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>WSDL to Configure an HTTP Consumer Endpoint</b></div><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;service ...&gt;</span>
-  <span class="code-tag">&lt;port ...&gt;</span>
-    <span class="code-tag">&lt;soap:address ... /&gt;</span>
-    <span class="code-tag">&lt;http-conf:client CacheControl=<span class="code-quote">"no-cache"</span> /&gt;</span>
-  <span class="code-tag">&lt;/port&gt;</span>
-<span class="code-tag">&lt;/service&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;service ...&gt;
+  &lt;port ...&gt;
+    &lt;soap:address ... /&gt;
+    &lt;http-conf:client CacheControl="no-cache" /&gt;
+  &lt;/port&gt;
+&lt;/service&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="ClientHTTPTransport%28includingSSLsupport%29-Usingjavacode"></a>Using java code</h2>
@@ -531,77 +539,77 @@ Language tags are regulated by the Inter
 <p>First you need get the <a shape="rect" class="external-link" href="http://tinyurl.com/285zll" rel="nofollow">HTTPConduit</a> from the Proxy object or Client, then you can set the <a shape="rect" class="external-link" href="https://svn.apache.org/repos/asf/cxf/trunk/rt/transports/http/src/main/resources/schemas/configuration/http-conf.xsd">HTTPClientPolicy</a>, AuthorizationPolicy, ProxyAuthorizationPolicy, <a shape="rect" class="external-link" href="https://svn.apache.org/repos/asf/cxf/trunk/api/src/main/java/org/apache/cxf/configuration/jsse/TLSParameterBase.java">TLSClientParameters</a>, and/or <a shape="rect" class="external-link" href="https://svn.apache.org/repos/asf/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/http/HttpBasicAuthSupplier.java">HttpBasicAuthSupplier</a>.</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.endpoint.Client;
-  <span class="code-keyword">import</span> org.apache.cxf.frontend.ClientProxy;
-  <span class="code-keyword">import</span> org.apache.cxf.transport.http.HTTPConduit;
-  <span class="code-keyword">import</span> org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+  import org.apache.cxf.endpoint.Client;
+  import org.apache.cxf.frontend.ClientProxy;
+  import org.apache.cxf.transport.http.HTTPConduit;
+  import org.apache.cxf.transports.http.configuration.HTTPClientPolicy;
   ...
 
-  URL wsdl = getClass().getResource(<span class="code-quote">"wsdl/greeting.wsdl"</span>);
-  SOAPService service = <span class="code-keyword">new</span> SOAPService(wsdl, serviceName);
+  URL wsdl = getClass().getResource("wsdl/greeting.wsdl");
+  SOAPService service = new SOAPService(wsdl, serviceName);
   Greeter greeter = service.getPort(portName, Greeter.class);
 
-  <span class="code-comment">// Okay, are you sick of configuration files ?
-</span>  <span class="code-comment">// This will show you how to configure the http conduit dynamically
-</span>  Client client = ClientProxy.getClient(greeter);
+  // Okay, are you sick of configuration files ?
+  // This will show you how to configure the http conduit dynamically
+  Client client = ClientProxy.getClient(greeter);
   HTTPConduit http = (HTTPConduit) client.getConduit();
 
-  HTTPClientPolicy httpClientPolicy = <span class="code-keyword">new</span> HTTPClientPolicy();
+  HTTPClientPolicy httpClientPolicy = new HTTPClientPolicy();
 
   httpClientPolicy.setConnectionTimeout(36000);
-  httpClientPolicy.setAllowChunking(<span class="code-keyword">false</span>);
+  httpClientPolicy.setAllowChunking(false);
   httpClientPolicy.setReceiveTimeout(32000);
 
   http.setClient(httpClientPolicy);
 
   ...
-  greeter.sayHi(<span class="code-quote">"Hello"</span>);
-</pre>
+  greeter.sayHi("Hello");
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="ClientHTTPTransport%28includingSSLsupport%29-Howtooverridetheserviceaddress%3F"></a>How to override the service address ?</h3>
 
 <p>If you are using JAXWS API to create the proxy obejct, here is an example which is complete JAX-WS compliant code</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[
    URL wsdlURL = MyService.class.getClassLoader
-            .getResource (<span class="code-quote">"myService.wsdl"</span>);
-   QName serviceName = <span class="code-keyword">new</span> QName(<span class="code-quote">"urn:myService"</span>, <span class="code-quote">"MyService"</span>);
-   MyService service = <span class="code-keyword">new</span> MyService(wsdlURL, serviceName);
+            .getResource ("myService.wsdl");
+   QName serviceName = new QName("urn:myService", "MyService");
+   MyService service = new MyService(wsdlURL, serviceName);
    ServicePort client = service.getServicePort();
    BindingProvider provider = (BindingProvider)client;
-   <span class="code-comment">// You can set the address per request here
-</span>   provider.getRequestContext().put(
+   // You can set the address per request here
+   provider.getRequestContext().put(
         BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
-        <span class="code-quote">"http:<span class="code-comment">//my/<span class="code-keyword">new</span>/url/to/the/service"</span>);
-</span>
-</pre>
+        "http://my/new/url/to/the/service");
+
+]]></script>
 </div></div>
 
 <p>If you are using CXF ProxyFactoryBean to create the proxy object , you can do like this</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">   
-   JaxWsProxyFactoryBean proxyFactory = <span class="code-keyword">new</span> JaxWsProxyFactoryBean();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[   
+   JaxWsProxyFactoryBean proxyFactory = new JaxWsProxyFactoryBean();
    poxyFactory.setServiceClass(ServicePort.class);
-   <span class="code-comment">// you could set the service address with <span class="code-keyword">this</span> method
-</span>   proxyFactory.setAddress(<span class="code-quote">"theUrlyouwant"</span>);
+   // you could set the service address with this method
+   proxyFactory.setAddress("theUrlyouwant");
    ServicePort client = (ServicePort) proxyFactory.create();    
-</pre>
+]]></script>
 </div></div>
 
 <p>Here is another way which takes advantage of JAXWS's Service.addPort() API</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-   URL wsdlURL = MyService.class.getClassLoader.getResource(<span class="code-quote">"service2.wsdl"</span>);
-   QName serviceName = <span class="code-keyword">new</span> QName(<span class="code-quote">"urn:service2"</span>, <span class="code-quote">"MyService"</span>);
-   QName portName = <span class="code-keyword">new</span> QName(<span class="code-quote">"urn:service2"</span>, <span class="code-quote">"ServicePort"</span>);
-   MyService service = <span class="code-keyword">new</span> MyService(wsdlURL, serviceName);
-   <span class="code-comment">// You can add whatever address as you want
-</span>   service.addPort(portName, <span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/"</span>, <span class="code-quote">"http://the/<span class="code-keyword">new</span>/url/myService"</span>);
-</span>   <span class="code-comment">// Passing the SEI class that is generated by wsdl2java      
-</span>   ServicePort proxy = service.getPort(portName, SEI.class);
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+   URL wsdlURL = MyService.class.getClassLoader.getResource("service2.wsdl");
+   QName serviceName = new QName("urn:service2", "MyService");
+   QName portName = new QName("urn:service2", "ServicePort");
+   MyService service = new MyService(wsdlURL, serviceName);
+   // You can add whatever address as you want
+   service.addPort(portName, "http://schemas.xmlsoap.org/soap/", "http://the/new/url/myService");
+   // Passing the SEI class that is generated by wsdl2java      
+   ServicePort proxy = service.getPort(portName, SEI.class);
+]]></script>
 </div></div> 
 
 <h2><a shape="rect" name="ClientHTTPTransport%28includingSSLsupport%29-ClientCacheControlDirectives"></a>Client Cache Control Directives</h2>

Modified: websites/production/cxf/content/docs/coloc-feature.html
==============================================================================
--- websites/production/cxf/content/docs/coloc-feature.html (original)
+++ websites/production/cxf/content/docs/coloc-feature.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 - Coloc Feature">
+
+  <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 -- Coloc Feature
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Coloc Feature
     <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 -- Coloc Feature
 
 
 <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>
@@ -137,26 +145,26 @@ Apache CXF -- Coloc Feature
 <p>The easiest way to enable the coloc capabilities is to use the Coloc feature, either via the feature class of org.apache.cxf.binding.coloc.feature.ColocFeature or using the coloc namespace handler in spring.   You can enable the feature at the bus level like:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-   <span class="code-tag">&lt;cxf:bus&gt;</span>
-       <span class="code-tag">&lt;cxf:features&gt;</span>
-             <span class="code-tag">&lt;coloc:enableColoc/&gt;</span>
-       <span class="code-tag">&lt;/cxf:features&gt;</span>
-   <span class="code-tag">&lt;/cxf:bus&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+   &lt;cxf:bus&gt;
+       &lt;cxf:features&gt;
+             &lt;coloc:enableColoc/&gt;
+       &lt;/cxf:features&gt;
+   &lt;/cxf:bus&gt;
+]]></script>
 </div></div>
 
 <p>in which case all clients would check to see if the service is available locally and use them if possible.   However, you can configure it on specific clients if you just want it done in the particular cases where the restrictions above are acceptable:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-   &lt;jaxws:client name=<span class="code-quote">"{http://apache.org/hello_world_soap_http}SoapPort"</span>
-                   createdFromAPI=<span class="code-quote">"true"</span>&gt;
-         <span class="code-tag">&lt;jaxws:features&gt;</span>
-             <span class="code-tag">&lt;coloc:enableColoc/&gt;</span>
-         <span class="code-tag">&lt;/jaxws:features&gt;</span>
-    <span class="code-tag">&lt;/jaxws:client&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+   &lt;jaxws:client name="{http://apache.org/hello_world_soap_http}SoapPort"
+                   createdFromAPI="true"&gt;
+         &lt;jaxws:features&gt;
+             &lt;coloc:enableColoc/&gt;
+         &lt;/jaxws:features&gt;
+    &lt;/jaxws:client&gt;
+]]></script>
 </div></div>
 
 

Modified: websites/production/cxf/content/docs/configuration-for-developers.html
==============================================================================
--- websites/production/cxf/content/docs/configuration-for-developers.html (original)
+++ websites/production/cxf/content/docs/configuration-for-developers.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 - Configuration for Developers">
+
+
     <title>
 Apache CXF -- Configuration for Developers
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Configuration for Develope
     <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 -- Configuration for Develope
 
 
 <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/configuration-of-runtime-constructed-objects.html
==============================================================================
--- websites/production/cxf/content/docs/configuration-of-runtime-constructed-objects.html (original)
+++ websites/production/cxf/content/docs/configuration-of-runtime-constructed-objects.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 - Configuration of Runtime Constructed Objects">
+
+  <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 -- Configuration of Runtime Constructed Objects
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- Configuration of Runtime C
     <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 -- Configuration of Runtime C
 
 
 <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>
@@ -128,28 +135,28 @@ Apache CXF -- Configuration of Runtime C
 <p>However this can only occur for objects whose use you can anticipate. But when using the JAX-WS frontend to create a web service client:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-URL url = getClass().getResource(<span class="code-quote">"/HelloWorld.wsdl"</span>);
-<span class="code-object">String</span> ns = <span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/samples/HelloWorld"</span>;
-</span>QName serviceName = <span class="code-keyword">new</span> QName(ns, <span class="code-quote">"HelloWorldService"</span>);
-QName portName = <span class="code-keyword">new</span> QName(ns, <span class="code-quote">"HelloWorldPort"</span>);
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+URL url = getClass().getResource("/HelloWorld.wsdl");
+String ns = "http://cxf.apache.org/samples/HelloWorld";
+QName serviceName = new QName(ns, "HelloWorldService");
+QName portName = new QName(ns, "HelloWorldPort");
 Service service = Service.create(url, serviceName);
 HelloWorld proxy = service.getPort(portName, HelloWorld.class);
-</pre>
+]]></script>
 </div></div>
 
 <p>CXF needs to look at the wsdl to decide which binding or conduit to create for the proxy. For example, depending on the child elements of the port element in the HelloWorld.wsdl, this may be a JMS or an HTTP conduit. The creation of the actual conduit is therefore left to the CXF runtime instead of the IOC container. But we can still use the IOC container to configure this newly created object - all we need to do so is identify the object so the IOC container can look for a template bean. In the case of the HTTP conduit, the identification is via the port name, and the following bean definition:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;bean name=<span class="code-quote">"{http:<span class="code-comment">//cxf.apache.org/samples/HelloWorld}HelloWorldPort.http-conduit"</span> <span class="code-keyword">abstract</span>=<span class="code-quote">"<span class="code-keyword">true</span>"</span>&gt;
-</span>    &lt;property name=<span class="code-quote">"client"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean name="{http://cxf.apache.org/samples/HelloWorld}HelloWorldPort.http-conduit" abstract="true"&gt;
+    &lt;property name="client"&gt;
         &lt;value&gt;
-            &lt;http-conf:client DecoupledEndpoint=<span class="code-quote">"http:<span class="code-comment">//localhost:9999/decoupled_endpoint"</span>/&gt;
-</span>        &lt;/value&gt;
+            &lt;http-conf:client DecoupledEndpoint="http://localhost:9999/decoupled_endpoint"/&gt;
+        &lt;/value&gt;
     &lt;/property&gt;
 &lt;/bean&gt;
-</pre>
+]]></script>
 </div></div>
 <p>will cause the HTTP conduit (which is created when the proxy is created) to use a decoupled endpoint, i.e. expect responses on a separate incoming connection.<br clear="none">
 The registration of property editors for JAXB generated types such as HTTPClientPolicy (the value type for the client property) enables the bean configuration parser to handler the syntax above (the editors are registeres by the property editor registrars defined in the cxf-property-editors.xmk files).</p>
@@ -161,16 +168,16 @@ Please check the code for how these can 
 
 <p>Note that the container can inject dependencies (i.e. references to other objects) as well as actual property values (e.g. for the "client" property")  into such objects. So it is possible for example to include a custom handler only in the interceptor chain used for the HelloWorld endpoint:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;bean name=<span class="code-quote">"{http:<span class="code-comment">//cxf.apache.org/samples/HelloWorld}HelloWorldPort"</span> <span class="code-keyword">abstract</span>=<span class="code-quote">"<span class="code-keyword">true</span>"</span>&gt;
-</span>        &lt;property name=<span class="code-quote">"outInterceptors"</span>&gt;
-              &lt;property name=<span class="code-quote">"outInterceptors"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean name="{http://cxf.apache.org/samples/HelloWorld}HelloWorldPort" abstract="true"&gt;
+        &lt;property name="outInterceptors"&gt;
+              &lt;property name="outInterceptors"&gt;
               &lt;list&gt;
-                  &lt;ref bean=<span class="code-quote">"myLoggingInterceptor"</span>/&gt;
+                  &lt;ref bean="myLoggingInterceptor"/&gt;
              &lt;/list&gt;
         &lt;/property&gt;
  &lt;/bean&gt;
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/configuration-of-the-bus.html
==============================================================================
--- websites/production/cxf/content/docs/configuration-of-the-bus.html (original)
+++ websites/production/cxf/content/docs/configuration-of-the-bus.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 - Configuration of the Bus">
+
+  <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 -- Configuration of the Bus
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- Configuration of the Bus
     <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 -- Configuration of the Bus
 
 
 <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>
@@ -121,27 +128,25 @@ Apache CXF -- Configuration of the Bus
          <td height="100%">
            <!-- Content -->
            <div class="wiki-content">
-<div id="ConfluenceContent"><p>By creating a bus with your own bean configuration file, i.e. using the factory method </p>
-<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">SpringBeanFactory.createBus(<span class="code-quote">"mycxf.xml"</span>)</pre>
-</div></div>
-<p> you can complement or overwrite the bean definitions that CXF would use by default. In this case <tt>mycxf.xml</tt> must be on the classpath, but you can also use a factory method taking a URL that points to your bean configuration file.</p>
+<div id="ConfluenceContent"><p>By creating a bus with your own bean configuration file, i.e. using the factory method </p><div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[SpringBeanFactory.createBus("mycxf.xml")]]></script>
+</div></div> you can complement or overwrite the bean definitions that CXF would use by default. In this case <tt>mycxf.xml</tt> must be on the classpath, but you can also use a factory method taking a URL that points to your bean configuration file.
 
 <p>For example, by replacing the bus bean defined in <tt>cxf.xml</tt> with this bean in your configuration file:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;bean id=<span class="code-quote">"cxf"</span> class=<span class="code-quote">"org.apache.cxf.bus.spring.SpringBus"</span>&gt;
-    &lt;property name=<span class="code-quote">"outInterceptors"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="cxf" class="org.apache.cxf.bus.spring.SpringBus"&gt;
+    &lt;property name="outInterceptors"&gt;
            &lt;list&gt;
-              &lt;ref bean=<span class="code-quote">"myLoggingInterceptor"</span>/&gt;
+              &lt;ref bean="myLoggingInterceptor"/&gt;
            &lt;/list&gt;
         &lt;/property&gt;
 &lt;/bean&gt;
 
-&lt;bean id=<span class="code-quote">"myLogHandler"</span> class=<span class="code-quote">"org.mycompany.com.cxf.logging.LoggingInterceptor"</span>&gt;
+&lt;bean id="myLogHandler" class="org.mycompany.com.cxf.logging.LoggingInterceptor"&gt;
     ...
 &lt;/bean&gt;
-</pre>
+]]></script>
 </div></div>
 <p>the constructed bus will use a list of out interceptors consisting of your LoggingInterceptor (the default list of out interceptors at the bus level is empty).</p></div>
            </div>

Modified: websites/production/cxf/content/docs/configuration.html
==============================================================================
--- websites/production/cxf/content/docs/configuration.html (original)
+++ websites/production/cxf/content/docs/configuration.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 - Configuration">
+
+  <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 -- Configuration
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Configuration
     <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 -- Configuration
 
 
 <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>
@@ -136,28 +144,28 @@ Apache CXF -- Configuration
 
 <p>A CXF configuration file is really a <a shape="rect" class="external-link" href="http://springframework.org" rel="nofollow">Spring</a> configuration file, so all configuration files will start with the following:</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>
+<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"
        xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"&gt;
 
-<span class="code-tag"><span class="code-comment">&lt;!-- Configuration goes here! --&gt;</span></span>
+&lt;!-- Configuration goes here! --&gt;
 
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p>If you are new to Spring or do not desire to learn more about it, don't worry, you won't have to. The only piece of Spring that you will see is the &lt;beans&gt; element outlined above. Simply create this file, place it on your classpath, and add the configuration for a component you wish to configure (see below).  Note starting with CXF 2.6.0, Maven users will need to add the following dependency for the cxf.xml file to be read:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;dependency&gt;</span>
-   <span class="code-tag">&lt;groupId&gt;</span>org.springframework<span class="code-tag">&lt;/groupId&gt;</span>
-   <span class="code-tag">&lt;artifactId&gt;</span>spring-context<span class="code-tag">&lt;/artifactId&gt;</span>
-   <span class="code-tag">&lt;version&gt;</span>3.0.6.RELEASE<span class="code-tag">&lt;/version&gt;</span>  (or most recent supported)
-<span class="code-tag">&lt;/dependency&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;dependency&gt;
+   &lt;groupId&gt;org.springframework&lt;/groupId&gt;
+   &lt;artifactId&gt;spring-context&lt;/artifactId&gt;
+   &lt;version&gt;3.0.6.RELEASE&lt;/version&gt;  (or most recent supported)
+&lt;/dependency&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="Configuration-TypesofConfigurationfiles"></a>Types of Configuration files</h2>
@@ -167,21 +175,21 @@ http://www.springframework.org/schema/be
 <p>Placing a cxf.xml file (or other-named file as configured above) in the classpath of the Web Service Client can be used to configure client-specific functionality.  For example, the following client cxf.xml file turns off <a shape="rect" class="external-link" href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.4" rel="nofollow">chunked transfer encoding</a> for a specific service in requests and responses:</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:http-conf</span>=<span class="code-quote">"http://cxf.apache.org/transports/http/configuration"</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:http-conf="http://cxf.apache.org/transports/http/configuration"
        xsi:schemaLocation="http://cxf.apache.org/transports/http/configuration
            http://cxf.apache.org/schemas/configuration/http-conf.xsd
            http://www.springframework.org/schema/beans
            http://www.springframework.org/schema/beans/spring-beans.xsd"&gt;
 
   &lt;http-conf:conduit 
-           name=<span class="code-quote">"{urn:ebay:apis:eBLBaseComponents}Shopping.http-conduit"</span>&gt;
-      <span class="code-tag">&lt;http-conf:client AllowChunking=<span class="code-quote">"false"</span>/&gt;</span>
-  <span class="code-tag">&lt;/http-conf:conduit&gt;</span>
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+           name="{urn:ebay:apis:eBLBaseComponents}Shopping.http-conduit"&gt;
+      &lt;http-conf:client AllowChunking="false"/&gt;
+  &lt;/http-conf:conduit&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="Configuration-Serverconfigurationfiles"></a>Server configuration files</h3>
@@ -208,39 +216,39 @@ In some cases it also possible to achiev
 <div class="panelMacro"><table class="noteMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">Using this format is STRONGLY discouraged as it ties your configuration with internal CXF class names (like SpringBus).  It is much better to use the cxf:bus element described below</td></tr></table></div>
 
 <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>
+<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"
     xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"&gt;
 
-    <span class="code-tag">&lt;bean id=<span class="code-quote">"logInbound"</span> class=<span class="code-quote">"org.apache.cxf.interceptor.LoggingInInterceptor"</span>/&gt;</span>
-    <span class="code-tag">&lt;bean id=<span class="code-quote">"logOutbound"</span> class=<span class="code-quote">"org.apache.cxf.interceptor.LoggingOutInterceptor"</span>/&gt;</span>
+    &lt;bean id="logInbound" class="org.apache.cxf.interceptor.LoggingInInterceptor"/&gt;
+    &lt;bean id="logOutbound" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/&gt;
 	
-    <span class="code-tag">&lt;bean id=<span class="code-quote">"cxf"</span> class=<span class="code-quote">"org.apache.cxf.bus.spring.SpringBus"</span>&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">"logInbound"</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">"logOutbound"</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">"logOutbound"</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">"logInbound"</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> 
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+    &lt;bean id="cxf" class="org.apache.cxf.bus.spring.SpringBus"&gt;
+        &lt;property name="inInterceptors"&gt;
+            &lt;list&gt;
+                &lt;ref bean="logInbound"/&gt;
+            &lt;/list&gt;
+        &lt;/property&gt;
+        &lt;property name="outInterceptors"&gt;
+            &lt;list&gt;
+                &lt;ref bean="logOutbound"/&gt;
+            &lt;/list&gt;
+        &lt;/property&gt;
+        &lt;property name="outFaultInterceptors"&gt;
+            &lt;list&gt;
+                &lt;ref bean="logOutbound"/&gt;
+            &lt;/list&gt;
+        &lt;/property&gt;
+        &lt;property name="inFaultInterceptors"&gt;
+            &lt;list&gt;
+                &lt;ref bean="logInbound"/&gt;
+            &lt;/list&gt;
+        &lt;/property&gt;
+    &lt;/bean&gt; 
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p>In this example, you specify that the CXF bus is implemented by class org.apache.cxf.bus.spring.SpringBus, and that its id is "cxf". This is the default, but you have to re-iterate the fact if you want the bus to contribute the logging interceptors to the outbound and inbound interceptor chain for all client and server endpoints. You can avoid this duplication by using the next form of configuration:</p>
@@ -248,33 +256,33 @@ http://www.springframework.org/schema/be
 <p><b>Enabling message logging using custom CXF bean elements</b></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>
+<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"
       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"&gt;
 
-    <span class="code-tag">&lt;bean id=<span class="code-quote">"logInbound"</span> class=<span class="code-quote">"org.apache.cxf.interceptor.LoggingInInterceptor"</span>/&gt;</span>
-    <span class="code-tag">&lt;bean id=<span class="code-quote">"logOutbound"</span> class=<span class="code-quote">"org.apache.cxf.interceptor.LoggingOutInterceptor"</span>/&gt;</span>
+    &lt;bean id="logInbound" class="org.apache.cxf.interceptor.LoggingInInterceptor"/&gt;
+    &lt;bean id="logOutbound" class="org.apache.cxf.interceptor.LoggingOutInterceptor"/&gt;
 
-    <span class="code-tag">&lt;cxf:bus&gt;</span>
-        <span class="code-tag">&lt;cxf:inInterceptors&gt;</span>
-            <span class="code-tag">&lt;ref bean=<span class="code-quote">"logInbound"</span>/&gt;</span>
-        <span class="code-tag">&lt;/cxf:inInterceptors&gt;</span>
-        <span class="code-tag">&lt;cxf:outInterceptors&gt;</span>
-            <span class="code-tag">&lt;ref bean=<span class="code-quote">"logOutbound"</span>/&gt;</span>
-        <span class="code-tag">&lt;/cxf:outInterceptors&gt;</span>
-        <span class="code-tag">&lt;cxf:outFaultInterceptors&gt;</span>
-            <span class="code-tag">&lt;ref bean=<span class="code-quote">"logOutbound"</span>/&gt;</span>
-        <span class="code-tag">&lt;/cxf:outFaultInterceptors&gt;</span>
-        <span class="code-tag">&lt;cxf:inFaultInterceptors&gt;</span>
-            <span class="code-tag">&lt;ref bean=<span class="code-quote">"logInbound"</span>/&gt;</span>
-        <span class="code-tag">&lt;/cxf:inFaultInterceptors&gt;</span>
-    <span class="code-tag">&lt;/cxf:bus&gt;</span> 
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+    &lt;cxf:bus&gt;
+        &lt;cxf:inInterceptors&gt;
+            &lt;ref bean="logInbound"/&gt;
+        &lt;/cxf:inInterceptors&gt;
+        &lt;cxf:outInterceptors&gt;
+            &lt;ref bean="logOutbound"/&gt;
+        &lt;/cxf:outInterceptors&gt;
+        &lt;cxf:outFaultInterceptors&gt;
+            &lt;ref bean="logOutbound"/&gt;
+        &lt;/cxf:outFaultInterceptors&gt;
+        &lt;cxf:inFaultInterceptors&gt;
+            &lt;ref bean="logInbound"/&gt;
+        &lt;/cxf:inFaultInterceptors&gt;
+    &lt;/cxf:bus&gt; 
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p>Here, there is no need to specify the implementation class of the bus - nor the fact that the inInterceptors, outInterceptors, outFaultInterceptors, and inFaultInterceptors child elements are of type list. All of this information is embedded in the underlying schema and the bean definition parser that's invoked for &lt;cxf:bus&gt; elemens. Note that you have to specify the location of this schema in the schemaLocation attribute of the &lt;beans&gt; element so that Spring can validate the configuration file. But it gets even simpler in the next example:</p>
@@ -282,21 +290,21 @@ http://www.springframework.org/schema/be
 <p><b>Enabling message logging using the Logging feature</b></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>
+<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"
       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"&gt;
 
-    <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;/beans&gt;</span>
-</pre>
+    &lt;cxf:bus&gt;
+        &lt;cxf:features&gt;
+            &lt;cxf:logging/&gt;
+        &lt;/cxf:features&gt;
+    &lt;/cxf:bus&gt; 
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p>The following sections explain which of the above mechanisms (feature, custom CXF bean or plain Spring bean; or indeed others such as wsdl extensors or policy assertions) you can use to enable and/or configure the various components in CXF, and what your configuration options are:</p>



Mime
View raw message