cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r867253 [38/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/soap-over-jms-10-support.html
==============================================================================
--- websites/production/cxf/content/docs/soap-over-jms-10-support.html (original)
+++ websites/production/cxf/content/docs/soap-over-jms-10-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 - SOAP over JMS 1.0 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 -- SOAP over JMS 1.0 support
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- SOAP over JMS 1.0 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 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 -- SOAP over JMS 1.0 support
 
 
 <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>
@@ -130,9 +138,9 @@ Apache CXF -- SOAP over JMS 1.0 support
 
 <h3><a shape="rect" name="SOAPoverJMS1.0support-JMSExtensionNamespace"></a>JMS Extension Namespace</h3>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-xmlns:soapjms=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2008/07/soap/bindings/JMS/"</span></span>
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+xmlns:soapjms="http://www.w3.org/2008/07/soap/bindings/JMS/"
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="SOAPoverJMS1.0support-JMSURI"></a>JMS URI</h2>
@@ -144,10 +152,10 @@ xmlns:soapjms=<span class="code-quote">"
 <p>CXF supports three variants, "<b>jndi</b>", "<b>queue</b>", and "<b>topic</b>".<br clear="none">
 For example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 jms:jndi:SomeJndiNameForDestination?jndiInitialContextFactory=com.example.jndi.JndiFactory&amp;priority=3
 jms:queue:ExampleQueueName?timeToLive=1000
-</pre>
+]]></script>
 </div></div>
 
 <p>Properties are as follows:</p>
@@ -171,36 +179,36 @@ PERSISTENT messages will be saved to dis
 
 <p>Here is an example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;wsdl11:binding name=<span class="code-quote">"exampleBinding"</span>&gt;</span>
-  <span class="code-tag">&lt;soapjms:jndiContextParameter name=<span class="code-quote">"name"</span> value=<span class="code-quote">"value"</span> /&gt;</span>
-  <span class="code-tag">&lt;soapjms:jndiConnectionFactoryName&gt;</span>ConnectionFactory
-  <span class="code-tag">&lt;/soapjms:jndiConnectionFactoryName&gt;</span>
-  <span class="code-tag">&lt;soapjms:jndiInitialContextFactory&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;wsdl11:binding name="exampleBinding"&gt;
+  &lt;soapjms:jndiContextParameter name="name" value="value" /&gt;
+  &lt;soapjms:jndiConnectionFactoryName&gt;ConnectionFactory
+  &lt;/soapjms:jndiConnectionFactoryName&gt;
+  &lt;soapjms:jndiInitialContextFactory&gt;
     org.apache.activemq.jndi.ActiveMQInitialContextFactory
-  <span class="code-tag">&lt;/soapjms:jndiInitialContextFactory&gt;</span>
-  <span class="code-tag">&lt;soapjms:jndiURL&gt;</span>tcp://localhost:61616
-  <span class="code-tag">&lt;/soapjms:jndiURL&gt;</span>
-  <span class="code-tag">&lt;soapjms:deliveryMode&gt;</span>PERSISTENT<span class="code-tag">&lt;/soapjms:deliveryMode&gt;</span>
-  <span class="code-tag">&lt;soapjms:priority&gt;</span>5<span class="code-tag">&lt;/soapjms:priority&gt;</span>
-  <span class="code-tag">&lt;soapjms:timeToLive&gt;</span>200<span class="code-tag">&lt;/soapjms:timeToLive&gt;</span>
-<span class="code-tag">&lt;/wsdl11:binding&gt;</span>
+  &lt;/soapjms:jndiInitialContextFactory&gt;
+  &lt;soapjms:jndiURL&gt;tcp://localhost:61616
+  &lt;/soapjms:jndiURL&gt;
+  &lt;soapjms:deliveryMode&gt;PERSISTENT&lt;/soapjms:deliveryMode&gt;
+  &lt;soapjms:priority&gt;5&lt;/soapjms:priority&gt;
+  &lt;soapjms:timeToLive&gt;200&lt;/soapjms:timeToLive&gt;
+&lt;/wsdl11:binding&gt;
 
-<span class="code-tag">&lt;wsdl11:service name=<span class="code-quote">"exampleService"</span>&gt;</span>
-  <span class="code-tag">&lt;soapjms:jndiInitialContextFactory&gt;</span>
+&lt;wsdl11:service name="exampleService"&gt;
+  &lt;soapjms:jndiInitialContextFactory&gt;
     com.example.jndi.InitialContextFactory
-  <span class="code-tag">&lt;/soapjms:jndiInitialContextFactory&gt;</span>
-  <span class="code-tag">&lt;soapjms:timeTolive&gt;</span>100<span class="code-tag">&lt;/soapjms:timeToLive&gt;</span>
+  &lt;/soapjms:jndiInitialContextFactory&gt;
+  &lt;soapjms:timeTolive&gt;100&lt;/soapjms:timeToLive&gt;
   ...
-  <span class="code-tag">&lt;wsdl11:port name=<span class="code-quote">"quickPort"</span> binding=<span class="code-quote">"tns:exampleBinding"</span>&gt;</span>
+  &lt;wsdl11:port name="quickPort" binding="tns:exampleBinding"&gt;
     ...
-    <span class="code-tag">&lt;soapjms:timeToLive&gt;</span>10<span class="code-tag">&lt;/soapjms:timeToLive&gt;</span>
-  <span class="code-tag">&lt;/wsdl11:port&gt;</span>
-  <span class="code-tag">&lt;wsdl11:port name=<span class="code-quote">"slowPort"</span> binding=<span class="code-quote">"tns:exampleBinding"</span>&gt;</span>
+    &lt;soapjms:timeToLive&gt;10&lt;/soapjms:timeToLive&gt;
+  &lt;/wsdl11:port&gt;
+  &lt;wsdl11:port name="slowPort" binding="tns:exampleBinding"&gt;
     ...
