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 [39/46] - in /websites/production/cxf/content: ./ 2008/04/28/ 2008/06/20/ 2009/02/10/ 2009/08/04/ cache/ docs/ docs/cxf-architecture.thumbs/ docs/cxf-dependency-graphs.thumbs/ docs/logbrowser-configuration.thumbs/ docs/logbrowser-so...

Modified: websites/production/cxf/content/docs/using-cxf-jca-rar-in-application-server.html
==============================================================================
--- websites/production/cxf/content/docs/using-cxf-jca-rar-in-application-server.html (original)
+++ websites/production/cxf/content/docs/using-cxf-jca-rar-in-application-server.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 CXF-JCA RAR in Application Server">
+
+  <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 CXF-JCA RAR in Application Server
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Using CXF-JCA RAR in Appli
     <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 -- Using CXF-JCA RAR in Appli
 
 
 <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>
@@ -154,18 +162,18 @@ div.rbtoc1322837287944 li {margin-left: 
 	<ul><li>geronimo-activation_1.1_spec-1.0-M1.jar</li><li>geronimo-annotation_1.0_spec-1.1.jar</li><li>geronimo-ws-metadata_2.0_spec-1.1.1.jar</li><li>jaxb-api-2.1.jar</li><li>jaxb-impl-2.1.4.jar</li><li>jaxb-xjc-2.1.4.jar</li><li>jsr181-api-1.0-MR1.jar</li><li>saaj-api-1.3.jar</li><li>saaj-impl-1.3.jar</li><li>stax-api-1.0.1.jar</li><li>stax-utils-20060502.jar</li></ul>
 	</li><li>Copy the rar to the $JBOSS_HOME/server/default</li><li>Create the cxfj2ee_1_5-ds.xml as below, and copy it to $JBOSS_HOME/server/default
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;!DOCTYPE connection-factories
-    PUBLIC <span class="code-quote">"-//JBoss//DTD JBOSS JCA Config 1.5//EN"</span>
-    <span class="code-quote">"http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"</span>&gt;
-<span class="code-tag">&lt;connection-factories&gt;</span>
-  <span class="code-tag">&lt;no-tx-connection-factory&gt;</span>
-    <span class="code-tag">&lt;jndi-name&gt;</span>CXFConnector<span class="code-tag">&lt;/jndi-name&gt;</span>
-    <span class="code-tag">&lt;rar-name&gt;</span>cxf.rar<span class="code-tag">&lt;/rar-name&gt;</span>
-    <span class="code-tag">&lt;connection-definition&gt;</span>org.apache.cxf.connector.CXFConnectionFactory<span class="code-tag">&lt;/connection-definition&gt;</span>
-  <span class="code-tag">&lt;/no-tx-connection-factory&gt;</span>
-<span class="code-tag">&lt;/connection-factories&gt;</span>
-</pre>
+    PUBLIC "-//JBoss//DTD JBOSS JCA Config 1.5//EN"
+    "http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd"&gt;
+&lt;connection-factories&gt;
+  &lt;no-tx-connection-factory&gt;
+    &lt;jndi-name&gt;CXFConnector&lt;/jndi-name&gt;
+    &lt;rar-name&gt;cxf.rar&lt;/rar-name&gt;
+    &lt;connection-definition&gt;org.apache.cxf.connector.CXFConnectionFactory&lt;/connection-definition&gt;
+  &lt;/no-tx-connection-factory&gt;
+&lt;/connection-factories&gt;
+]]></script>
 </div></div></li></ol>
 
 
@@ -175,49 +183,49 @@ div.rbtoc1322837287944 li {margin-left: 
 <p><b>(Note: This has been tested against JBoss4.0.5 and JBoss4.2.1)</b></p>
 <ul><li>Having application.xml
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;</span>
-<span class="code-tag">&lt;application&gt;</span>
-	<span class="code-tag">&lt;display-name&gt;</span>cxf-jca<span class="code-tag">&lt;/display-name&gt;</span>
-	<span class="code-tag">&lt;module&gt;</span>
-		<span class="code-tag">&lt;connector&gt;</span>cxf.rar<span class="code-tag">&lt;/connector&gt;</span>
-	<span class="code-tag">&lt;/module&gt;</span>
-<span class="code-tag">&lt;/application&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;application&gt;
+	&lt;display-name&gt;cxf-jca&lt;/display-name&gt;
+	&lt;module&gt;
+		&lt;connector&gt;cxf.rar&lt;/connector&gt;
+	&lt;/module&gt;
+&lt;/application&gt;
+]]></script>
 </div></div></li></ul>
 
 
 <ul><li>Having jboss-app.xml to configure the classloader.
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;</span>
-<span class="code-tag">&lt;jboss-app&gt;</span>
-	<span class="code-tag">&lt;loader-repository&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;jboss-app&gt;
+	&lt;loader-repository&gt;
 		apache.cxf:loader=cxf.ear
-		<span class="code-tag">&lt;loader-repository-config&gt;</span>
+		&lt;loader-repository-config&gt;
 			java2ParentDelegation=true
-		<span class="code-tag">&lt;/loader-repository-config&gt;</span>
-	<span class="code-tag">&lt;/loader-repository&gt;</span>
-	<span class="code-tag">&lt;module&gt;</span>
-		<span class="code-tag">&lt;service&gt;</span>cxf-ds.xml<span class="code-tag">&lt;/service&gt;</span>
-	<span class="code-tag">&lt;/module&gt;</span>
-<span class="code-tag">&lt;/jboss-app&gt;</span>
-</pre>
+		&lt;/loader-repository-config&gt;
+	&lt;/loader-repository&gt;
+	&lt;module&gt;
+		&lt;service&gt;cxf-ds.xml&lt;/service&gt;
+	&lt;/module&gt;
+&lt;/jboss-app&gt;
+]]></script>
 </div></div></li></ul>
 
 
 <ul><li>Having cxf-ds for jca outbound in JBoss.
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
- <span class="code-tag">&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;</span>
-<span class="code-tag">&lt;connection-factories&gt;</span>
-  <span class="code-tag">&lt;no-tx-connection-factory&gt;</span>
-    <span class="code-tag">&lt;jndi-name&gt;</span>CXFConnector<span class="code-tag">&lt;/jndi-name&gt;</span>
-    <span class="code-tag">&lt;rar-name&gt;</span>cxf.ear#cxf.rar<span class="code-tag">&lt;/rar-name&gt;</span>
-    <span class="code-tag">&lt;connection-definition&gt;</span>org.apache.cxf.connector.CXFConnectionFactory<span class="code-tag">&lt;/connection-definition&gt;</span>
-  <span class="code-tag">&lt;/no-tx-connection-factory&gt;</span>
-<span class="code-tag">&lt;/connection-factories&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+ &lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;connection-factories&gt;
+  &lt;no-tx-connection-factory&gt;
+    &lt;jndi-name&gt;CXFConnector&lt;/jndi-name&gt;
+    &lt;rar-name&gt;cxf.ear#cxf.rar&lt;/rar-name&gt;
+    &lt;connection-definition&gt;org.apache.cxf.connector.CXFConnectionFactory&lt;/connection-definition&gt;
+  &lt;/no-tx-connection-factory&gt;
+&lt;/connection-factories&gt;
+]]></script>
 </div></div>
 <div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">The rar name should be full name, which is ear-name#rar-name, instead of rar-name alone.</td></tr></table></div></li><li>put the application.xml and jboss-app.xml in the META-INF folder.</li><li>put the cxf.rar and the cxf-ds.xml in an EAR.</li></ul>
 
