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 [46/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/scalable-cxf-applications-using-jms-transport.html
==============================================================================
--- websites/production/cxf/content/scalable-cxf-applications-using-jms-transport.html (original)
+++ websites/production/cxf/content/scalable-cxf-applications-using-jms-transport.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 - Scalable CXF applications using JMS transport">
+
+  <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 -- Scalable CXF applications using JMS transport
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- Scalable CXF applications 
     <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 Software 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>
@@ -101,8 +108,8 @@ Apache CXF -- Scalable CXF applications 
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">
@@ -147,29 +154,26 @@ b) define jms address in port element.</
 
 <p>WSDL binding and port should look like:</p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;wsdl:definitions
-    xmlns:jms=<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/transports/jms"</span> 
-</span>...
-  &lt;wsdl:binding name=<span class="code-quote">"Greeter_SOAPBinding"</span> type=<span class="code-quote">"tns:Greeter"</span>&gt;
-        &lt;soap:binding style=<span class="code-quote">"document"</span> transport=<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/transports/jms"</span>/&gt;
-</span>...
- &lt;/wsdl:binding&gt;
-
-  &lt;wsdl:service name=<span class="code-quote">"JMSGreeterService"</span>&gt;
-        &lt;wsdl:port binding=<span class="code-quote">"tns:JMSGreeterPortBinding"</span> name=<span class="code-quote">"GreeterPort"</span>&gt;
-            &lt;jms:address
-                destinationStyle=<span class="code-quote">"queue"</span>
-                jndiConnectionFactoryName=<span class="code-quote">"ConnectionFactory"</span> 
-jndiDestinationName=<span class="code-quote">"dynamicQueues/test.cxf.jmstransport.queue"</span>&gt;
-               &lt;jms:JMSNamingProperty name=<span class="code-quote">"java.naming.factory.initial"</span> value=<span class="code-quote">"org.apache.activemq.jndi.ActiveMQInitialContextFactory"</span>/&gt;
-                  &lt;jms:JMSNamingProperty name=<span class="code-quote">"java.naming.provider.url"</span> value=<span class="code-quote">"tcp:<span class="code-comment">//localhost:61616"</span>/&gt;
-</span>           &lt;/jms:address&gt;
-        &lt;/wsdl:port&gt;
-   &lt;/wsdl:service&gt;
-</pre>
-</div></div>
+<div class="error"><span class="error">code: Invalid value specified for parameter lang</span> 
+<p>&lt;wsdl:definitions<br clear="none">
+    xmlns:jms="http://cxf.apache.org/transports/jms" <br clear="none">
+...<br clear="none">
+  &lt;wsdl:binding name="Greeter_SOAPBinding" type="tns:Greeter"&gt;<br clear="none">
+        &lt;soap:binding style="document" transport="http://cxf.apache.org/transports/jms"/&gt;<br clear="none">
+...<br clear="none">
+ &lt;/wsdl:binding&gt;</p>
+
+<p>  &lt;wsdl:service name="JMSGreeterService"&gt;<br clear="none">
+        &lt;wsdl:port binding="tns:JMSGreeterPortBinding" name="GreeterPort"&gt;<br clear="none">
+            &lt;jms:address<br clear="none">
+                destinationStyle="queue"<br clear="none">
+                jndiConnectionFactoryName="ConnectionFactory" <br clear="none">
+jndiDestinationName="dynamicQueues/test.cxf.jmstransport.queue"&gt;<br clear="none">
+               &lt;jms:JMSNamingProperty name="java.naming.factory.initial" value="org.apache.activemq.jndi.ActiveMQInitialContextFactory"/&gt;<br clear="none">
+                  &lt;jms:JMSNamingProperty name="java.naming.provider.url" value="tcp://localhost:61616"/&gt;<br clear="none">
+           &lt;/jms:address&gt;<br clear="none">
+        &lt;/wsdl:port&gt;<br clear="none">
+   &lt;/wsdl:service&gt;</p></div>
 <p>CXF clients and servers implemented in java or using Spring configuration magically work for this WSDL (under the hood CXF selects correct JMS Conduit and Destination based on address URL). <br clear="none">
 Details are described in <a shape="rect" href="http://cxf.apache.org/docs/jms-transport.html">http://cxf.apache.org/docs/jms-transport.html</a>.<br clear="none">
 CXF also delivers jms_queue and jms_pubsub examples illustrating using JMS transport with default settings for ActiveMQ.</p>
@@ -191,39 +195,33 @@ org.springframework.jms.listener.Default
 <h3><a shape="rect" name="ScalableCXFapplicationsusingJMStransport-CachingConnectionFactory"></a>CachingConnectionFactory </h3>
 <p>CachingConnectionFactory provides session pooling, consumers and producers cache. Bellow is a sample configuration of CachingConnectionFactory:</p>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;bean id=<span class="code-quote">"cachingConnectionFactory"</span> class=<span class="code-quote">"org.springframework.jms.connection.CachingConnectionFactory"</span>&gt;