-  <span class="code-tag">&lt;/wsdl11:port&gt;</span>
-<span class="code-tag">&lt;/wsdl11:service&gt;</span>
-</pre>
+  &lt;/wsdl11:port&gt;
+&lt;/wsdl11:service&gt;
+]]></script>
 </div></div>
 
 <p>If a property is specified at multiple levels, the setting at the most granular level takes precedence (port first, then service, then binding). In the above example, notice the timeToLive property &#8212; for the quickPort port, the value will be 10ms (specified at the port level). For the slowPort port, the value will be 100ms (specified at the service level). In this example, the setting in the binding will always be overridden.</p>
@@ -208,45 +216,45 @@ PERSISTENT messages will be saved to dis
 <h2><a shape="rect" name="SOAPoverJMS1.0support-WSDLUsage"></a>WSDL Usage</h2>
 <p>For this example:</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">"JMSGreeterService"</span>
-	<span class="code-tag">&lt;wsdl:binding name=<span class="code-quote">"JMSGreeterPortBinding"</span> type=<span class="code-quote">"tns:JMSGreeterPortType"</span>&gt;</span>
-		&lt;soap:binding style=<span class="code-quote">"document"</span>
-			transport=<span class="code-quote">"http://www.w3.org/2010/soapjms/"</span> /&gt;
-		&lt;soapjms:jndiContextParameter name=<span class="code-quote">"name"</span>
-			value=<span class="code-quote">"value"</span> /&gt;
-		<span class="code-tag">&lt;soapjms:jndiConnectionFactoryName&gt;</span>ConnectionFactory
-		<span class="code-tag">&lt;/soapjms:jndiConnectionFactoryName&gt;</span>
-		<span class="code-tag">&lt;soapjms:jndiInitialContextFactory&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;wsdl:definitions name="JMSGreeterService"
+	&lt;wsdl:binding name="JMSGreeterPortBinding" type="tns:JMSGreeterPortType"&gt;
+		&lt;soap:binding style="document"
+			transport="http://www.w3.org/2010/soapjms/" /&gt;
+		&lt;soapjms:jndiContextParameter name="name"
+			value="value" /&gt;
+		&lt;soapjms:jndiConnectionFactoryName&gt;ConnectionFactory
+		&lt;/soapjms:jndiConnectionFactoryName&gt;
+		&lt;soapjms:jndiInitialContextFactory&gt;
 			org.apache.activemq.jndi.ActiveMQInitialContextFactory
-		<span class="code-tag">&lt;/soapjms:jndiInitialContextFactory&gt;</span>
-		<span class="code-tag">&lt;soapjms:jndiURL&gt;</span>tcp://localhost:61616
-		<span class="code-tag">&lt;/soapjms:jndiURL&gt;</span>
-		<span class="code-tag">&lt;soapjms:deliveryMode&gt;</span>PERSISTENT<span class="code-tag">&lt;/soapjms:deliveryMode&gt;</span>
-		<span class="code-tag">&lt;soapjms:priority&gt;</span>5<span class="code-tag">&lt;/soapjms:priority&gt;</span>
-		<span class="code-tag">&lt;soapjms:timeToLive&gt;</span>1000<span class="code-tag">&lt;/soapjms:timeToLive&gt;</span>
-		<span class="code-tag">&lt;wsdl:operation name=<span class="code-quote">"greetMe"</span>&gt;</span>
-			<span class="code-tag">&lt;soap:operation soapAction=<span class="code-quote">"test"</span> style=<span class="code-quote">"document"</span> /&gt;</span>
-			<span class="code-tag">&lt;wsdl:input name=<span class="code-quote">"greetMeRequest"</span>&gt;</span>
-				<span class="code-tag">&lt;soap:body use=<span class="code-quote">"literal"</span> /&gt;</span>
-			<span class="code-tag">&lt;/wsdl:input&gt;</span>
-			<span class="code-tag">&lt;wsdl:output name=<span class="code-quote">"greetMeResponse"</span>&gt;</span>
-				<span class="code-tag">&lt;soap:body use=<span class="code-quote">"literal"</span> /&gt;</span>
-			<span class="code-tag">&lt;/wsdl:output&gt;</span>
-		<span class="code-tag">&lt;/wsdl:operation&gt;</span>
-	<span class="code-tag">&lt;/wsdl:binding&gt;</span>
-        <span class="code-tag">&lt;wsdl:service name=<span class="code-quote">"JMSGreeterService"</span>&gt;</span>
-		<span class="code-tag">&lt;soapjms:jndiConnectionFactoryName&gt;</span>ConnectionFactory
-		<span class="code-tag">&lt;/soapjms:jndiConnectionFactoryName&gt;</span>
-		<span class="code-tag">&lt;soapjms:jndiInitialContextFactory&gt;</span>
+		&lt;/soapjms:jndiInitialContextFactory&gt;
+		&lt;soapjms:jndiURL&gt;tcp://localhost:61616
+		&lt;/soapjms:jndiURL&gt;
+		&lt;soapjms:deliveryMode&gt;PERSISTENT&lt;/soapjms:deliveryMode&gt;
+		&lt;soapjms:priority&gt;5&lt;/soapjms:priority&gt;
+		&lt;soapjms:timeToLive&gt;1000&lt;/soapjms:timeToLive&gt;
+		&lt;wsdl:operation name="greetMe"&gt;
+			&lt;soap:operation soapAction="test" style="document" /&gt;
+			&lt;wsdl:input name="greetMeRequest"&gt;
+				&lt;soap:body use="literal" /&gt;
+			&lt;/wsdl:input&gt;
+			&lt;wsdl:output name="greetMeResponse"&gt;
+				&lt;soap:body use="literal" /&gt;
+			&lt;/wsdl:output&gt;
+		&lt;/wsdl:operation&gt;
+	&lt;/wsdl:binding&gt;
+        &lt;wsdl:service name="JMSGreeterService"&gt;
+		&lt;soapjms:jndiConnectionFactoryName&gt;ConnectionFactory
+		&lt;/soapjms:jndiConnectionFactoryName&gt;
+		&lt;soapjms:jndiInitialContextFactory&gt;
 			org.apache.activemq.jndi.ActiveMQInitialContextFactory