@@ -238,18 +246,18 @@ div.rbtoc1322837287944 li {margin-left: 
 <h3><a shape="rect" name="UsingCXF-JCARARinApplicationServer-PackageRARinanEAR."></a>Package RAR in an EAR.</h3>
 <ul><li>Add a weblogic-ra.xml in the <b>META-INF</b> folder.
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;weblogic-connector xmlns=<span class="code-quote">"http://www.bea.com/ns/weblogic/90"</span>&gt;</span>
-    <span class="code-tag">&lt;outbound-resource-adapter&gt;</span>
-        <span class="code-tag">&lt;connection-definition-group&gt;</span>
-	   <span class="code-tag">&lt;connection-factory-interface&gt;</span>org.apache.cxf.connector.CXFConnectionFactory<span class="code-tag">&lt;/connection-factory-interface&gt;</span>
-           <span class="code-tag">&lt;connection-instance&gt;</span>    
-		<span class="code-tag">&lt;jndi-name&gt;</span>CXFConnector<span class="code-tag">&lt;/jndi-name&gt;</span>
-           <span class="code-tag">&lt;/connection-instance&gt;</span>
-        <span class="code-tag">&lt;/connection-definition-group&gt;</span>
-    <span class="code-tag">&lt;/outbound-resource-adapter&gt;</span>
-<span class="code-tag">&lt;/weblogic-connector&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;weblogic-connector xmlns="http://www.bea.com/ns/weblogic/90"&gt;
+    &lt;outbound-resource-adapter&gt;
+        &lt;connection-definition-group&gt;
+	   &lt;connection-factory-interface&gt;org.apache.cxf.connector.CXFConnectionFactory&lt;/connection-factory-interface&gt;
+           &lt;connection-instance&gt;    
+		&lt;jndi-name&gt;CXFConnector&lt;/jndi-name&gt;
+           &lt;/connection-instance&gt;
+        &lt;/connection-definition-group&gt;
+    &lt;/outbound-resource-adapter&gt;
+&lt;/weblogic-connector&gt;
+]]></script>
 </div></div></li></ul>
 
 
@@ -266,33 +274,33 @@ div.rbtoc1322837287944 li {margin-left: 
 <h2><a shape="rect" name="UsingCXF-JCARARinApplicationServer-GetConnectionfromManagedConnectionFactory."></a>Get Connection from ManagedConnectionFactory.</h2>
 <p>Below is the code snippet to get the Connection.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
 
-        URL wsdl = getClass().getResource(<span class="code-quote">"/wsdl/hello_world.wsdl"</span>);                
-        CXFConnectionRequestInfo cri = <span class="code-keyword">new</span> CXFConnectionRequestInfo(Greeter.class, 
+        URL wsdl = getClass().getResource("/wsdl/hello_world.wsdl");                
+        CXFConnectionRequestInfo cri = new CXFConnectionRequestInfo(Greeter.class, 
                                            wsdl,
                                            serviceName,
                                            portName);
-        ManagedConnectionFactory managedFactory = <span class="code-keyword">new</span> ManagedConnectionFactoryImpl();
-        Subject subject = <span class="code-keyword">new</span> Subject();
+        ManagedConnectionFactory managedFactory = new ManagedConnectionFactoryImpl();
+        Subject subject = new Subject();
         ManagedConnection mc = managedFactory.createManagedConnection(subject, cri);        
-        <span class="code-object">Object</span> o = mc.getConnection(subject, cri);
-</pre>
+        Object o = mc.getConnection(subject, cri);
+]]></script>
 </div></div>
 
 <p>Also can get the connection without wsdl, but you need to provide the address.</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[
 
-        CXFConnectionRequestInfo requestInfo = <span class="code-keyword">new</span> CXFConnectionRequestInfo();
+        CXFConnectionRequestInfo requestInfo = new CXFConnectionRequestInfo();
         requestInfo.setInterface(Greeter.class);
-        requestInfo.setAddress(<span class="code-quote">"http:<span class="code-comment">//localhost:9000/SoapContext/SoapPort"</span>);
-</span>        
-        ManagedConnectionFactory factory = <span class="code-keyword">new</span> ManagedConnectionFactoryImpl();
-        ManagedConnection mc = factory.createManagedConnection(<span class="code-keyword">null</span>, requestInfo);
-        <span class="code-object">Object</span> client = mc.getConnection(<span class="code-keyword">null</span>, requestInfo);
-</pre>
+        requestInfo.setAddress("http://localhost:9000/SoapContext/SoapPort");
+        
+        ManagedConnectionFactory factory = new ManagedConnectionFactoryImpl();
+        ManagedConnection mc = factory.createManagedConnection(null, requestInfo);
+        Object client = mc.getConnection(null, requestInfo);
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="UsingCXF-JCARARinApplicationServer-UsingCXFJCARARtoaccesstheStatelessSessionBean."></a>Using CXF-JCA RAR to access the Stateless Session Bean.</h2>
@@ -300,7 +308,7 @@ div.rbtoc1322837287944 li {margin-left: 
 If you want to deploy the Stateless Session Bean, you need to modify the ejb_servant.properties file.</p>
 <h3><a shape="rect" name="UsingCXF-JCARARinApplicationServer-Activatetheejbservant.propertiesfile."></a>Activate the ejb_servant.properties file.</h3>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 # Format: 
 # jndi_name={namespace}ServiceName@url_to_swdl
 #   
@@ -310,7 +318,7 @@ If you want to deploy the Stateless Sess
 #
 # Example:
 # GreeterBean={http://apache.org/hello_world_soap_http}Greeter@file:c:/wsdl/hello_world.wsdl
-</pre>
+]]></script>
 </div></div>
 <div class="panelMacro"><table class="tipMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/check.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">You can specify the ejb_servant.properties file location in the $RAR/META-INF/ra.xml "EJBServicePropertiesURL" property value.</td></tr></table></div>
 <div class="panelMacro"><table class="warningMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/forbidden.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">You need to deploy the ejbs before activate the ejb_servant.properties file, otherwise, it won't find the JNDI name.</td></tr></table></div>