-	&lt;property name=<span class="code-quote">"targetConnectionFactory"</span>&gt;
-		&lt;bean class=<span class="code-quote">"org.apache.activemq.ActiveMQConnectionFactory"</span>&gt;
-			&lt;property name=<span class="code-quote">"brokerURL"</span> value=<span class="code-quote">"tcp:<span class="code-comment">//localhost:61616"</span> /&gt;
-</span>		&lt;/bean&gt;
-	&lt;/property&gt;
-	&lt;property name=<span class="code-quote">"sessionCacheSize"</span> value=<span class="code-quote">"20"</span>/&gt;
-	&lt;property name=<span class="code-quote">"cacheProducers"</span> value=<span class="code-quote">"<span class="code-keyword">true</span>"</span>/&gt;
-	&lt;property name=<span class="code-quote">"cacheConsumers"</span> value=<span class="code-quote">"<span class="code-keyword">true</span>"</span>/&gt;
-&lt;/bean&gt;
-</pre>
-</div></div>
+<div class="error"><span class="error">code: Invalid value specified for parameter lang</span> 
+<p>&lt;bean id="cachingConnectionFactory" class="org.springframework.jms.connection.CachingConnectionFactory"&gt;<br clear="none">
+	&lt;property name="targetConnectionFactory"&gt;<br clear="none">
+		&lt;bean class="org.apache.activemq.ActiveMQConnectionFactory"&gt;<br clear="none">
+			&lt;property name="brokerURL" value="tcp://localhost:61616" /&gt;<br clear="none">
+		&lt;/bean&gt;<br clear="none">
+	&lt;/property&gt;<br clear="none">
+	&lt;property name="sessionCacheSize" value="20"/&gt;<br clear="none">
+	&lt;property name="cacheProducers" value="true"/&gt;<br clear="none">
+	&lt;property name="cacheConsumers" value="true"/&gt;<br clear="none">
+&lt;/bean&gt;</p></div>
 
 <p>As you can see it is possible to set the size of the session pool and switch on producers and consumers caching.</p>
 
 <h3><a shape="rect" name="ScalableCXFapplicationsusingJMStransport-DefaultMessageListenerContainer"></a>DefaultMessageListenerContainer</h3>
 <p>DefaultMessageListenerContainer enables getting messages from the destination in parallel, using multiple threads.<br clear="none">
 Configuration of DefaultMessageListenerContainer looks like:</p>
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;bean id=<span class="code-quote">"queueContainerListener"</span>
-	class=<span class="code-quote">"org.springframework.jms.listener.DefaultMessageListenerContainer"</span>&gt;
-		&lt;property name=<span class="code-quote">"connectionFactory"</span> ref=<span class="code-quote">"connectionFactory"</span> /&gt;
-		&lt;property name=<span class="code-quote">"destinationName"</span> value=<span class="code-quote">"Q_WM_OUT"</span> /&gt;
-		&lt;property name=<span class="code-quote">"messageListener"</span> ref=<span class="code-quote">"simpleListener"</span> /&gt;
-		&lt;property name=<span class="code-quote">"cacheLevel"</span> value=<span class="code-quote">"3"</span> /&gt;
-		&lt;property name=<span class="code-quote">"concurrentConsumers"</span> value=<span class="code-quote">"10"</span> /&gt;
-		&lt;property name=<span class="code-quote">"maxConcurrentConsumers"</span> value=<span class="code-quote">"50"</span> /&gt;
-&lt;/bean&gt;	
-</pre>
-</div></div>
+<div class="error"><span class="error">code: Invalid value specified for parameter lang</span> 
+<p>&lt;bean id="queueContainerListener"<br clear="none">
+	class="org.springframework.jms.listener.DefaultMessageListenerContainer"&gt;<br clear="none">
+		&lt;property name="connectionFactory" ref="connectionFactory" /&gt;<br clear="none">
+		&lt;property name="destinationName" value="Q_WM_OUT" /&gt;<br clear="none">
+		&lt;property name="messageListener" ref="simpleListener" /&gt;<br clear="none">
+		&lt;property name="cacheLevel" value="3" /&gt;<br clear="none">
+		&lt;property name="concurrentConsumers" value="10" /&gt;<br clear="none">
+		&lt;property name="maxConcurrentConsumers" value="50" /&gt;<br clear="none">
+&lt;/bean&gt;	</p></div>
 <p>It is possible to define here:</p>
 <ol><li>Initial and maximal number of concurrent consumers. This tells the Spring to always start up a initial number of consumers (concurrentConsumers). When a new message has been received, if the maxConcurrentConsumers has not been reached, then a new consumer is created to process the message.</li><li>Cache level (3- cache connections, sessions and consumers; 2 &#8211; cache connections and sessions, 1 &#8211; cache connections only)</li><li>Specify message listener class (implementing MessageListener interface) and connection factory.</li></ol>
 
@@ -241,37 +239,34 @@ CXF allows to configure details of the J
 
 <h3><a shape="rect" name="ScalableCXFapplicationsusingJMStransport-Serverconfiguration"></a>Server configuration</h3>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;bean id=<span class="code-quote">"cachingConnectionFactory"</span> class=<span class="code-quote">"org.springframework.jms.connection.CachingConnectionFactory"</span>&gt;
-	&lt;property name=<span class="code-quote">"targetConnectionFactory"</span>&gt;
-		&lt;bean class=<span class="code-quote">"org.apache.activemq.ActiveMQConnectionFactory"</span>&gt;
-			&lt;property name=<span class="code-quote">"brokerURL"</span> value=<span class="code-quote">"tcp:<span class="code-comment">//localhost:61616"</span> /&gt;
-</span>		&lt;/bean&gt;
-	&lt;/property&gt;
-	&lt;property name=<span class="code-quote">"sessionCacheSize"</span> value=<span class="code-quote">"20"</span>/&gt;
-	&lt;property name=<span class="code-quote">"cacheConsumers"</span> value=<span class="code-quote">"<span class="code-keyword">true</span>"</span>/&gt;
-&lt;/bean&gt;
-
-&lt;bean id=<span class="code-quote">"jmsConfig"</span> class=<span class="code-quote">"org.apache.cxf.transport.jms.JMSConfiguration"</span>
-		p:connectionFactory-ref=<span class="code-quote">"cachingConnectionFactory"</span>
-		p:cacheLevel=<span class="code-quote">"3"</span> 
-		p:concurrentConsumers=<span class="code-quote">"16"</span>
-		p:maxConcurrentConsumers=<span class="code-quote">"16"</span>
-		p:targetDestination=<span class="code-quote">"Q_HSC"</span>
-		p:wrapInSingleConnectionFactory=<span class="code-quote">"<span class="code-keyword">false</span>"</span>
-	/&gt;
-
-&lt;jaxws:endpoint id=<span class="code-quote">" JMSGreeterService"</span> address=<span class="code-quote">"jms:<span class="code-comment">//"</span>
-</span>		implementor=<span class="code-quote">"#JMSGreeterServiceImpl"</span>&gt;
-		&lt;jaxws:features&gt;
-			&lt;bean class=<span class="code-quote">"org.apache.cxf.transport.jms.JMSConfigFeature"</span>&gt;
-				&lt;p:jmsConfig-ref=<span class="code-quote">"jmsConfig"</span>&gt;
-			&lt;/bean&gt;
-		&lt;/jaxws:features&gt;
-&lt;/jaxws:endpoint&gt;
-</pre>
-</div></div>
+<div class="error"><span class="error">code: Invalid value specified for parameter lang</span> 
+<p>&lt;bean id="cachingConnectionFactory" class="org.springframework.jms.connection.CachingConnectionFactory"&gt;<br clear="none">
+	&lt;property name="targetConnectionFactory"&gt;<br clear="none">
+		&lt;bean class="org.apache.activemq.ActiveMQConnectionFactory"&gt;<br clear="none">
+			&lt;property name="brokerURL" value="tcp://localhost:61616" /&gt;<br clear="none">
+		&lt;/bean&gt;<br clear="none">
+	&lt;/property&gt;<br clear="none">
+	&lt;property name="sessionCacheSize" value="20"/&gt;<br clear="none">
+	&lt;property name="cacheConsumers" value="true"/&gt;<br clear="none">
+&lt;/bean&gt;</p>
+
+<p>&lt;bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration"<br clear="none">
+		p:connectionFactory-ref="cachingConnectionFactory"<br clear="none">
+		p:cacheLevel="3" <br clear="none">
+		p:concurrentConsumers="16"<br clear="none">
+		p:maxConcurrentConsumers="16"<br clear="none">
+		p:targetDestination="Q_HSC"<br clear="none">
+		p:wrapInSingleConnectionFactory="false"<br clear="none">
+	/&gt;</p>
+
+<p>&lt;jaxws:endpoint id=" JMSGreeterService" address="jms://"<br clear="none">
+		implementor="#JMSGreeterServiceImpl"&gt;<br clear="none">
+		&lt;jaxws:features&gt;<br clear="none">
+			&lt;bean class="org.apache.cxf.transport.jms.JMSConfigFeature"&gt;<br clear="none">
+				&lt;p:jmsConfig-ref="jmsConfig"&gt;<br clear="none">
+			&lt;/bean&gt;<br clear="none">
+		&lt;/jaxws:features&gt;<br clear="none">
+&lt;/jaxws:endpoint&gt;</p></div>
 
 <p>You can see that the endpoint configuration contains the JMSConfigFeature that has a JMSConfiguration property.<br clear="none">
 JMSConfiguration supports all settings that we have seen in Spring DefaultMessageListenerContainer: cached connection factory with session pool size, number of concurrent consumers, cache level. All settings of JMSConfiguration are described in details in <a shape="rect" href="http://cxf.apache.org/docs/using-the-jmsconfigfeature.html">http://cxf.apache.org/docs/using-the-jmsconfigfeature.html</a>.<br clear="none">
@@ -279,32 +274,29 @@ Using this configuration the server appl
 
 <h3><a shape="rect" name="ScalableCXFapplicationsusingJMStransport-Clientconfiguration"></a>Client configuration</h3>
 
-<div class="code panel" style="border-style: solid;border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;bean id=<span class="code-quote">"cachingConnectionFactory"</span> class=<span class="code-quote">"org.springframework.jms.connection.CachingConnectionFactory"</span>&gt;
-	&lt;property name=<span class="code-quote">"targetConnectionFactory"</span>&gt;
-		&lt;bean class=<span class="code-quote">"org.apache.activemq.ActiveMQConnectionFactory"</span>&gt;
-			&lt;property name=<span class="code-quote">"brokerURL"</span> value=<span class="code-quote">"tcp:<span class="code-comment">//localhost:61616"</span> /&gt;
-</span>		&lt;/bean&gt;
-	&lt;/property&gt;
-	&lt;property name=<span class="code-quote">"sessionCacheSize"</span> value=<span class="code-quote">"20"</span>/&gt;
-	&lt;property name=<span class="code-quote">"cacheProducers"</span> value=<span class="code-quote">"<span class="code-keyword">true</span>"</span>/&gt;
-&lt;/bean&gt;
-
-&lt;bean id=<span class="code-quote">"jmsConfig"</span> class=<span class="code-quote">"org.apache.cxf.transport.jms.JMSConfiguration"</span>
-p:connectionFactory-ref=<span class="code-quote">"connectionFactory"</span> p:targetDestination=<span class="code-quote">"Q_HSC"</span>
-		p:wrapInSingleConnectionFactory=<span class="code-quote">"<span class="code-keyword">false</span>"</span> /&gt; 
-
-&lt;jaxws:client id=<span class="code-quote">"JMSGreeterService"</span> address=<span class="code-quote">"jms:<span class="code-comment">//"</span>
-</span>	serviceClass="com.sopera.services.tpoc.eventgenerator.EventGenerator&#8221;&gt;
-		&lt;jaxws:features&gt;
-			&lt;bean class=<span class="code-quote">"org.apache.cxf.transport.jms.JMSConfigFeature"</span>&gt;
-				&lt;property name=<span class="code-quote">"jmsConfig"</span> ref=<span class="code-quote">"jmsConfig"</span>/&gt;
-			&lt;/bean&gt;
-		&lt;/jaxws:features&gt;
-	&lt;/jaxws:client&gt;
-</pre>
-</div></div>
+<div class="error"><span class="error">code: Invalid value specified for parameter lang</span> 
+<p>&lt;bean id="cachingConnectionFactory" class="org.springframework.jms.connection.CachingConnectionFactory"&gt;<br clear="none">
+	&lt;property name="targetConnectionFactory"&gt;<br clear="none">
+		&lt;bean class="org.apache.activemq.ActiveMQConnectionFactory"&gt;<br clear="none">
+			&lt;property name="brokerURL" value="tcp://localhost:61616" /&gt;<br clear="none">
+		&lt;/bean&gt;<br clear="none">
+	&lt;/property&gt;<br clear="none">
+	&lt;property name="sessionCacheSize" value="20"/&gt;<br clear="none">
+	&lt;property name="cacheProducers" value="true"/&gt;<br clear="none">
+&lt;/bean&gt;</p>
+
+<p>&lt;bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration"<br clear="none">
+p:connectionFactory-ref="connectionFactory" p:targetDestination="Q_HSC"<br clear="none">
+		p:wrapInSingleConnectionFactory="false" /&gt; </p>
+
+<p>&lt;jaxws:client id="JMSGreeterService" address="jms://"<br clear="none">
+	serviceClass="com.sopera.services.tpoc.eventgenerator.EventGenerator&#8221;&gt;<br clear="none">
+		&lt;jaxws:features&gt;<br clear="none">
+			&lt;bean class="org.apache.cxf.transport.jms.JMSConfigFeature"&gt;<br clear="none">
+				&lt;property name="jmsConfig" ref="jmsConfig"/&gt;<br clear="none">
+			&lt;/bean&gt;<br clear="none">
+		&lt;/jaxws:features&gt;<br clear="none">
+	&lt;/jaxws:client&gt;</p></div>
 
 <p>Client configuration looks very similar to the server one except two things:</p>
 <ol><li>CachingConnectionFactory  activates producers caching instead consumers caching;</li><li>JMSConfiguration hasn&#8217;t concurrent consumers settings: client concurrency is under application control and can be implemented using standard Java concurrency API.</li></ol>

Modified: websites/production/cxf/content/security-advisories.html
==============================================================================
--- websites/production/cxf/content/security-advisories.html (original)
+++ websites/production/cxf/content/security-advisories.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 - Security Advisories">
+
+
     <title>
 Apache CXF -- Security Advisories
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Security Advisories
     <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 Software 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>
@@ -101,8 +99,8 @@ Apache CXF -- Security Advisories
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">

Modified: websites/production/cxf/content/setting-up-eclipse-for-running-and-debugging-distributed-osgi.html
==============================================================================
--- websites/production/cxf/content/setting-up-eclipse-for-running-and-debugging-distributed-osgi.html (original)
+++ websites/production/cxf/content/setting-up-eclipse-for-running-and-debugging-distributed-osgi.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 - Setting up Eclipse for Running and Debugging Distributed OSGi">
+
+
     <title>
 Apache CXF -- Setting up Eclipse for Running and Debugging Distributed OSGi
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Setting up Eclipse for Run
     <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 Software 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>
@@ -101,8 +99,8 @@ Apache CXF -- Setting up Eclipse for Run
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">

Modified: websites/production/cxf/content/setting-up-eclipse.html
==============================================================================
--- websites/production/cxf/content/setting-up-eclipse.html (original)
+++ websites/production/cxf/content/setting-up-eclipse.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 - Setting up Eclipse">
+
+  <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 -- Setting up Eclipse
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- Setting up Eclipse
     <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 Software 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>
@@ -101,8 +108,8 @@ Apache CXF -- Setting up Eclipse
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">
@@ -211,7 +218,7 @@ Apache CXF -- Setting up Eclipse
 
 <ol><li>Explicitly on the command line.  When running eclipse:eclipse, add -Declipse.workspace=/home/dkulp/working/workspace</li><li>Update your Maven ~/.m2/settings.xml to have a active profile that always sets these variables. Thus, whenever the eclipse plugin looks for it, it know where the workspace is.   In settings.xml, do:
 <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;activeProfiles&gt;
         &lt;activeProfile&gt;extra&lt;/activeProfile&gt;
@@ -227,7 +234,7 @@ Apache CXF -- Setting up Eclipse
         &lt;/profile&gt;
     &lt;/profiles&gt;
 ...
-</pre>
+]]></script>
 </div></div>
 <p>By doing that, you can pretty much run eclipse:eclipse (or -Psetup.eclipse for cxf projects) at any point and it will always wire the new project to depend on the existing projects.</p></li></ol>
 