-		<span class="code-tag">&lt;/soapjms:jndiInitialContextFactory&gt;</span>
-		<span class="code-tag">&lt;wsdl:port binding=<span class="code-quote">"tns:JMSGreeterPortBinding"</span> name=<span class="code-quote">"GreeterPort"</span>&gt;</span>
-			<span class="code-tag">&lt;soap:address location=<span class="code-quote">"jms:jndi:dynamicQueues/test.cxf.jmstransport.queue"</span> /&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>
+		&lt;/soapjms:jndiInitialContextFactory&gt;
+		&lt;wsdl:port binding="tns:JMSGreeterPortBinding" name="GreeterPort"&gt;
+			&lt;soap:address location="jms:jndi:dynamicQueues/test.cxf.jmstransport.queue" /&gt;
+		&lt;/wsdl:port&gt;
+	&lt;/wsdl:service&gt;
+&lt;/wsdl:definitions&gt;
+]]></script>
 </div></div>
 
 <ul><li>The transport URI (<a shape="rect" class="external-link" href="http://www.w3.org/2010/soapjms/" rel="nofollow">http://www.w3.org/2010/soapjms/</a>) is defined in the &lt;soap:binding&gt;.</li><li>The jms: URI is defined in the &lt;soap:address&gt;</li><li>The extension properties are in the &lt;soap:binding&gt;</li></ul>
@@ -256,76 +264,77 @@ PERSISTENT messages will be saved to dis
 <p>Developers who don't wish to modify the WSDL file can also publish the endpoint information using Java code.  For CXF's SOAP over JMS implementation you can write the following:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-  <span class="code-comment">// You just need to set the address with JMS URI
-</span>  <span class="code-object">String</span> address = <span class="code-quote">"jms:jndi:dynamicQueues/test.cxf.jmstransport.queue3"</span>
-      + <span class="code-quote">"?jndiInitialContextFactory"</span>
-      + <span class="code-quote">"=org.apache.activemq.jndi.ActiveMQInitialContextFactory"</span>
-      + <span class="code-quote">"&amp;jndiConnectionFactoryName=ConnectionFactory&amp;jndiURL=tcp:<span class="code-comment">//localhost:61500"</span>;
-</span>  Hello implementor = <span class="code-keyword">new</span> HelloImpl();
-  JaxWsServerFactoryBean svrFactory = <span class="code-keyword">new</span> JaxWsServerFactoryBean();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+  // You just need to set the address with JMS URI
+  String address = "jms:jndi:dynamicQueues/test.cxf.jmstransport.queue3"
+      + "?jndiInitialContextFactory"
+      + "=org.apache.activemq.jndi.ActiveMQInitialContextFactory"
+      + "&amp;jndiConnectionFactoryName=ConnectionFactory&amp;jndiURL=tcp://localhost:61500";
+  Hello implementor = new HelloImpl();
+  JaxWsServerFactoryBean svrFactory = new JaxWsServerFactoryBean();
   svrFactory.setServiceClass(Hello.class);
   svrFactory.setAddress(address);
-  <span class="code-comment">// And specify the transport ID with SOAP over JMS specification
-</span>  svrFactory.setTransportId(JMSSpecConstants.SOAP_JMS_SPECIFICATION_TRANSPORTID);
+  // And specify the transport ID with SOAP over JMS specification
+  svrFactory.setTransportId(JMSSpecConstants.SOAP_JMS_SPECIFICATION_TRANSPORTID);
   svrFactory.setServiceBean(implementor);
   svrFactory.create();
-</pre>
+]]></script>
 </div></div>
 
 <p>NOTE: Before you start the server, you need to make sure the JMS broker is stared,  you can find some useful code of starting the JMS broker here.</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">final</span> void run() {
-    <span class="code-keyword">try</span> {             
-        broker = <span class="code-keyword">new</span> BrokerService();
-        broker.setPersistenceAdapter(<span class="code-keyword">new</span> MemoryPersistenceAdapter());
-        broker.setTmpDataDirectory(<span class="code-keyword">new</span> File(<span class="code-quote">"./target"</span>));
-        broker.setUseJmx(<span class="code-keyword">false</span>);
-        <span class="code-keyword">if</span> (brokerName != <span class="code-keyword">null</span>) {
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public final void run() {
+    try {             
+        broker = new BrokerService();
+        broker.setPersistenceAdapter(new MemoryPersistenceAdapter());
+        broker.setTmpDataDirectory(new File("./target"));
+        broker.setUseJmx(false);
+        if (brokerName != null) {
             broker.setBrokerName(brokerName);
         }
-        broker.addConnector(brokerUrl1 + <span class="code-quote">"?daemon=<span class="code-keyword">true</span>"</span>);
+        broker.addConnector(brokerUrl1 + "?daemon=true");
         broker.start();  
-    } <span class="code-keyword">catch</span> (Exception e) {
+    } catch (Exception e) {
         e.printStackTrace();
     }
 }
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="SOAPoverJMS1.0support-ConsumetheservicewiththeAPI"></a>Consume the service with the API</h2>
 
 <p>Sample code to consume a SOAP-over-JMS service is as follows:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-    <span class="code-keyword">public</span> void invoke() <span class="code-keyword">throws</span> Exception {
-        <span class="code-comment">// You just need to set the address with JMS URI
-</span>        <span class="code-object">String</span> address = <span class="code-quote">"jms:jndi:dynamicQueues/test.cxf.jmstransport.queue3"</span>
-            + <span class="code-quote">"?jndiInitialContextFactory"</span>
-            + <span class="code-quote">"=org.apache.activemq.jndi.ActiveMQInitialContextFactory"</span>
-            + <span class="code-quote">"&amp;jndiConnectionFactoryName=ConnectionFactory&amp;jndiURL="</span>
-            + <span class="code-quote">"tcp:<span class="code-comment">//localhost:61500"</span>;
-</span>        JaxWsProxyFactoryBean factory = <span class="code-keyword">new</span> JaxWsProxyFactoryBean();
-        <span class="code-comment">// And specify the transport ID with SOAP over JMS specification
-</span>        factory.setTransportId(JMSSpecConstants.SOAP_JMS_SPECIFICIATION_TRANSPORTID);
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+    public void invoke() throws Exception {
+        // You just need to set the address with JMS URI
+        String address = "jms:jndi:dynamicQueues/test.cxf.jmstransport.queue3"
+            + "?jndiInitialContextFactory"
+            + "=org.apache.activemq.jndi.ActiveMQInitialContextFactory"
+            + "&amp;jndiConnectionFactoryName=ConnectionFactory&amp;jndiURL="
+            + "tcp://localhost:61500";
+        JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean();
+        // And specify the transport ID with SOAP over JMS specification
+        factory.setTransportId(JMSSpecConstants.SOAP_JMS_SPECIFICIATION_TRANSPORTID);
         factory.setServiceClass(Hello.class);
         factory.setAddress(address);
         Hello client = (Hello)factory.create();
-        <span class="code-object">String</span> reply = client.sayHi(<span class="code-quote">" HI"</span>);
-        <span class="code-object">System</span>.out.println(reply);
+        String reply = client.sayHi(" HI");
+        System.out.println(reply);
     }
-</pre>
+]]></script>
 </div></div>
 
 <p>Even if you want to use the 'queue' or 'topic' variants and avoid dealing with JNDI directly, you still have to specify the two factory parameters in the address:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-svrFactory.setAddress(<span class="code-quote">"jms:queue:test.cxf.jmstransport.queue?timeToLive=1000"</span>
-                              + <span class="code-quote">"&amp;jndiConnectionFactoryName=ConnectionFactory"</span>
-                              + <span class="code-quote">"&amp;jndiInitialContextFactory"</span>
-                              + <span class="code-quote">"=org.apache.activemq.jndi.ActiveMQInitialContextFactory"</span>);
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+svrFactory.setAddress("jms:queue:test.cxf.jmstransport.queue?timeToLive=1000"
+                              + "&amp;jndiConnectionFactoryName=ConnectionFactory"
+                              + "&amp;jndiInitialContextFactory"
+                              + "=org.apache.activemq.jndi.ActiveMQInitialContextFactory");
+]]></script>
 </div></div>
 </div>
            </div>