Modified: websites/production/cxf/content/docs/using-cxf-with-maven.html
==============================================================================
--- websites/production/cxf/content/docs/using-cxf-with-maven.html (original)
+++ websites/production/cxf/content/docs/using-cxf-with-maven.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 CXF with maven">
+
+  <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 CXF with maven
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Using CXF with maven
     <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 -- Using CXF with maven
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -125,31 +133,31 @@ Apache CXF -- Using CXF with maven
 
 <p>To use CXF within Maven, you'll need to declare the CXF dependencies in your POM. The CXF groupId is "org.apache.cxf". Here is a small example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 
-<span class="code-tag">&lt;properties&gt;</span>
-  <span class="code-tag">&lt;cxf.version&gt;</span>2.2.3<span class="code-tag">&lt;/cxf.version&gt;</span>
-<span class="code-tag">&lt;/properties&gt;</span>
-
-<span class="code-tag">&lt;dependencies&gt;</span>
-	<span class="code-tag">&lt;dependency&gt;</span>
-		<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span class="code-tag">&lt;/groupId&gt;</span>
-		<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-frontend-jaxws<span class="code-tag">&lt;/artifactId&gt;</span>
-		<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span class="code-tag">&lt;/version&gt;</span>
-	<span class="code-tag">&lt;/dependency&gt;</span>
-	<span class="code-tag">&lt;dependency&gt;</span>
-		<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span class="code-tag">&lt;/groupId&gt;</span>
-		<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-transports-http<span class="code-tag">&lt;/artifactId&gt;</span>
-		<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span class="code-tag">&lt;/version&gt;</span>
-	<span class="code-tag">&lt;/dependency&gt;</span>
-        <span class="code-tag"><span class="code-comment">&lt;!-- Jetty is needed if you're are not using the CXFServlet --&gt;</span></span>
-	<span class="code-tag">&lt;dependency&gt;</span>
-		<span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span class="code-tag">&lt;/groupId&gt;</span>
-		<span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-transports-http-jetty<span class="code-tag">&lt;/artifactId&gt;</span>
-		<span class="code-tag">&lt;version&gt;</span>${cxf.version}<span class="code-tag">&lt;/version&gt;</span>
-	<span class="code-tag">&lt;/dependency&gt;</span>
-<span class="code-tag">&lt;/dependencies&gt;</span>
-</pre>
+&lt;properties&gt;
+  &lt;cxf.version&gt;2.2.3&lt;/cxf.version&gt;
+&lt;/properties&gt;
+
+&lt;dependencies&gt;
+	&lt;dependency&gt;
+		&lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
+		&lt;artifactId&gt;cxf-rt-frontend-jaxws&lt;/artifactId&gt;
+		&lt;version&gt;${cxf.version}&lt;/version&gt;
+	&lt;/dependency&gt;
+	&lt;dependency&gt;
+		&lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
+		&lt;artifactId&gt;cxf-rt-transports-http&lt;/artifactId&gt;
+		&lt;version&gt;${cxf.version}&lt;/version&gt;
+	&lt;/dependency&gt;
+        &lt;!-- Jetty is needed if you're are not using the CXFServlet --&gt;
+	&lt;dependency&gt;
+		&lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
+		&lt;artifactId&gt;cxf-rt-transports-http-jetty&lt;/artifactId&gt;
+		&lt;version&gt;${cxf.version}&lt;/version&gt;
+	&lt;/dependency&gt;
+&lt;/dependencies&gt;
+]]></script>
 </div></div>
 
 <p>For information on using Maven with CXF and Tomcat, this <a shape="rect" class="external-link" href="http://www.jroller.com/gmazza/entry/web_service_tutorial" rel="nofollow">blog entry</a> may be helpful.</p>
@@ -159,8 +167,8 @@ Apache CXF -- Using CXF with maven
 <p>Depending on your usage of CXF, you may need to bring in additional dependencies--the mvn install process will usually make clear what you are missing.  Here's a non-exhaustive list of additional CXF artifacts that may be needed:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;!-- Use dependency blocks <span class="code-keyword">for</span> these CXF artifact Ids just as above --&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;!-- Use dependency blocks for these CXF artifact Ids just as above --&gt;
 cxf-rt-core
 cxf-rt-frontend-simple
 cxf-rt-frontend-jaxws
@@ -171,7 +179,7 @@ cxf-rt-transports-http-jetty
 cxf-rt-transports-jms
 cxf-rt-management
 cxf-common-utilities
-</pre>
+]]></script>
 </div></div> 
 
 
@@ -180,15 +188,15 @@ cxf-common-utilities
 <p>To work with the latest non-release versions of CXF (not recommended for production use), <a shape="rect" class="external-link" href="http://www.nabble.com/CXF-snapshot-location-has-changed.-td22460813.html#a22460813" rel="nofollow">updated nightly</a>, change the CXF version to the -SNAPSHOT version desired and add the Apache snapshot repository to both the repositories and pluginRepositories sections:</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;repositories&gt;
    ...other repos...
    &lt;repository&gt;
       &lt;id&gt;apache-snapshots&lt;/id&gt;
       &lt;name&gt;Apache SNAPSHOT Repository&lt;/name&gt;
-      &lt;url&gt;http:<span class="code-comment">//repository.apache.org/snapshots/&lt;/url&gt;
-</span>      &lt;snapshots&gt;
-         &lt;enabled&gt;<span class="code-keyword">true</span>&lt;/enabled&gt;
+      &lt;url&gt;http://repository.apache.org/snapshots/&lt;/url&gt;
+      &lt;snapshots&gt;
+         &lt;enabled&gt;true&lt;/enabled&gt;
       &lt;/snapshots&gt;
    &lt;/repository&gt;
 &lt;/respositories&gt;
@@ -199,7 +207,7 @@ cxf-common-utilities
       ...same repo as above...
    &lt;/pluginRepository&gt;
 &lt;/pluginRepositories&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>The addition to the plugin repositories section is needed because the cxf-codegen-plugin, used for the WSDL2Java, Java2WS, etc. tasks, is downloaded using that entry.</p></div>