Modified: websites/production/cxf/content/site.html
==============================================================================
--- websites/production/cxf/content/site.html (original)
+++ websites/production/cxf/content/site.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 - Site">
+
+
     <title>
 Apache CXF -- Site
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Site
     <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 Software 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>
@@ -101,8 +99,8 @@ Apache CXF -- Site
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">

Modified: websites/production/cxf/content/source-repository.html
==============================================================================
--- websites/production/cxf/content/source-repository.html (original)
+++ websites/production/cxf/content/source-repository.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 - Source Repository">
+
+  <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 -- Source Repository
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- Source Repository
     <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 Software 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>
@@ -101,8 +108,8 @@ Apache CXF -- Source Repository
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">
@@ -154,45 +161,45 @@ Apache CXF -- Source Repository
 
 <p>The source code can be checked out anonymously over HTTP by doing:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-svn co http:<span class="code-comment">//svn.apache.org/repos/asf/cxf/trunk cxf</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+svn co http://svn.apache.org/repos/asf/cxf/trunk cxf
+]]></script>
 </div></div>
 <p>Committers can check out the code over HTTPS:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-svn co https:<span class="code-comment">//svn.apache.org/repos/asf/cxf/trunk cxf</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+svn co https://svn.apache.org/repos/asf/cxf/trunk cxf