Modified: websites/production/cxf/content/docs/soap-over-udp.html
==============================================================================
--- websites/production/cxf/content/docs/soap-over-udp.html (original)
+++ websites/production/cxf/content/docs/soap-over-udp.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 - SOAP over UDP">
+
+
     <title>
 Apache CXF -- SOAP over UDP
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- SOAP over UDP
     <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 -- SOAP over UDP
 
 
 <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/spring.html
==============================================================================
--- websites/production/cxf/content/docs/spring.html (original)
+++ websites/production/cxf/content/docs/spring.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 - Spring">
+
+
     <title>
 Apache CXF -- Spring
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Spring
     <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 -- Spring
 
 
 <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/standalone-http-transport.html
==============================================================================
--- websites/production/cxf/content/docs/standalone-http-transport.html (original)
+++ websites/production/cxf/content/docs/standalone-http-transport.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 - Standalone HTTP 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 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 -- Standalone HTTP Transport
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Standalone HTTP Transport
     <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 -- Standalone HTTP Transport
 
 
 <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>
@@ -127,13 +135,13 @@ Apache CXF -- Standalone HTTP Transport
 
 <p>Destinations in CXF are responsible for listening for server side requests.</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:httpj</span>=<span class="code-quote">"http://cxf.apache.org/transports/http-jetty/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:httpj="http://cxf.apache.org/transports/http-jetty/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
@@ -144,73 +152,73 @@ Apache CXF -- Standalone HTTP Transport
            http://www.springframework.org/schema/beans
               http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"&gt;
 
-  <span class="code-tag">&lt;http:destination name=<span class="code-quote">"{http://apache.org/hello_world}GreeterImplPort.http-destination"</span>&gt;</span>    
-  <span class="code-tag">&lt;/http:destination&gt;</span>
+  &lt;http:destination name="{http://apache.org/hello_world}GreeterImplPort.http-destination"&gt;    
+  &lt;/http:destination&gt;
   
-  <span class="code-tag">&lt;httpj:engine-factory bus=<span class="code-quote">"cxf"</span>&gt;</span>
-  <span class="code-tag"><span class="code-comment">&lt;!-- you just need to specify the TLS Server configuration for the certain port --&gt;</span></span>
-    <span class="code-tag">&lt;httpj:engine port=<span class="code-quote">"9003"</span>&gt;</span>
-      <span class="code-tag">&lt;httpj:tlsServerParameters&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">"src/test/java/org/apache/cxf/systest/http/resources/Tarpin.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">"src/test/java/org/apache/cxf/systest/http/resources/Truststore.jks"</span>/&gt;
-        <span class="code-tag">&lt;/sec:trustManagers&gt;</span>
-        <span class="code-tag">&lt;sec:cipherSuitesFilter&gt;</span>
+  &lt;httpj:engine-factory bus="cxf"&gt;
+  &lt;!-- you just need to specify the TLS Server configuration for the certain port --&gt;
+    &lt;httpj:engine port="9003"&gt;
+      &lt;httpj:tlsServerParameters&gt;
+        &lt;sec:keyManagers keyPassword="password"&gt;
+          &lt;sec:keyStore type="JKS" password="password" 
+                        file="src/test/java/org/apache/cxf/systest/http/resources/Tarpin.jks"/&gt;
+        &lt;/sec:keyManagers&gt;
+        &lt;sec:trustManagers&gt;
+          &lt;sec:keyStore type="JKS" password="password"
+                        file="src/test/java/org/apache/cxf/systest/http/resources/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;sec:clientAuthentication want=<span class="code-quote">"true"</span> required=<span class="code-quote">"true"</span>/&gt;</span>
-      <span class="code-tag">&lt;/httpj:tlsServerParameters&gt;</span>
-    <span class="code-tag">&lt;/httpj:engine&gt;</span>
-  <span class="code-tag">&lt;/httpj:engine-factory&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span> 
-</pre>
+          &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;sec:clientAuthentication want="true" required="true"/&gt;
+      &lt;/httpj:tlsServerParameters&gt;
+    &lt;/httpj:engine&gt;
+  &lt;/httpj:engine-factory&gt;
+&lt;/bean&gt; 
+]]></script>
 </div></div>
 
 <h1><a shape="rect" name="StandaloneHTTPTransport-Addthestaticcontentpagesintothejettyserver"></a>Add the static content pages into the jetty server</h1>
 <p>The CXF standalone http transport is based on the jetty server. The code below shows how to get the jetty server from the destination and how to add the static content path to the jetty server.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-    <span class="code-comment">// get the jetty server form the destination