Modified: websites/production/cxf/content/docs/using-the-jmsconfigfeature.html
==============================================================================
--- websites/production/cxf/content/docs/using-the-jmsconfigfeature.html (original)
+++ websites/production/cxf/content/docs/using-the-jmsconfigfeature.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 - Using the JMSConfigFeature">
+
+  <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 -- Using the JMSConfigFeature
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- Using the JMSConfigFeature
     <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 -- Using the JMSConfigFeature
 
 
 <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,61 +134,61 @@ Apache CXF -- Using the JMSConfigFeature
 
 <p>Inside a features element the JMSConfigFeature can be defined.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;jaxws:client id=<span class="code-quote">"CustomerService"</span>
-	xmlns:customer=<span class="code-quote">"http:<span class="code-comment">//customerservice.example.com/"</span>
-</span>	serviceName=<span class="code-quote">"customer:CustomerServiceService"</span>
-	endpointName=<span class="code-quote">"customer:CustomerServiceEndpoint"</span> address=<span class="code-quote">"jms:<span class="code-comment">//"</span>
-</span>	serviceClass=<span class="code-quote">"com.example.customerservice.CustomerService"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;jaxws:client id="CustomerService"
+	xmlns:customer="http://customerservice.example.com/"
+	serviceName="customer:CustomerServiceService"
+	endpointName="customer:CustomerServiceEndpoint" address="jms://"
+	serviceClass="com.example.customerservice.CustomerService"&gt;
 	&lt;jaxws:features&gt;
-		&lt;bean xmlns=<span class="code-quote">"http:<span class="code-comment">//www.springframework.org/schema/beans"</span>
-</span>			class=<span class="code-quote">"org.apache.cxf.transport.jms.JMSConfigFeature"</span>
-			p:jmsConfig-ref=<span class="code-quote">"jmsConfig"</span>/&gt;
+		&lt;bean xmlns="http://www.springframework.org/schema/beans"
+			class="org.apache.cxf.transport.jms.JMSConfigFeature"
+			p:jmsConfig-ref="jmsConfig"/&gt;
 	&lt;/jaxws:features&gt;
 &lt;/jaxws:client&gt;
-</pre>
+]]></script>
 </div></div>
 <p>In the above example it references a bean "jmsConfig" where the whole configuration for the JMS transport can be done.</p>
 
 <p>A jaxws Endpoint can be defined in the same way:</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;jaxws:endpoint
-	xmlns:customer=<span class="code-quote">"http:<span class="code-comment">//customerservice.example.com/"</span>
-</span>	id=<span class="code-quote">"CustomerService"</span>
-	address=<span class="code-quote">"jms:<span class="code-comment">//"</span>
-</span>	serviceName=<span class="code-quote">"customer:CustomerServiceService"</span>
-	endpointName=<span class="code-quote">"customer:CustomerServiceEndpoint"</span>
-	implementor=<span class="code-quote">"com.example.customerservice.impl.CustomerServiceImpl"</span>&gt;
+	xmlns:customer="http://customerservice.example.com/"
+	id="CustomerService"
+	address="jms://"
+	serviceName="customer:CustomerServiceService"
+	endpointName="customer:CustomerServiceEndpoint"
+	implementor="com.example.customerservice.impl.CustomerServiceImpl"&gt;
 	&lt;jaxws:features&gt;
-		&lt;bean class=<span class="code-quote">"org.apache.cxf.transport.jms.JMSConfigFeature"</span>
-			p:jmsConfig-ref=<span class="code-quote">"jmsConfig"</span> /&gt;
+		&lt;bean class="org.apache.cxf.transport.jms.JMSConfigFeature"
+			p:jmsConfig-ref="jmsConfig" /&gt;
 	&lt;/jaxws:features&gt;
 &lt;/jaxws:endpoint&gt;
-</pre>
+]]></script>
 </div></div>
 
 
 <p>The JMSConfiguration bean needs at least a reference to a conncection factory and a target destination.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&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">"jmsConnectionFactory"</span>
-	p:targetDestination=<span class="code-quote">"test.cxf.jmstransport.queue"</span>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="jmsConfig" class="org.apache.cxf.transport.jms.JMSConfiguration"
+	p:connectionFactory-ref="jmsConnectionFactory"
+	p:targetDestination="test.cxf.jmstransport.queue"
 /&gt;
-</pre>
+]]></script>
 </div></div>
 <p>If your ConnectionFactory does not cache connections you should wrap it in a spring SingleConnectionFactory. This is necessary because the JMS Transport creates a new connection for each message and the SingleConnectionFactory is needed to cache this connection.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;bean id=<span class="code-quote">"jmsConnectionFactory"</span> class=<span class="code-quote">"org.springframework.jms.connection.SingleConnectionFactory"</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;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="jmsConnectionFactory" class="org.springframework.jms.connection.SingleConnectionFactory"&gt;
+	&lt;property name="targetConnectionFactory"&gt;
+		&lt;bean class="org.apache.activemq.ActiveMQConnectionFactory"&gt;
+			&lt;property name="brokerURL" value="tcp://localhost:61616" /&gt;
+		&lt;/bean&gt;
 	&lt;/property&gt;
 &lt;/bean&gt;
-</pre>
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="UsingtheJMSConfigFeature-UsingJMSConfigurationfromJava"></a>Using JMSConfiguration from Java</h2>
@@ -189,27 +196,27 @@ Apache CXF -- Using the JMSConfigFeature
 <p>To do this from Java, you need to initialize a JMSConfiguration object, then store a reference to it in a JMSConfigFeature, and then add that to the features in the server factory. The code that follows is fragmentary. Note that you can't use query parameters in the endpoint URI that you set in the server factory, all the configuration has to be in the JMSConfiguration object.</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">static</span> JMSConfiguration newJMSConfiguration(<span class="code-object">String</span> taskId, <span class="code-object">String</span> jmsBrokerUrl) {