+]]></script>
 </div></div>
 <p>Committers needing to check out a <a shape="rect" class="external-link" href="http://svn.apache.org/viewvc/cxf/branches/">specific branch</a> can do so as follows:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-svn co https:<span class="code-comment">//svn.apache.org/repos/asf/cxf/branches/{branch name} cxf</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+svn co https://svn.apache.org/repos/asf/cxf/branches/{branch name} cxf
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="SourceRepository-Settingupyoursubversionclient"></a>Setting up your subversion client</h2>
 
 <p>When adding files to subversion, it's important that your subversion client is properly setup to the appropriate subversion properties are set.  The client can do it automatically by modifying the auto-props section of the subversion config file.   Use the contents of:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-http:<span class="code-comment">//svn.apache.org/repos/asf/cxf/trunk/etc/svn-auto-props</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+http://svn.apache.org/repos/asf/cxf/trunk/etc/svn-auto-props
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="SourceRepository-Usinggit"></a>Using git</h2>
 
 <p>Apache also maintains a git mirror of the svn repository.   You can clone the git repository via:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-git clone git:<span class="code-comment">//git.apache.org/cxf.git</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+git clone git://git.apache.org/cxf.git
+]]></script>
 </div></div>
 <p>or</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-git clone http:<span class="code-comment">//git.apache.org/cxf.git</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+git clone http://git.apache.org/cxf.git