-</span>    EndpointInfo ei = <span class="code-keyword">new</span> EndpointInfo();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+    // get the jetty server form the destination
+    EndpointInfo ei = new EndpointInfo();
     ei.setAddress(serviceFactory.getAddress());
     Destination destination = df.getDestination(ei);
     JettyHTTPDestination jettyDestination = (JettyHTTPDestination) destination;
     ServerEngine engine = jettyDestination.getEngine();
-    Handler handler = engine.getServant(<span class="code-keyword">new</span> URL(serviceFactory.getAddress()));
-    org.mortbay.jetty.Server server = handler.getServer(); <span class="code-comment">// The Server
-</span>
-    <span class="code-comment">// We have to create a HandlerList structure that includes both a ResourceHandler <span class="code-keyword">for</span> the <span class="code-keyword">static</span>
-</span>    <span class="code-comment">// content as well as the ContextHandlerCollection created by CXF (which we retrieve as serverHandler). 
-</span>    Handler serverHandler = server.getHandler();
-    HandlerList handlerList = <span class="code-keyword">new</span> HandlerList();
-    ResourceHandler resourceHandler = <span class="code-keyword">new</span> ResourceHandler();
+    Handler handler = engine.getServant(new URL(serviceFactory.getAddress()));
+    org.mortbay.jetty.Server server = handler.getServer(); // The Server
+
+    // We have to create a HandlerList structure that includes both a ResourceHandler for the static
+    // content as well as the ContextHandlerCollection created by CXF (which we retrieve as serverHandler). 
+    Handler serverHandler = server.getHandler();
+    HandlerList handlerList = new HandlerList();
+    ResourceHandler resourceHandler = new ResourceHandler();
     handlerList.addHandler(resourceHandler);
     handlerList.addHandler(serverHandler);
 
-    <span class="code-comment">// replace the CXF servlet connect collection with the list.
-</span>    server.setHandler(handlerList);
-    <span class="code-comment">// and tell the handler list that it is alive.
-</span>    handlerList.start();
-
-    <span class="code-comment">// setup the resource handler
-</span>    File staticContentFile = <span class="code-keyword">new</span> File(staticContentPath); <span class="code-comment">// ordinary pathname.
-</span>    URL targetURL = <span class="code-keyword">new</span> URL(<span class="code-quote">"file:<span class="code-comment">//"</span> + staticContentFile.getCanonicalPath());
-</span>    FileResource fileResource = <span class="code-keyword">new</span> FileResource(targetURL);
+    // replace the CXF servlet connect collection with the list.
+    server.setHandler(handlerList);
+    // and tell the handler list that it is alive.
+    handlerList.start();
+
+    // setup the resource handler
+    File staticContentFile = new File(staticContentPath); // ordinary pathname.
+    URL targetURL = new URL("file://" + staticContentFile.getCanonicalPath());
+    FileResource fileResource = new FileResource(targetURL);
     resourceHandler.setBaseResource(fileResource);
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/tewst.html
==============================================================================
--- websites/production/cxf/content/docs/tewst.html (original)
+++ websites/production/cxf/content/docs/tewst.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 - tewst">
+
+
     <title>
 Apache CXF -- tewst
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- tewst
     <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 -- tewst
 
 
 <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/tools.html
==============================================================================
--- websites/production/cxf/content/docs/tools.html (original)
+++ websites/production/cxf/content/docs/tools.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 - Tools">
+
+
     <title>
 Apache CXF -- Tools
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Tools
     <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 -- Tools
 
 
 <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/transformationfeature.html
==============================================================================
--- websites/production/cxf/content/docs/transformationfeature.html (original)
+++ websites/production/cxf/content/docs/transformationfeature.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 - TransformationFeature">
+
+  <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 -- TransformationFeature
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- TransformationFeature
     <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 -- TransformationFeature
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -139,25 +147,25 @@ Apache CXF -- TransformationFeature
 <p>"outTransformElements" map property can be used to change the output element names and change or drop namespaces. Keys are the elements to be changed, values are the new element names. Example: </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"transformFeature"</span> class=<span class="code-quote">"org.apache.cxf.feature.StaxTransformFeature"</span>&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"outTransformElements"</span>&gt;</span>
-    <span class="code-tag">&lt;map&gt;</span>
-      <span class="code-tag"><span class="code-comment">&lt;!-- change <span class="code-quote">"book"</span> to <span class="code-quote">"thebook"</span> --&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"book"</span> value=<span class="code-quote">"thebook"</span>/&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature"&gt;
+  &lt;property name="outTransformElements"&gt;
+    &lt;map&gt;
+      &lt;!-- change "book" to "thebook" --&gt;
+      &lt;entry key="book" value="thebook"/&gt;
       
-      <span class="code-tag"><span class="code-comment">&lt;!-- drop the namespace from <span class="code-quote">"book"</span> --&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"{http://books}book"</span> value=<span class="code-quote">"book"</span>/&gt;</span> 
+      &lt;!-- drop the namespace from "book" --&gt;
+      &lt;entry key="{http://books}book" value="book"/&gt; 
       
-      <span class="code-tag"><span class="code-comment">&lt;!-- qualify <span class="code-quote">"book"</span> with <span class="code-quote">"http://books"</span> --&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"book"</span> value=<span class="code-quote">"{http://books}thebook"</span>/&gt;</span> 
+      &lt;!-- qualify "book" with "http://books" --&gt;
+      &lt;entry key="book" value="{http://books}thebook"/&gt; 
       