-        <span class="code-object">String</span> destinationUri = <span class="code-quote">"jms:queue:"</span> + taskId;
-        JMSConfiguration conf = <span class="code-keyword">new</span> JMSConfiguration();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public static JMSConfiguration newJMSConfiguration(String taskId, String jmsBrokerUrl) {
+        String destinationUri = "jms:queue:" + taskId;
+        JMSConfiguration conf = new JMSConfiguration();
         conf.setRequestURI(destinationUri);
-        JNDIConfiguration jndiConfig = <span class="code-keyword">new</span> JNDIConfiguration();
-        JndiTemplate jt = <span class="code-keyword">new</span> JndiTemplate();
-        Properties env = <span class="code-keyword">new</span> Properties();
+        JNDIConfiguration jndiConfig = new JNDIConfiguration();
+        JndiTemplate jt = new JndiTemplate();
+        Properties env = new Properties();
         env.put(Context.PROVIDER_URL, jmsBrokerUrl); 
-        env.put(Context.INITIAL_CONTEXT_FACTORY, <span class="code-quote">"org.apache.activemq.jndi.ActiveMQInitialContextFactory"</span>);
+        env.put(Context.INITIAL_CONTEXT_FACTORY, "org.apache.activemq.jndi.ActiveMQInitialContextFactory");
         jt.setEnvironment(env);
-        jndiConfig.setJndiConnectionFactoryName(<span class="code-quote">"ConnectionFactory"</span>);
+        jndiConfig.setJndiConnectionFactoryName("ConnectionFactory");
         jndiConfig.setEnvironment(env);
         conf.setJndiTemplate(jt);
-        conf.setTargetDestination(<span class="code-quote">"com.basistech.jug."</span> + taskId);
+        conf.setTargetDestination("com.basistech.jug." + taskId);
         conf.setJndiConfig(jndiConfig);
         conf.setTimeToLive(0);
-        <span class="code-keyword">return</span> conf;
+        return conf;
 }
 {
-        JMSConfigFeature jmsConfigFeature = <span class="code-keyword">new</span> JMSConfigFeature();
+        JMSConfigFeature jmsConfigFeature = new JMSConfigFeature();
         JMSConfiguration jmsConfig = JmsUtils.newJMSConfiguration(taskId, jmsBrokerUrl);
         jmsConfig.setConcurrentConsumers(maxServiceThreads);
         jmsConfig.setMaxConcurrentConsumers(maxServiceThreads);
@@ -219,7 +226,7 @@ Apache CXF -- Using the JMSConfigFeature
 
         server = svrFactory.create();
 }
-</pre>
+]]></script>
 </div></div>
 
 