+]]></script>
 </div></div>
 
 <p>For committers/developers interested  in using git for CXF trunk development, Apache has some documentation:</p>

Modified: websites/production/cxf/content/special-thanks.html
==============================================================================
--- websites/production/cxf/content/special-thanks.html (original)
+++ websites/production/cxf/content/special-thanks.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 - Special Thanks">
+
+
     <title>
 Apache CXF -- Special Thanks
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Special Thanks
     <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 Software 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>
@@ -101,8 +99,8 @@ Apache CXF -- Special Thanks
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">

Modified: websites/production/cxf/content/support.html
==============================================================================
--- websites/production/cxf/content/support.html (original)
+++ websites/production/cxf/content/support.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 - Support">
+
+
     <title>
 Apache CXF -- Support
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Support
     <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 Software 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>
@@ -101,8 +99,8 @@ Apache CXF -- Support
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">

Modified: websites/production/cxf/content/testing-debugging.html
==============================================================================
--- websites/production/cxf/content/testing-debugging.html (original)
+++ websites/production/cxf/content/testing-debugging.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 - Testing-Debugging">
+
+  <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 -- Testing-Debugging
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- Testing-Debugging
     <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 Software 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>
@@ -101,8 +108,8 @@ Apache CXF -- Testing-Debugging
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">
@@ -157,10 +164,10 @@ Apache CXF -- Testing-Debugging
 <p>There are generally two ways of running a test in a debugger.</p>
 <ol><li>Within the IDE.  If you <a shape="rect" href="setting-up-eclipse.html" title="Setting up Eclipse">setup eclipse</a> properly, almost all the tests are runnable directly in eclipse.   Right click on the test and select "Run As -&gt; JUnit Test" (or "Debug As").   The test should just run.</li><li>Externally via jpda.   This is much harder.  By default, mvn will fork the unit tests into a JVM that doesn't have JPDA enabled.   However, it can be done.   First, set your MAVEN_OPTS like:
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-export JPDA_OPTS=<span class="code-quote">"-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"</span>
-export MAVEN_OPTS=<span class="code-quote">"-XX:MaxPermSize=192m -Xmx512M $JPDA_OPTS"</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+export JPDA_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n"
+export MAVEN_OPTS="-XX:MaxPermSize=192m -Xmx512M $JPDA_OPTS"
+]]></script>
 </div></div>
 <p>Then you would need to run the test like "mvn test -Dtest=MyTest -Dsurefire.fork.mode=never".  When mvn starts, you can attach your external debugger to it and assign breakpoints and such.</p></li></ol>
 

Modified: websites/production/cxf/content/using-ws-policy-in-cxf-projects.html
==============================================================================
--- websites/production/cxf/content/using-ws-policy-in-cxf-projects.html (original)
+++ websites/production/cxf/content/using-ws-policy-in-cxf-projects.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 - Using WS-Policy in CXF projects">
+
+  <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 -- Using WS-Policy in CXF projects
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Using WS-Policy in CXF pro
     <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 Software 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>
@@ -101,8 +109,8 @@ Apache CXF -- Using WS-Policy in CXF pro
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">
@@ -148,59 +156,59 @@ Apache CXF -- Using WS-Policy in CXF pro
 <h3><a shape="rect" name="UsingWS-PolicyinCXFprojects-WSDLPolicyattachment"></a>WSDL Policy attachment</h3>
 <p>WS-Policies can be attached and referenced in WSDL elements. <a shape="rect" class="external-link" href="http://www.w3.org/TR/ws-policy-attach/" rel="nofollow">Web Services Policy 1.5 - Attachment </a> standard describes all possible alternatives. WS-Policies can be placed inside WSDL itself or referenced as external documents. CXF will automatically recognize, read and use policies defined or referenced in WSDL. Sample of attached policy is shown below:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;wsdl:definitions name=<span class="code-quote">"HelloWorld"</span> targetNamespace=<span class="code-quote">"http://apache.org/hello_world_soap_http"</span> 