-      <span class="code-tag"><span class="code-comment">&lt;!--  change namespace to <span class="code-quote">"http://books"</span> for all the elements with the <span class="code-quote">"http://book"</span> namespace --&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"{http://book}*"</span> value=<span class="code-quote">"{http://books}*"</span>/&gt;</span> 
-    <span class="code-tag">&lt;/map&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span> 
-</pre>
+      &lt;!--  change namespace to "http://books" for all the elements with the "http://book" namespace --&gt;
+      &lt;entry key="{http://book}*" value="{http://books}*"/&gt; 
+    &lt;/map&gt;
+  &lt;/property&gt;
+&lt;/bean&gt; 
+]]></script>
 </div></div>
 
 <p>"inTransformElements" map property can be used to change the input element names and change or drop namespaces. See the "outTransfromElements" property description for an example.</p>
@@ -171,81 +179,81 @@ Apache CXF -- TransformationFeature
 <p>Using inAppendsElements:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"transformFeature"</span> class=<span class="code-quote">"org.apache.cxf.feature.StaxTransformFeature"</span>&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"inAppendElements"</span>&gt;</span>
-    <span class="code-tag">&lt;map&gt;</span>
-      <span class="code-tag"><span class="code-comment">&lt;!-- get <span class="code-quote">"book"</span> wrapped with the new <span class="code-quote">"thebook"</span> element--&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"book"</span> value=<span class="code-quote">"thebook"</span>/&gt;</span>
-    <span class="code-tag">&lt;/map&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span> 
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature"&gt;
+  &lt;property name="inAppendElements"&gt;
+    &lt;map&gt;
+      &lt;!-- get "book" wrapped with the new "thebook" element--&gt;
+      &lt;entry key="book" value="thebook"/&gt;
+    &lt;/map&gt;
+  &lt;/property&gt;
+&lt;/bean&gt; 
+]]></script>
 </div></div>
 
 <p>Using outAppendsElements:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"transformFeature"</span> class=<span class="code-quote">"org.apache.cxf.feature.StaxTransformFeature"</span>&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"outAppendElements"</span>&gt;</span>
-    <span class="code-tag">&lt;map&gt;</span>
-      <span class="code-tag"><span class="code-comment">&lt;!-- get <span class="code-quote">"book"</span> wrapped with the new <span class="code-quote">"thebook"</span> element--&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"book"</span> value=<span class="code-quote">"thebook"</span>/&gt;</span>
-    <span class="code-tag">&lt;/map&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span> 
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature"&gt;
+  &lt;property name="outAppendElements"&gt;
+    &lt;map&gt;
+      &lt;!-- get "book" wrapped with the new "thebook" element--&gt;
+      &lt;entry key="book" value="thebook"/&gt;
+    &lt;/map&gt;
+  &lt;/property&gt;
+&lt;/bean&gt; 
+]]></script>
 </div></div>
 
 
 <h3><a shape="rect" name="TransformationFeature-AppendPostWrap"></a>Append-Post-Wrap</h3>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"transformFeature"</span> class=<span class="code-quote">"org.apache.cxf.feature.StaxTransformFeature"</span>&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"inAppendElements"</span>&gt;</span>
-    <span class="code-tag">&lt;map&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature"&gt;
+  &lt;property name="inAppendElements"&gt;
+    &lt;map&gt;
       &lt;!-- 
-         get all <span class="code-quote">"book"</span> children elements wrapped with the new <span class="code-quote">"thebook"</span> element
-         using the <span class="code-quote">"/"</span> convention.
+         get all "book" children elements wrapped with the new "thebook" element
+         using the "/" convention.
       --&gt;
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"book/"</span> value=<span class="code-quote">"thebook"</span>/&gt;</span>
-    <span class="code-tag">&lt;/map&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span> 
-</pre>
+      &lt;entry key="book/" value="thebook"/&gt;
+    &lt;/map&gt;
+  &lt;/property&gt;
+&lt;/bean&gt; 
+]]></script>
 </div></div>
 
 
 <h3><a shape="rect" name="TransformationFeature-AppendPreInclude"></a>Append-Pre-Include</h3>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"transformFeature"</span> class=<span class="code-quote">"org.apache.cxf.feature.StaxTransformFeature"</span>&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"inAppendElements"</span>&gt;</span>
-    <span class="code-tag">&lt;map&gt;</span>
-      <span class="code-tag"><span class="code-comment">&lt;!-- append new simple <span class="code-quote">"thebook"</span> element with a text value '2' before <span class="code-quote">"the book"</span> --&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"book"</span> value=<span class="code-quote">"thebook=2"</span>/&gt;</span>
-    <span class="code-tag">&lt;/map&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span> 
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature"&gt;
+  &lt;property name="inAppendElements"&gt;
+    &lt;map&gt;
+      &lt;!-- append new simple "thebook" element with a text value '2' before "the book" --&gt;
+      &lt;entry key="book" value="thebook=2"/&gt;
+    &lt;/map&gt;
+  &lt;/property&gt;
+&lt;/bean&gt; 
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="TransformationFeature-AppendPostInclude"></a>Append-Post-Include</h3>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"transformFeature"</span> class=<span class="code-quote">"org.apache.cxf.feature.StaxTransformFeature"</span>&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"inAppendElements"</span>&gt;</span>
-    <span class="code-tag">&lt;map&gt;</span>
-      <span class="code-tag"><span class="code-comment">&lt;!-- append new simple <span class="code-quote">"thebook"</span> element with a text value '2' after <span class="code-quote">"the book"</span>, using a '/' convention --&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"book/"</span> value=<span class="code-quote">"thebook=2"</span>/&gt;</span>
-    <span class="code-tag">&lt;/map&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span> 
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature"&gt;
+  &lt;property name="inAppendElements"&gt;
+    &lt;map&gt;
+      &lt;!-- append new simple "thebook" element with a text value '2' after "the book", using a '/' convention --&gt;
+      &lt;entry key="book/" value="thebook=2"/&gt;
+    &lt;/map&gt;
+  &lt;/property&gt;
+&lt;/bean&gt; 
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="TransformationFeature-Replacingtextcontent"></a>Replacing text content</h2>
@@ -253,16 +261,16 @@ Apache CXF -- TransformationFeature
 <p>It's possible to replace the text content of a given simple element only on the input and output, for example: </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"transformFeature"</span> class=<span class="code-quote">"org.apache.cxf.feature.StaxTransformFeature"</span>&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"inAppendElements"</span>&gt;</span>