Modified: websites/production/cxf/content/docs/webservicecontext.html
==============================================================================
--- websites/production/cxf/content/docs/webservicecontext.html (original)
+++ websites/production/cxf/content/docs/webservicecontext.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 - WebserviceContext">
+
+  <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 -- WebserviceContext
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- WebserviceContext
     <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 -- WebserviceContext
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -125,36 +132,36 @@ Apache CXF -- WebserviceContext
 
 <p>&#160;The following code fragment show how to use some parts of the WebserviceContext.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class CustomerServiceImpl <span class="code-keyword">implements</span> CustomerService {
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public class CustomerServiceImpl implements CustomerService {
   @Resource
   WebServiceContext wsContext;
 
-  <span class="code-keyword">public</span> List&lt;Customer&gt; getCustomersByName(<span class="code-object">String</span> name) <span class="code-keyword">throws</span> NoSuchCustomerException {
+  public List&lt;Customer&gt; getCustomersByName(String name) throws NoSuchCustomerException {
     Principal pr = wsContext.getUserPrincipal();
 
-    <span class="code-comment">// Only joe may access <span class="code-keyword">this</span> service operation
-</span>    <span class="code-keyword">if</span> (pr == <span class="code-keyword">null</span> || !<span class="code-quote">"joe"</span>.equals(pr.getName())) {
-      <span class="code-keyword">throw</span> <span class="code-keyword">new</span> RuntimeException(<span class="code-quote">"Access denied"</span>);
+    // Only joe may access this service operation
+    if (pr == null || !"joe".equals(pr.getName())) {
+      throw new RuntimeException("Access denied");
     }
 
-    <span class="code-comment">// Only the sales role may access <span class="code-keyword">this</span> operation
-</span>&#160;   <span class="code-keyword">if</span> (!wsContext.isUserInRole(<span class="code-quote">"sales"</span>)) {
-      <span class="code-keyword">throw</span> <span class="code-keyword">new</span> RuntimeException(<span class="code-quote">"Access denied"</span>);
+    // Only the sales role may access this operation
+Ê   if (!wsContext.isUserInRole("sales")) {
+      throw new RuntimeException("Access denied");
     }
 
     MessageContext mContext = wsContext.getMessageContext();
 
-    <span class="code-comment">// See which contents the message context has
-</span>    Set&lt;<span class="code-object">String</span>&gt; s = mContext.keySet();
+    // See which contents the message context has
+    Set&lt;String&gt; s = mContext.keySet();
 
-    <span class="code-comment">// Using <span class="code-keyword">this</span> cxf specific code you can access the CXF Message and Exchange objects
-</span>    WrappedMessageContext wmc = (WrappedMessageContext)mContext;
+    // Using this cxf specific code you can access the CXF Message and Exchange objects
+    WrappedMessageContext wmc = (WrappedMessageContext)mContext;
     Message m = wmc.getWrappedMessage();
     Exchange ex = m.getExchange();
   }
 }
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/why-cxf.html
==============================================================================
--- websites/production/cxf/content/docs/why-cxf.html (original)
+++ websites/production/cxf/content/docs/why-cxf.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Why CXF?">
+
+
     <title>
 Apache CXF -- Why CXF?
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Why CXF?
     <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 -- Why CXF?
 
 
 <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/writing-a-service-with-spring.html
==============================================================================
--- websites/production/cxf/content/docs/writing-a-service-with-spring.html (original)
+++ websites/production/cxf/content/docs/writing-a-service-with-spring.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Writing a service with Spring">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Writing a service with Spring
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Writing a service with Spr
     <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 -- Writing a service with Spr
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -136,32 +144,34 @@ Apache CXF -- Writing a service with Spr
 <h1><a shape="rect" name="WritingaservicewithSpring-WritingyourService"></a>Writing your Service</h1>
 <p>First we'll write our service interface. It will have one operation called "sayHello" which says "Hello" to whoever submits their name.</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java"><span class="code-keyword">package</span> demo.spring.service;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+package demo.spring.service;
 
-<span class="code-keyword">import</span> javax.jws.WebService;
+import javax.jws.WebService;
 
 @WebService
-<span class="code-keyword">public</span> <span class="code-keyword">interface</span> HelloWorld {
-    <span class="code-object">String</span> sayHi(<span class="code-object">String</span> text);
+public interface HelloWorld {
+    String sayHi(String text);
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>Our implementation will then look like this:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java"><span class="code-keyword">package</span> demo.spring.service;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+package demo.spring.service;
 
-<span class="code-keyword">import</span> javax.jws.WebService;
+import javax.jws.WebService;
 
-@WebService(endpointInterface = <span class="code-quote">"demo.spring.service.HelloWorld"</span>)
-<span class="code-keyword">public</span> class HelloWorldImpl <span class="code-keyword">implements</span> HelloWorld {
+@WebService(endpointInterface = "demo.spring.service.HelloWorld")
+public class HelloWorldImpl implements HelloWorld {
 
-    <span class="code-keyword">public</span> <span class="code-object">String</span> sayHi(<span class="code-object">String</span> text) {
-        <span class="code-object">System</span>.out.println(<span class="code-quote">"sayHi called"</span>);
-        <span class="code-keyword">return</span> <span class="code-quote">"Hello "</span> + text;
+    public String sayHi(String text) {
+        System.out.println("sayHi called");
+        return "Hello " + text;
     }
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>The <tt>@WebService</tt> annotation on the implementation class lets CXF know which interface to use when creating WSDL. In this case its simply our HelloWorld interface.</p>
@@ -171,33 +181,34 @@ Apache CXF -- Writing a service with Spr
 
 <p>Lets create a "cxf-servlet.xml" file in our WEB-INF directory which declares an endpoint bean:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">&lt;beans xmlns=<span class="code-quote">"http:<span class="code-comment">//www.springframework.org/schema/beans"</span>
-</span>	xmlns:xsi=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema-instance"</span>
-</span>	xmlns:jaxws=<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/jaxws"</span>
-</span>	xsi:schemaLocation="
-http:<span class="code-comment">//www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
-</span>http:<span class="code-comment">//cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"&gt;
-</span>
-	&lt;<span class="code-keyword">import</span> resource=<span class="code-quote">"classpath:META-INF/cxf/cxf.xml"</span> /&gt;
-	&lt;<span class="code-keyword">import</span> resource=<span class="code-quote">"classpath:META-INF/cxf/cxf-servlet.xml"</span> /&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns:jaxws="http://cxf.apache.org/jaxws"
+	xsi:schemaLocation="
+http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
+http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"&gt;
+
+	&lt;import resource="classpath:META-INF/cxf/cxf.xml" /&gt;
+	&lt;import resource="classpath:META-INF/cxf/cxf-servlet.xml" /&gt;
 
 	&lt;jaxws:endpoint 
-	  id=<span class="code-quote">"helloWorld"</span> 
-	  implementor=<span class="code-quote">"demo.spring.service.HelloWorldImpl"</span> 
-	  address=<span class="code-quote">"/HelloWorld"</span> /&gt;
+	  id="helloWorld" 
+	  implementor="demo.spring.service.HelloWorldImpl" 
+	  address="/HelloWorld" /&gt;
 	  
 &lt;/beans&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>If you want to reference a spring managed-bean, you can write like this:</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">"hello"</span> class=<span class="code-quote">"demo.spring.service.HelloWorldImpl"</span> /&gt;</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;bean id="hello" class="demo.spring.service.HelloWorldImpl" /&gt;
 
-<span class="code-tag">&lt;jaxws:endpoint id=<span class="code-quote">"helloWorld"</span> implementor=<span class="code-quote">"#hello"</span> address=<span class="code-quote">"/HelloWorld"</span> /&gt;</span>
-</pre>
+&lt;jaxws:endpoint id="helloWorld" implementor="#hello" address="/HelloWorld" /&gt;
+]]></script>
 </div></div>
 <p>The bean uses the following properties:</p>
 <ul><li><tt>id</tt> specifies the id of the bean in the Spring context.</li><li><tt>implementor</tt> specifies the implementation class.</li><li><tt>address</tt> specifies the location the service will be hosted. This should just be a related path. This is because CXF can't know the war name and the servlet container's listening port, CXF will update the endpoint address with the request url at the runtime.</li></ul>
@@ -216,7 +227,7 @@ http:<span class="code-comment">//www.sp
 
 <p>An 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[
 &lt;web-app ...&gt;
 ...
    &lt;context-param&gt;
@@ -230,7 +241,7 @@ http:<span class="code-comment">//www.sp
       &lt;/listener-class&gt;
    &lt;/listener&gt;
 &lt;/web-app&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>It is important to note that the address that you chose for your endpoint bean must be one your servlet listens on. For instance, if my Servlet was register for "/some-services/*" but my address was "/more-services/HelloWorld", there is no way CXF could receive a request. </p>
@@ -239,28 +250,28 @@ http:<span class="code-comment">//www.sp
 <p>Just like the <tt>&lt;jaxws:endpoint&gt;</tt> used on the server side, there is a <tt>&lt;jaxws:client&gt;</tt> that can be used on the client side.  You'll give it a bean name, the service interface, and the service URL, and it will create a bean with the specified name, implementing the service interface, and invoking the remote SOAP service under the covers:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;</span>
-&lt;beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
-       <span class="code-keyword">xmlns:jaxws</span>=<span class="code-quote">"http://cxf.apache.org/jaxws"</span>
-       <span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:jaxws="http://cxf.apache.org/jaxws"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
 http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"&gt;
 
-    &lt;jaxws:client id=<span class="code-quote">"helloClient"</span>
-                  serviceClass=<span class="code-quote">"demo.spring.HelloWorld"</span>
-                  address=<span class="code-quote">"http://localhost:9002/HelloWorld"</span> /&gt;
-<span class="code-tag">&lt;/beans&gt;</span></pre>
+    &lt;jaxws:client id="helloClient"
+                  serviceClass="demo.spring.HelloWorld"
+                  address="http://localhost:9002/HelloWorld" /&gt;
+&lt;/beans&gt;]]></script>
 </div></div>
 
 <p>You can now inject that "helloClient" bean into any other Spring bean, or look it up from the Spring application context manually with code like this:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-ApplicationContext context = ...; <span class="code-comment">// your Spring ApplicationContext
-</span>HelloWorld client = (HelloWorld) context.getBean(<span class="code-quote">"helloClient"</span>);
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+ApplicationContext context = ...; // your Spring ApplicationContext
+HelloWorld client = (HelloWorld) context.getBean("helloClient");
+]]></script>
 </div></div>
 
 <p>You can also do more sophisticated things with the <tt>&lt;jaxws:client&gt;</tt> element like add nested tags to attach JAX-WS Handlers or CXF Interceptors to the client.  For more on this see <a shape="rect" href="jax-ws-configuration.html" title="JAX-WS Configuration">JAX-WS Configuration</a>.</p>
@@ -270,31 +281,32 @@ ApplicationContext context = ...; <span 
 
 <p>Here's an example:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">&lt;beans xmlns=<span class="code-quote">"http://www.springframework.org/schema/beans"</span>
-	<span class="code-keyword">xmlns:xsi</span>=<span class="code-quote">"http://www.w3.org/2001/XMLSchema-instance"</span>
-	<span class="code-keyword">xmlns:jaxws</span>=<span class="code-quote">"http://cxf.apache.org/jaxws"</span>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns:jaxws="http://cxf.apache.org/jaxws"
 	xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
 http://cxf.apache.org/jaxws http://cxf.apache.org/schema/jaxws.xsd"&gt;
 
-    &lt;bean id=<span class="code-quote">"client"</span> class=<span class="code-quote">"demo.spring.service.HelloWorld"</span> 
-          factory-bean=<span class="code-quote">"clientFactory"</span> factory-method=<span class="code-quote">"create"</span>/&gt;
+    &lt;bean id="client" class="demo.spring.service.HelloWorld" 
+          factory-bean="clientFactory" factory-method="create"/&gt;
     
-    <span class="code-tag">&lt;bean id=<span class="code-quote">"clientFactory"</span> class=<span class="code-quote">"org.apache.cxf.jaxws.JaxWsProxyFactoryBean"</span>&gt;</span>
-        <span class="code-tag">&lt;property name=<span class="code-quote">"serviceClass"</span> value=<span class="code-quote">"demo.spring.service.HelloWorld"</span>/&gt;</span>
-        <span class="code-tag">&lt;property name=<span class="code-quote">"address"</span> value=<span class="code-quote">"http://localhost:9002/services/HelloWorld"</span>/&gt;</span>
-    <span class="code-tag">&lt;/bean&gt;</span>
+    &lt;bean id="clientFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean"&gt;
+        &lt;property name="serviceClass" value="demo.spring.service.HelloWorld"/&gt;
+        &lt;property name="address" value="http://localhost:9002/services/HelloWorld"/&gt;
+    &lt;/bean&gt;
 	  
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p>If you were going to access your client you could now simply pull it out of the Spring context (or better yet, inject it into your application using Spring!):</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java"> 
-ApplicationContext context = ...; <span class="code-comment">// your Spring ApplicationContext
-</span>HelloWorld client = (HelloWorld) context.getBean(<span class="code-quote">"client"</span>);
-</pre>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[ 
+ApplicationContext context = ...; // your Spring ApplicationContext
+HelloWorld client = (HelloWorld) context.getBean("client");
+]]></script>
 </div></div>
 
 <p>client code at 

Modified: websites/production/cxf/content/docs/ws-addressing.html
==============================================================================
--- websites/production/cxf/content/docs/ws-addressing.html (original)
+++ websites/production/cxf/content/docs/ws-addressing.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 - WS-Addressing">
+
+  <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 -- WS-Addressing
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- WS-Addressing
     <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 -- WS-Addressing
 
 
 <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,48 +135,48 @@ Apache CXF -- WS-Addressing
 
 <p>To enable WS-Addressing you may enable the WSAddressingFeature on your service. If you wish to use XML to configure this, you may use the following syntax:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;jaxws:endpoint id=<span class="code-quote">"{your.service.namespace}YourPortName"</span>&gt;</span>
-  <span class="code-tag">&lt;jaxws:features&gt;</span>
-    <span class="code-tag">&lt;wsa:addressing <span class="code-keyword">xmlns:wsa</span>=<span class="code-quote">"http://cxf.apache.org/ws/addressing"</span>/&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="{your.service.namespace}YourPortName"&gt;
+  &lt;jaxws:features&gt;
+    &lt;wsa:addressing xmlns:wsa="http://cxf.apache.org/ws/addressing"/&gt;
+  &lt;/jaxws:features&gt;
+&lt;/jaxws:endpoint&gt;
+]]></script>
 </div></div>
 <p>You can also use the same exact syntax with a &lt;jaxws:client&gt;</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;jaxws: client id=<span class="code-quote">"{your.service.namespace}YourPortName"</span>&gt;</span>