-&#8230;
-<span class="code-tag">&lt;wsdl:service name=<span class="code-quote">"SOAPService"</span>&gt;</span>
-    <span class="code-tag">&lt;wsdl:port binding=<span class="code-quote">"tns:Greeter_SOAPBinding"</span> name=<span class="code-quote">"SoapPort"</span>&gt;</span>
-        <span class="code-tag">&lt;soap:address location=<span class="code-quote">"http://localhost:9000/SoapContext/SoapPort"</span>/&gt;</span>
-        <span class="code-tag">&lt;wsp:Policy <span class="code-keyword">xmlns:wsp</span>=<span class="code-quote">"http://www.w3.org/ns/ws-policy"</span>&gt;</span>
-             <span class="code-tag">&lt;wsam:Addressing <span class="code-keyword">xmlns:wsam</span>=<span class="code-quote">"http://www.w3.org/2007/02/addressing/metadata"</span>&gt;</span>
-                 <span class="code-tag">&lt;wsp:Policy/&gt;</span>
-              <span class="code-tag">&lt;/wsam:Addressing&gt;</span>
-         <span class="code-tag">&lt;/wsp:Policy&gt;</span>
-    <span class="code-tag">&lt;/wsdl:port&gt;</span>
-<span class="code-tag">&lt;/wsdl:service&gt;</span>
-<span class="code-tag">&lt;/wsdl:definitions&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;wsdl:definitions name="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http" 
+É
+&lt;wsdl:service name="SOAPService"&gt;
+    &lt;wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort"&gt;
+        &lt;soap:address location="http://localhost:9000/SoapContext/SoapPort"/&gt;
+        &lt;wsp:Policy xmlns:wsp="http://www.w3.org/ns/ws-policy"&gt;
+             &lt;wsam:Addressing xmlns:wsam="http://www.w3.org/2007/02/addressing/metadata"&gt;
+                 &lt;wsp:Policy/&gt;
+              &lt;/wsam:Addressing&gt;
+         &lt;/wsp:Policy&gt;
+    &lt;/wsdl:port&gt;
+&lt;/wsdl:service&gt;
+&lt;/wsdl:definitions&gt;
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="UsingWS-PolicyinCXFprojects-Springconfiguration"></a>Spring configuration</h3>
 <p>It is possible to define policies directly in Spring configuration of client and service as jaxws feature. CFX will recognize and use configured WS-Policies:<br clear="none">
 Client:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;jaxws:client id=<span class="code-quote">"CRMServiceClient"</span> name=<span class="code-quote">"{http://services.talend.org/CRMService}CRMServiceProvider"</span>
-        <span class="code-keyword">xmlns:serviceNamespace</span>=<span class="code-quote">"http://services.talend.org/CRMService"</span>
-        serviceClass=<span class="code-quote">"org.talend.services.crmservice.CRMService"</span>
-        serviceName=<span class="code-quote">"serviceNamespace:CRMServiceProvider"</span>
-        endpointName=<span class="code-quote">"serviceNamespace:CRMServicePort"</span>
-        address=<span class="code-quote">"${endpoint.prefix}/CRMServiceProvider"</span>&gt;
-        <span class="code-tag">&lt;jaxws:features&gt;</span>
-            <span class="code-tag">&lt;p:policies&gt;</span>
-                <span class="code-tag">&lt;wsp:PolicyReference URI=<span class="code-quote">"classpath:/saml.policy"</span>/&gt;</span>
-            <span class="code-tag">&lt;/p:policies&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 id="CRMServiceClient" name="{http://services.talend.org/CRMService}CRMServiceProvider"
+        xmlns:serviceNamespace="http://services.talend.org/CRMService"
+        serviceClass="org.talend.services.crmservice.CRMService"
+        serviceName="serviceNamespace:CRMServiceProvider"
+        endpointName="serviceNamespace:CRMServicePort"
+        address="${endpoint.prefix}/CRMServiceProvider"&gt;
+        &lt;jaxws:features&gt;
+            &lt;p:policies&gt;
+                &lt;wsp:PolicyReference URI="classpath:/saml.policy"/&gt;
+            &lt;/p:policies&gt;
+        &lt;/jaxws:features&gt;
+&lt;/jaxws:client&gt;
+]]></script>
 </div></div>
 
 <p>Service:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-&lt;jaxws:endpoint id=<span class="code-quote">"CRMService"</span>