-    <span class="code-tag">&lt;map&gt;</span>
-      <span class="code-tag"><span class="code-comment">&lt;!-- replace the text content of {ns}a element with the 'new Text' value --&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"{ns}a"</span> value=<span class="code-quote">"{ns}a=new Text"</span>/&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature"&gt;
+  &lt;property name="inAppendElements"&gt;
+    &lt;map&gt;
+      &lt;!-- replace the text content of {ns}a element with the 'new Text' value --&gt;
+      &lt;entry key="{ns}a" value="{ns}a=new Text"/&gt;
     &lt;/map
-  <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span> 
-</pre>
+  &lt;/property&gt;
+&lt;/bean&gt; 
+]]></script>
 </div></div>
 
 
@@ -272,17 +280,17 @@ Apache CXF -- TransformationFeature
 
 <p>Additionally, outTransformElements and inTransformElements property can be used to deep-drop an element and all of its children if any, for example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"transformFeature"</span> class=<span class="code-quote">"org.apache.cxf.feature.StaxTransformFeature"</span>&gt;</span>
-  <span class="code-tag">&lt;property name=<span class="code-quote">"outTransformElements"</span>&gt;</span>
-    <span class="code-tag">&lt;map&gt;</span>
-      <span class="code-tag"><span class="code-comment">&lt;!-- drop <span class="code-quote">"book"</span> and all of its children, using an empty value convention --&gt;</span></span>
-      <span class="code-tag">&lt;entry key=<span class="code-quote">"book"</span> value=""/&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="transformFeature" class="org.apache.cxf.feature.StaxTransformFeature"&gt;
+  &lt;property name="outTransformElements"&gt;
+    &lt;map&gt;
+      &lt;!-- drop "book" and all of its children, using an empty value convention --&gt;
+      &lt;entry key="book" value=""/&gt;
        
-    <span class="code-tag">&lt;/map&gt;</span>
-  <span class="code-tag">&lt;/property&gt;</span>
-<span class="code-tag">&lt;/bean&gt;</span> 
-</pre>
+    &lt;/map&gt;
+  &lt;/property&gt;
+&lt;/bean&gt; 
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="TransformationFeature-Convertingattributestoelements"></a>Converting attributes to elements</h2>
@@ -298,16 +306,16 @@ Apache CXF -- TransformationFeature
 Now, in order to serve the old clients one needs to apply a transform feature, however the new clients should not be affected. Thus the feature can be configured such that it's only triggered if a certain contextual property has been set on a current Message. In this case the feature should only apply to the old redirected clients:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;bean id=<span class="code-quote">"transformFeatureRest"</span> class=<span class="code-quote">"org.apache.cxf.feature.StaxTransformFeature"</span>&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="transformFeatureRest" class="org.apache.cxf.feature.StaxTransformFeature"&gt;
       &lt;!-- 
          apply the transformation only if the boolean property with the given name
          is set to true on the message
       --&gt;   
-      <span class="code-tag">&lt;property name=<span class="code-quote">"contextPropertyName"</span> value=<span class="code-quote">"http.service.redirection"</span>/&gt;</span>
-      <span class="code-tag"><span class="code-comment">&lt;!-- the transform configuration --&gt;</span></span>
-<span class="code-tag">&lt;/bean&gt;</span>
-</pre>
+      &lt;property name="contextPropertyName" value="http.service.redirection"/&gt;
+      &lt;!-- the transform configuration --&gt;
+&lt;/bean&gt;
+]]></script>
 </div></div>
 
 <h1><a shape="rect" name="TransformationFeature-Configuringthefeaturefromthecode"></a>Configuring the feature from the code</h1>
@@ -319,26 +327,26 @@ Now, in order to serve the old clients o
 <p>Here is how a JAX-WS client can be configured:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-CustomerServiceService service = <span class="code-keyword">new</span> CustomerServiceService();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+CustomerServiceService service = new CustomerServiceService();
 CustomerService customerService = service.getCustomerServicePort();
 Client client = ClientProxy.getClient(customerService);
 
-<span class="code-comment">// drop namespace from all elements qualified by 'http://customers'
-</span>Map&lt;<span class="code-object">String</span>, <span class="code-object">String</span>&gt; outTransformMap = Collections.singletonMap(<span class="code-quote">"{http:<span class="code-comment">//customers}*"</span>, <span class="code-quote">"*"</span>);
-</span>org.apache.cxf.interceptor.transform.TransformOutInterceptor transformOutInterceptor =
-    <span class="code-keyword">new</span> org.apache.cxf.interceptor.transform.TransformOutInterceptor();
+// drop namespace from all elements qualified by 'http://customers'
+Map&lt;String, String&gt; outTransformMap = Collections.singletonMap("{http://customers}*", "*");
+org.apache.cxf.interceptor.transform.TransformOutInterceptor transformOutInterceptor =
+    new org.apache.cxf.interceptor.transform.TransformOutInterceptor();
 transformOutInterceptor.setOutTransformElements(outTransformMap);
 client.getOutInterceptors().add(transformOutInterceptor);
 
-<span class="code-comment">// qualify the incoming 'customer' element with 'http://customers' 
-</span>Map&lt;<span class="code-object">String</span>, <span class="code-object">String</span>&gt; inTransformMap =  Collections.singletonMap(<span class="code-quote">"customer"</span>, <span class="code-quote">"{http:<span class="code-comment">//customers}customer"</span>);
-</span>org.apache.cxf.interceptor.transform.TransformInInterceptor transformInInterceptor =
-    <span class="code-keyword">new</span> org.apache.cxf.interceptor.transform.TransformInInterceptor();
+// qualify the incoming 'customer' element with 'http://customers' 
+Map&lt;String, String&gt; inTransformMap =  Collections.singletonMap("customer", "{http://customers}customer");
+org.apache.cxf.interceptor.transform.TransformInInterceptor transformInInterceptor =
+    new org.apache.cxf.interceptor.transform.TransformInInterceptor();
 transformInInterceptor.setInTransformElements(inTransformMap);
 client.getInInterceptors().add(transformInInterceptor);
 
-</pre>
+]]></script>
 </div></div>
 
 