-  <span class="code-tag">&lt;jaxws:features&gt;</span>
-    <span class="code-tag">&lt;wsa:addressing <span class="code-keyword">xmlns:wsa</span>=<span class="code-quote">"http://cxf.apache.org/ws/addressing"</span>/&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="{your.service.namespace}YourPortName"&gt;
+  &lt;jaxws:features&gt;
+    &lt;wsa:addressing xmlns:wsa="http://cxf.apache.org/ws/addressing"/&gt;
+  &lt;/jaxws:features&gt;
+&lt;/jaxws:client&gt;
+]]></script>
 </div></div>
 <p> From an API point of view this looks very similar:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.jaxws.EndpointImpl;
-<span class="code-keyword">import</span> org.apache.cxf.ws.addressing.WSAddressingFeature;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import org.apache.cxf.jaxws.EndpointImpl;
+import org.apache.cxf.ws.addressing.WSAddressingFeature;
 
-MyServiceImpl implementor =  <span class="code-keyword">new</span> MyServiceImpl()
+MyServiceImpl implementor =  new MyServiceImpl()
 EndpointImpl ep = (EndpointImpl) Endpoint.create(implementor);
-ep.getFeatures().add(<span class="code-keyword">new</span> WSAddressingFeature());
-ep.publish(<span class="code-quote">"http:<span class="code-comment">//some/address"</span>);</span>
-</pre>
+ep.getFeatures().add(new WSAddressingFeature());
+ep.publish("http://some/address");
+]]></script>
 </div></div>
 <p>You can also use it with the ClientProxyFactoryBeans and ServerFactoryBeans (and their JAX-WS versions, namely JaxWsProxyFactoryBean and JaxWsServerFactoryBean):</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.frontend.simple.ClientProxyFactoryBean;
-<span class="code-keyword">import</span> org.apache.cxf.ws.addressing.WSAddressingFeature;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import org.apache.cxf.frontend.simple.ClientProxyFactoryBean;
+import org.apache.cxf.ws.addressing.WSAddressingFeature;
 
-ClientProxyFactoryBean factory = <span class="code-keyword">new</span> ClientProxyFactoryBean();
+ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
 factory.setServiceClass(MyService.class);
-factory.setAddress(<span class="code-quote">"http:<span class="code-comment">//acme.come/some-service"</span>);
-</span>factory.getFeatures().add(<span class="code-keyword">new</span> WSAddressingFeature());
+factory.setAddress("http://acme.come/some-service");
+factory.getFeatures().add(new WSAddressingFeature());
 MyService client = (MyService) factory.create();
-</pre>
+]]></script>
 </div></div>
 
 <h1><a shape="rect" name="WS-Addressing-EnablingWSAddressingwithWSPolicy"></a>Enabling WS-Addressing with WS-Policy</h1>
@@ -181,37 +189,37 @@ MyService client = (MyService) factory.c
 <p>The HTTP Conduit's client configuration has an option for a DecoupledEndpoint address.  If the conduit has this configured, all requests sent via that conduit that have WS-Addressing enabled will have their responses sent to that endpoint:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-    <span class="code-tag">&lt;http:conduit name=<span class="code-quote">"{http://apache.org/hello_world_soap_http}SoapPort.http-conduit"</span>&gt;</span>