-        <span class="code-keyword">xmlns:serviceNamespace</span>=<span class="code-quote">"http://services.talend.org/CRMService"</span>
-        serviceName=<span class="code-quote">"serviceNamespace:CRMServiceProvider"</span>
-        endpointName=<span class="code-quote">"serviceNamespace:CRMServicePort"</span>
-        implementor=<span class="code-quote">"#CRMServiceBean"</span>
-        address=<span class="code-quote">"/CRMServiceProvider"</span>&gt;
-        <span class="code-tag">&lt;jaxws:features&gt;</span>
-            <span class="code-tag">&lt;p:policies&gt;</span>
-                <span class="code-tag">&lt;wsp:PolicyReference URI=<span class="code-quote">"classpath:/saml.policy"</span>/&gt;</span>
-            <span class="code-tag">&lt;/p:policies&gt;</span>
-        <span class="code-tag">&lt;/jaxws:features&gt;</span>
-<span class="code-tag">&lt;/jaxws:endpoint&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;jaxws:endpoint id="CRMService"
+        xmlns:serviceNamespace="http://services.talend.org/CRMService"
+        serviceName="serviceNamespace:CRMServiceProvider"
+        endpointName="serviceNamespace:CRMServicePort"
+        implementor="#CRMServiceBean"
+        address="/CRMServiceProvider"&gt;
+        &lt;jaxws:features&gt;
+            &lt;p:policies&gt;
+                &lt;wsp:PolicyReference URI="classpath:/saml.policy"/&gt;
+            &lt;/p:policies&gt;
+        &lt;/jaxws:features&gt;
+&lt;/jaxws:endpoint&gt;
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="UsingWS-PolicyinCXFprojects-Dynamicallyviamessageproperty"></a>Dynamically via message property</h3>
@@ -219,32 +227,32 @@ Implementation of <em>build()</em> metho
 
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class AuthorizationInterceptorProvider <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> AuthorizationInInterceptor IN_AUTHZ_INTERCEPTOR = <span class="code-keyword">new</span> AuthorizationInInterceptor();
-    <span class="code-keyword">private</span> <span class="code-keyword">static</span> <span class="code-keyword">final</span> AuthorizationInInterceptor OUT_AUTHZ_INTERCEPTOR = <span class="code-keyword">new</span> AuthorizationOutInterceptor();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public class AuthorizationInterceptorProvider extends AbstractPolicyInterceptorProvider {
+    private static final long serialVersionUID = -5248428637449096540L;
+    private static final AuthorizationInInterceptor IN_AUTHZ_INTERCEPTOR = new AuthorizationInInterceptor();
+    private static final AuthorizationInInterceptor OUT_AUTHZ_INTERCEPTOR = new AuthorizationOutInterceptor();
     
-    <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;();
+    private static final Collection&lt;QName&gt; ASSERTION_TYPES;
+    static {
+        ASSERTION_TYPES = new ArrayList&lt;QName&gt;();
         ASSERTION_TYPES.add(AuthorizationConstants.AUTHORIZATION_ASSERTION);
     }
 
-    <span class="code-keyword">public</span> AuthorizationInterceptorProvider() {
-        <span class="code-keyword">super</span>(ASSERTION_TYPES);
+    public AuthorizationInterceptorProvider() {
+        super(ASSERTION_TYPES);
         getInInterceptors().add(IN_AUTHZ_INTERCEPTOR);        
         getOutInterceptors().add(OUT_AUTHZ_INTERCEPTOR);        
     }
 }
-</pre>
+]]></script>
 </div></div>
 <p>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.AuthorizationInterceptorProvider::<span class="code-keyword">true</span>
-org.company.AuthorizationAssertionBuilder::<span class="code-keyword">true</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+org.company.AuthorizationInterceptorProvider::true
+org.company.AuthorizationAssertionBuilder::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>. Since CXF 2.6.0 it is possible to register multiple interceptor providers for single assertion.</p>

Modified: websites/production/cxf/content/ws-policy-framework.html
==============================================================================
--- websites/production/cxf/content/ws-policy-framework.html (original)
+++ websites/production/cxf/content/ws-policy-framework.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 - WS-Policy Framework">
+
+  <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 -- WS-Policy Framework
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- WS-Policy Framework
     <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 Software 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>
@@ -101,8 +108,8 @@ Apache CXF -- WS-Policy Framework
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">
@@ -187,25 +194,25 @@ The transport may be included in this de
 
 <p>The AssertionBuilder API is a concept from Neethi (slightly modified below as):</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">interface</span> AssertionBuilder {
-   <span class="code-comment">// build an Assertion object from a given xml element
-</span>   Assertion build(Element element);
-  <span class="code-comment">// <span class="code-keyword">return</span> the schema type names of assertions understood by <span class="code-keyword">this</span> builder
-</span>  Collection&lt;QName&gt; getSupportedTypes();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public interface AssertionBuilder {
+   // build an Assertion object from a given xml element
+   Assertion build(Element element);
+  // return the schema type names of assertions understood by this builder
+  Collection&lt;QName&gt; getSupportedTypes();
 }
-</pre>
+]]></script>
 </div></div>
 <p>AssertionBuilder implementations are loaded by the &lt;Spring container&gt; and register themselves with the AssertionBuilderRegistry, which is a Bus extension. </p>
 
 <h3><a shape="rect" name="WS-PolicyFramework-Assertor"></a>Assertor</h3>
 <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">interface</span> Assertor {
-  <span class="code-comment">// <span class="code-keyword">return</span> the subset of assertions that <span class="code-keyword">this</span> assertor can <span class="code-keyword">assert</span>
-</span>   List&lt;Assertion&gt; <span class="code-keyword">assert</span>(List&lt;Assertion&gt; candidates);
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public interface Assertor {
+  // return the subset of assertions that this assertor can assert
+   List&lt;Assertion&gt; assert(List&lt;Assertion&gt; candidates);
 }
-</pre>
+]]></script>
 </div></div>
 <p>This API would be used in the PolicyVerificationInterceptor to check which of the assertions have been asserted in order to decide if any of the policy alternatives of the effective policy is supported.<br clear="none">
 Interceptors like the RM interceptor would implement this interface, but also perhaps some transports.</p>