@@ -347,29 +355,29 @@ client.getInInterceptors().add(transform
 <p>Here is how a JAX-RS client can be configured:</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[
 CustomerService customerServiceProxy = JAXRSClientFactory.create(endpointAddress, CustomerService.class);
 
 ClientConfiguration config = WebClient.getConfig(customerServiceProxy);
 
-<span class="code-comment">// or
-</span><span class="code-comment">//WebClient client = WebClient.create(endpointAddress);
-</span><span class="code-comment">//ClientConfiguration config = WebClient.getConfig(client);
-</span>
-<span class="code-comment">// drop namespace from all elements qualified by 'http://customers'
-</span>Map&lt;<span class="code-object">String</span>, <span class="code-object">String</span>&gt; outTransformMap = Collections.singletonMap(<span class="code-quote">"{http:<span class="code-comment">//customers}*"</span>, <span class="code-quote">"*"</span>);
-</span>org.apache.cxf.interceptor.transform.TransformOutInterceptor transformOutInterceptor =
-    <span class="code-keyword">new</span> org.apache.cxf.interceptor.transform.TransformOutInterceptor();
+// or
+//WebClient client = WebClient.create(endpointAddress);
+//ClientConfiguration config = WebClient.getConfig(client);
+
+// drop namespace from all elements qualified by 'http://customers'
+Map&lt;String, String&gt; outTransformMap = Collections.singletonMap("{http://customers}*", "*");
+org.apache.cxf.interceptor.transform.TransformOutInterceptor transformOutInterceptor =
+    new org.apache.cxf.interceptor.transform.TransformOutInterceptor();
 transformOutInterceptor.setOutTransformElements(outTransformMap);
 config.getOutInterceptors().add(transformOutInterceptor);
 
-<span class="code-comment">// qualify the incoming 'customer' element with 'http://customers' 
-</span>Map&lt;<span class="code-object">String</span>, <span class="code-object">String</span>&gt; inTransformMap =  Collections.singletonMap(<span class="code-quote">"customer"</span>, <span class="code-quote">"{http:<span class="code-comment">//customers}customer"</span>);
-</span>org.apache.cxf.interceptor.transform.TransformInInterceptor transformInInterceptor =
-    <span class="code-keyword">new</span> org.apache.cxf.interceptor.transform.TransformInInterceptor();
+// qualify the incoming 'customer' element with 'http://customers' 
+Map&lt;String, String&gt; inTransformMap =  Collections.singletonMap("customer", "{http://customers}customer");
+org.apache.cxf.interceptor.transform.TransformInInterceptor transformInInterceptor =
+    new org.apache.cxf.interceptor.transform.TransformInInterceptor();
 transformInInterceptor.setInTransformElements(inTransformMap);
 config.getInInterceptors().add(transformInInterceptor);
-</pre>
+]]></script>
 </div></div>
 
 <h1><a shape="rect" name="TransformationFeature-Transforminterceptorsandphases"></a>Transform interceptors and phases</h1>

Modified: websites/production/cxf/content/docs/transports.html
==============================================================================
--- websites/production/cxf/content/docs/transports.html (original)
+++ websites/production/cxf/content/docs/transports.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 - Transports">
+
+
     <title>
 Apache CXF -- Transports
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Transports
     <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 -- Transports
 
 
 <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/udp-transport.html
==============================================================================
--- websites/production/cxf/content/docs/udp-transport.html (original)
+++ websites/production/cxf/content/docs/udp-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 - UDP 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 -- UDP Transport
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- UDP Transport
     <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 -- UDP Transport
 
 
 <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>
@@ -131,13 +138,13 @@ Apache CXF -- UDP Transport
 <p>To use the UDP transport, you just need to include the cxf-rt-transports-udp module on the classpath and use a "udp://host:port" style URL for the address.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-        JaxWsServerFactoryBean factory = <span class="code-keyword">new</span> JaxWsServerFactoryBean();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+        JaxWsServerFactoryBean factory = new JaxWsServerFactoryBean();
         factory.setBus(getStaticBus());
-        factory.setAddress(<span class="code-quote">"udp:<span class="code-comment">//localhost:8888"</span>);
-</span>        factory.setServiceBean(<span class="code-keyword">new</span> GreeterImpl());
+        factory.setAddress("udp://localhost:8888");
+        factory.setServiceBean(new GreeterImpl());
         server = factory.create();
-</pre>
+]]></script>
 </div></div>
 
 <p>That will start the server on localhost UDP port 8888.   You can also omit the hostname (udp://:8888) to bind to all the addresses or use one of the multicast addresses (example: udp://239.255.255.250:3702) to respond to the appropriate broadcasts.</p>
@@ -152,15 +159,15 @@ Apache CXF -- UDP Transport
 <p>UDP is different than the other CXF transports in that it allows multiple responses to be received for a single request.  For example, if you send out a request via a multicast or broadcast, several servers could respond to that request.   The basic JAX-WS generated interfaces only allow a single response to be returned to the application.  However, if you use the JAX-WS Asynchronous methods, you can have CXF call the AsyncHandler for each response.   To enable this, set the request property "udp.multi.response.timeout" to a timeout value greater than 0.   CXF will wait that long for responses to come in before returning back to the application.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-comment">//wait 3 seconds <span class="code-keyword">for</span> responses
-</span>((BindingProvider)proxy).getRequestContext().put(<span class="code-quote">"udp.multi.response.timeout"</span>, 3000);
-proxy.greetMeAsync(<span class="code-quote">"World"</span>, <span class="code-keyword">new</span> AsyncHandler&lt;<span class="code-object">String</span>&gt;() {
-    <span class="code-keyword">public</span> void handleResponse(Response&lt;<span class="code-object">Object</span>&gt; res) {
-            <span class="code-object">System</span>.out.println(res.get());
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+//wait 3 seconds for responses
+((BindingProvider)proxy).getRequestContext().put("udp.multi.response.timeout", 3000);
+proxy.greetMeAsync("World", new AsyncHandler&lt;String&gt;() {
+    public void handleResponse(Response&lt;Object&gt; res) {
+            System.out.println(res.get());
     }
 });
-</pre>
+]]></script>
 </div></div>
 </div>
            </div>



Mime
View raw message