-      <span class="code-tag">&lt;http:client DecoupledEndpoint=<span class="code-quote">"http://localhost:9090/decoupled_endpoint"</span>/&gt;</span>
-    <span class="code-tag">&lt;/http:conduit&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+    &lt;http:conduit name="{http://apache.org/hello_world_soap_http}SoapPort.http-conduit"&gt;
+      &lt;http:client DecoupledEndpoint="http://localhost:9090/decoupled_endpoint"/&gt;
+    &lt;/http:conduit&gt;
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="WS-Addressing-RequestProperty"></a>Request Property</h3>
 <p>The address can be set via a Request Context property.   </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[
 ((BindingProvider)proxy).getRequestContext()
-    .put(<span class="code-quote">"org.apache.cxf.ws.addressing.replyto"</span>, <span class="code-quote">"http:<span class="code-comment">//localhost:9090/decoupled_endpoint"</span>);</span>
-</pre>
+    .put("org.apache.cxf.ws.addressing.replyto", "http://localhost:9090/decoupled_endpoint");
+]]></script>
 </div></div>
 
 <h3><a shape="rect" name="WS-Addressing-AddressingProperties"></a>AddressingProperties</h3>
 <p>The CXF org.apache.cxf.ws.addressing.impl.AddressingPropertiesImpl object can be used to control many aspects of WS-Addressing including the Reply-To:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-        AddressingProperties maps = <span class="code-keyword">new</span> AddressingPropertiesImpl();
-        EndpointReferenceType ref = <span class="code-keyword">new</span> EndpointReferenceType();
-        AttributedURIType add = <span class="code-keyword">new</span> AttributedURIType();
-        add.setValue(<span class="code-quote">"http:<span class="code-comment">//localhost:9090/decoupled_endpoint"</span>);
-</span>        ref.setAddress(add);
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+        AddressingProperties maps = new AddressingPropertiesImpl();
+        EndpointReferenceType ref = new EndpointReferenceType();
+        AttributedURIType add = new AttributedURIType();
+        add.setValue("http://localhost:9090/decoupled_endpoint");
+        ref.setAddress(add);
         maps.setReplyTo(ref);
         maps.setFaultTo(ref);
 
         ((BindingProvider)port).getRequestContext()
-            .put(<span class="code-quote">"javax.xml.ws.addressing.context"</span>, maps);
-</pre>
+            .put("javax.xml.ws.addressing.context", maps);
+]]></script>
 </div></div>
 <div class="panelMacro"><table class="noteMacro"><colgroup span="1"><col span="1" width="24"><col span="1"></colgroup><tr><td colspan="1" rowspan="1" valign="top"><img align="middle" src="https://cwiki.apache.org/confluence/images/icons/emoticons/warning.gif" width="16" height="16" alt="" border="0"></td><td colspan="1" rowspan="1">This method can also be used to configure the namespace/version of the WS-Addressing headers, exact message ID's, etc...</td></tr></table></div></div>
            </div>

Modified: websites/production/cxf/content/docs/ws-discovery.html
==============================================================================
--- websites/production/cxf/content/docs/ws-discovery.html (original)
+++ websites/production/cxf/content/docs/ws-discovery.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-Discovery">
+
+  <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-Discovery
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- WS-Discovery
     <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 -- WS-Discovery
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -138,20 +145,20 @@ Apache CXF -- WS-Discovery
 <p>CXF also provides an API to probe the network or WS-Discovery proxy.   The org.apache.cxf.ws.discovery.WSDiscoveryClient class provides several methods for probing the network. </p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-comment">//Use WS-Discovery to find references to services that implement the Greeter portType
-</span>WSDiscoveryClient client = <span class="code-keyword">new</span> WSDiscoveryClient();
-   <span class="code-comment">// or: <span class="code-keyword">new</span> WSDiscoveryClient(<span class="code-quote">"soap.udp://proxyhost:3702"</span>);
-</span>List&lt;EndpointReference&gt; references = client.probe(<span class="code-keyword">new</span> QName(<span class="code-quote">"http:<span class="code-comment">//cxf.apache.org/hello_world/discovery"</span>, <span class="code-quote">"Greeter"</span>));
-</span>client.close();
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+//Use WS-Discovery to find references to services that implement the Greeter portType
+WSDiscoveryClient client = new WSDiscoveryClient();
+   // or: new WSDiscoveryClient("soap.udp://proxyhost:3702");
+List&lt;EndpointReference&gt; references = client.probe(new QName("http://cxf.apache.org/hello_world/discovery", "Greeter"));
+client.close();
         
-GreeterService service = <span class="code-keyword">new</span> GreeterService();
-<span class="code-comment">//loop through all of them and have them greet me.
-</span><span class="code-keyword">for</span> (EndpointReference ref : references) {
+GreeterService service = new GreeterService();
+//loop through all of them and have them greet me.
+for (EndpointReference ref : references) {
     Greeter g = service.getPort(ref, Greeter.class);
-    <span class="code-object">System</span>.out.println(g.greetMe(<span class="code-quote">"World"</span>));
+    System.out.println(g.greetMe("World"));
 } 
-</pre>
+]]></script>
 </div></div>
 </div>
            </div>

Modified: websites/production/cxf/content/docs/ws-metadataexchange.html
==============================================================================
--- websites/production/cxf/content/docs/ws-metadataexchange.html (original)
+++ websites/production/cxf/content/docs/ws-metadataexchange.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 - WS-MetadataExchange">
+
+  <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 -- WS-MetadataExchange
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- WS-MetadataExchange
     <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 -- WS-MetadataExchange
 
 
 <hr>
-<ul class="alternate" type="square"><li>Search
+<ul class="alternate" type="square"><li>Search<br clear="none">
 
 <form enctype="application/x-www-form-urlencoded" method="get" id="cse-search-box" action="http://www.google.com/cse">
   <div>
@@ -125,13 +133,13 @@ Apache CXF -- WS-MetadataExchange
 dependency will need to be included in your project:</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-xml">
-<span class="code-tag">&lt;dependency&gt;</span>
-    <span class="code-tag">&lt;groupId&gt;</span>org.apache.cxf<span class="code-tag">&lt;/groupId&gt;</span>
-    <span class="code-tag">&lt;artifactId&gt;</span>cxf-rt-ws-mex<span class="code-tag">&lt;/artifactId&gt;</span>
-    <span class="code-tag">&lt;version&gt;</span>${cxf.version}<span class="code-tag">&lt;/version&gt;</span>
-<span class="code-tag">&lt;/dependency&gt;</span>
-</pre>
+<script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;dependency&gt;
+    &lt;groupId&gt;org.apache.cxf&lt;/groupId&gt;
+    &lt;artifactId&gt;cxf-rt-ws-mex&lt;/artifactId&gt;
+    &lt;version&gt;${cxf.version}&lt;/version&gt;
+&lt;/dependency&gt;
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->