@@ -214,10 +221,10 @@ Interceptors like the RM interceptor wou
 
 <p>This is simply an extension of the InterceptorProvder interface:</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">interface</span> AssertionInterceptorProvider <span class="code-keyword">extends</span> InterceptorProvider {
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public interface AssertionInterceptorProvider extends InterceptorProvider {
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>As with AssertionBuilders, concrete AssertionInterceptorProviders are loaded by the &lt;Spring container&gt; and register themselves with the AssertionInterceptorProviderRegistry, is a Bus extension.<br clear="none">
@@ -229,49 +236,49 @@ This API would be used by the PolicyEval
 
 <p>Some of the schema types currently used in configuring the http and jms transports may be used as assertions. One advantage would be these types do not have to extend wsdl:tExtensibilityElement any mor. Instead the content of these elements could be verified by their respective assertion builders. Also, the types can be used much more flexibly as assertions than as extension elements registered for say the wsdl:port element only (as assertions, they can be attached to the port type or the port, the service, and even appear outside of wsdl in PolicyAttachment elements). The preferred (but not mandatory) transition would be from:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;service name=<span class="code-quote">"GreeterService"</span>&gt;
-    &lt;port binding=<span class="code-quote">"tns:GreeterSOAPBinding"</span> name=<span class="code-quote">"GreeterPort"</span>&gt;
-        &lt;http:address xmlns:http=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/http/"</span> location=<span class="code-quote">"http://localhost:9020/SoapContext/GreeterPort"</span>/&gt;
-</span>        &lt;http-conf:client xmlns:http-conf=<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/transports/http/configuration"</span> ReceiveTimeout=<span class="code-quote">"60000"</span>/&gt;
-</span>    &lt;/port&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;service name="GreeterService"&gt;
+    &lt;port binding="tns:GreeterSOAPBinding" name="GreeterPort"&gt;
+        &lt;http:address xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" location="http://localhost:9020/SoapContext/GreeterPort"/&gt;
+        &lt;http-conf:client xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" ReceiveTimeout="60000"/&gt;
+    &lt;/port&gt;
 &lt;/service&gt;
-</pre>
+]]></script>
 </div></div>
 <p>to:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;service name=<span class="code-quote">"GreeterService"</span>&gt;
-    &lt;port binding=<span class="code-quote">"tns:GreeterSOAPBinding"</span> name=<span class="code-quote">"GreeterPort"</span>&gt;
-        &lt;http:address xmlns:http=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/http/"</span> location=<span class="code-quote">"http://localhost:9020/SoapContext/GreeterPort"</span>/&gt;
-</span>        &lt;wsp:Policy&gt;         
-            &lt;http-conf:client xmlns:http-conf=<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/transports/http/configuration"</span> ReceiveTimeout=<span class="code-quote">"60000"</span>/&gt;
-</span>        &lt;wsp:Policy&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;service name="GreeterService"&gt;
+    &lt;port binding="tns:GreeterSOAPBinding" name="GreeterPort"&gt;
+        &lt;http:address xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" location="http://localhost:9020/SoapContext/GreeterPort"/&gt;
+        &lt;wsp:Policy&gt;         
+            &lt;http-conf:client xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" ReceiveTimeout="60000"/&gt;
+        &lt;wsp:Policy&gt;
     &lt;/port&gt;
 &lt;/service&gt;
-</pre>
+]]></script>
 </div></div>
 <p>or:</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;definition...&gt;
     ...
-    &lt;service name=<span class="code-quote">"GreeterService"</span>&gt;
-        &lt;port binding=<span class="code-quote">"tns:GreeterSOAPBinding"</span> name=<span class="code-quote">"GreeterPort"</span>&gt;
-            &lt;http:address xmlns:http=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/http/"</span> location=<span class="code-quote">"http://localhost:9020/SoapContext/GreeterPort"</span>/&gt;
-</span>        &lt;/port&gt;
+    &lt;service name="GreeterService"&gt;
+        &lt;port binding="tns:GreeterSOAPBinding" name="GreeterPort"&gt;
+            &lt;http:address xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" location="http://localhost:9020/SoapContext/GreeterPort"/&gt;
+        &lt;/port&gt;
     &lt;/service&gt;
 &lt;/definition&gt;
 
 &lt;wsp:PolicyAttachment&gt;
     &lt;wsp:AppliesTo&gt;
-           &lt;wsp:URI&gt;http:<span class="code-comment">//cxf.apache.org/testutils/wsdl/greeter_control.wsdl#wsdl.port(GreeterService/GreeterPort)&lt;/wsp:URI&gt;
-</span>    &lt;/wsp:AppliesTo&gt;
+           &lt;wsp:URI&gt;http://cxf.apache.org/testutils/wsdl/greeter_control.wsdl#wsdl.port(GreeterService/GreeterPort)&lt;/wsp:URI&gt;
+    &lt;/wsp:AppliesTo&gt;
     &lt;wsp:Policy&gt;         
-            &lt;http-conf:client xmlns:http-conf=<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/transports/http/configuration"</span> ReceiveTimeout=<span class="code-quote">"60000"</span>/&gt;
-</span>        &lt;wsp:Policy&gt;
+            &lt;http-conf:client xmlns:http-conf="http://cxf.apache.org/transports/http/configuration" ReceiveTimeout="60000"/&gt;
+        &lt;wsp:Policy&gt;
 &lt;/wsp:PolicyAttachment&gt; 
-</pre>
+]]></script>
 </div></div>
 <p>with the PolicyAtachment element being defined in some external document.</p>
 

Modified: websites/production/cxf/content/xjc-utils.html
==============================================================================
--- websites/production/cxf/content/xjc-utils.html (original)
+++ websites/production/cxf/content/xjc-utils.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 - XJC Utils">
+
+  <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 -- XJC Utils
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- XJC Utils
     <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 Software 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>
@@ -101,8 +108,8 @@ Apache CXF -- XJC Utils
 
 
 <h3><a shape="rect" name="Navigation-Search"></a>Search</h3>
-
-<form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
+<p>
+</p><form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
     <input type="hidden" name="cx" value="002890367768291051730:o99qiwa09y4">
     <input type="hidden" name="ie" value="UTF-8">
@@ -152,9 +159,9 @@ Apache CXF -- XJC Utils
 
 <p>The source code can be checked out anonymously over HTTP by doing:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-svn co http:<span class="code-comment">//svn.apache.org/repos/asf/cxf/xjc-utils/trunk xjc-utils</span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+svn co http://svn.apache.org/repos/asf/cxf/xjc-utils/trunk xjc-utils
+]]></script>
 </div></div>
 
 <p>Building is similar to the <a shape="rect" href="building.html" title="Building">build</a> instructions for the main CXF project.</p></div>