cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r867253 [37/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/simple-frontend-configuration.html
==============================================================================
--- websites/production/cxf/content/docs/simple-frontend-configuration.html (original)
+++ websites/production/cxf/content/docs/simple-frontend-configuration.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,18 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Simple Frontend Configuration">
+
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shCore.css' rel='stylesheet' type='text/css' />
+  <link href='http://cxf.apache.org/resources/highlighter/styles/shThemeCXF.css' rel='stylesheet' type='text/css' />
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shCore.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushJava.js' type='text/javascript'></script>
+  <script src='http://cxf.apache.org/resources/highlighter/scripts/shBrushXml.js' type='text/javascript'></script>
+  
+  <script type="text/javascript">
+  SyntaxHighlighter.defaults['toolbar'] = false;
+  SyntaxHighlighter.all();
+  </script>
+ 
     <title>
 Apache CXF -- Simple Frontend Configuration
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Simple Frontend Configurat
     <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 -- Simple Frontend Configurat
 
 
 <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>
@@ -124,23 +132,23 @@ Apache CXF -- Simple Frontend Configurat
 <div id="ConfluenceContent"><h1><a shape="rect" name="SimpleFrontendConfiguration-ConfigurewithSpringforthesimplefrontendserver"></a>Configure with Spring for the simple front end server</h1>
 <p>You can configure the CXF simple front end server endpoint by using the &lt;simple:server&gt; tag in spring. </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:simple</span>=<span class="code-quote">"http://cxf.apache.org/simple"</span>
-      <span class="code-keyword">xmlns:soap</span>=<span class="code-quote">"http://cxf.apache.org/bindings/soap"</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:simple="http://cxf.apache.org/simple"
+      xmlns:soap="http://cxf.apache.org/bindings/soap"
       xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
 http://cxf.apache.org/simple http://cxf.apache.org/schemas/simple.xsd"&gt;
 
-  <span class="code-tag">&lt;simple:server id=<span class="code-quote">"pojoservice"</span> serviceClass=<span class="code-quote">"demo.hw.server.HelloWorld"</span> address=<span class="code-quote">"/hello_world"</span>&gt;</span>
-  	<span class="code-tag">&lt;simple:serviceBean&gt;</span>
-  		<span class="code-tag">&lt;bean class=<span class="code-quote">"demo.hw.server.HelloWorldImpl"</span> /&gt;</span>
-  	<span class="code-tag">&lt;/simple:serviceBean&gt;</span>
-  <span class="code-tag">&lt;/simple:server&gt;</span>
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+  &lt;simple:server id="pojoservice" serviceClass="demo.hw.server.HelloWorld" address="/hello_world"&gt;
+  	&lt;simple:serviceBean&gt;
+  		&lt;bean class="demo.hw.server.HelloWorldImpl" /&gt;
+  	&lt;/simple:serviceBean&gt;
+  &lt;/simple:server&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p>The <tt>simple:server</tt> element supports many additional attributes:</p>
@@ -156,65 +164,65 @@ http://cxf.apache.org/simple http://cxf.
 
 <p>Here is a more advanced example which shows how to provide interceptors and properties:</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:simple</span>=<span class="code-quote">"http://cxf.apache.org/simple"</span>
-      <span class="code-keyword">xmlns:soap</span>=<span class="code-quote">"http://cxf.apache.org/bindings/soap"</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:simple="http://cxf.apache.org/simple"
+      xmlns:soap="http://cxf.apache.org/bindings/soap"
       xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
 http://cxf.apache.org/simple http://cxf.apache.org/schemas/simple.xsd"&gt;
 
-  &lt;simple:server id=<span class="code-quote">"inlineInvoker"</span> 
-    serviceClass=<span class="code-quote">"org.apache.cxf.service.factory.HelloServiceImpl"</span>
-    address=<span class="code-quote">"http://localhost:8080/simpleWithAddress"</span>&gt;
-    <span class="code-tag">&lt;simple:invoker&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.service.invoker.BeanInvoker"</span>&gt;</span>
-        <span class="code-tag">&lt;constructor-arg&gt;</span>
-          <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.service.factory.HelloServiceImpl"</span>/&gt;</span>
-        <span class="code-tag">&lt;/constructor-arg&gt;</span>
-      <span class="code-tag">&lt;/bean&gt;</span>
-    <span class="code-tag">&lt;/simple:invoker&gt;</span>    
-  <span class="code-tag">&lt;/simple:server&gt;</span>
+  &lt;simple:server id="inlineInvoker" 
+    serviceClass="org.apache.cxf.service.factory.HelloServiceImpl"
+    address="http://localhost:8080/simpleWithAddress"&gt;
+    &lt;simple:invoker&gt;
+      &lt;bean class="org.apache.cxf.service.invoker.BeanInvoker"&gt;
+        &lt;constructor-arg&gt;
+          &lt;bean class="org.apache.cxf.service.factory.HelloServiceImpl"/&gt;
+        &lt;/constructor-arg&gt;
+      &lt;/bean&gt;
+    &lt;/simple:invoker&gt;    
+  &lt;/simple:server&gt;
   
-  &lt;simple:server id=<span class="code-quote">"inlineSoapBinding"</span> 
-    serviceClass=<span class="code-quote">"org.apache.cxf.service.factory.HelloService"</span>
-    serviceBean=<span class="code-quote">"#greeter"</span>
-    address=<span class="code-quote">"http://localhost:8080/test"</span>   
-    serviceName=<span class="code-quote">"t:HelloService"</span>
-    <span class="code-keyword">xmlns:t</span>=<span class="code-quote">"http://apache.org/hello_world_soap_http"</span>
-    endpointName=<span class="code-quote">"t:HelloPort"</span>&gt;
-    <span class="code-tag">&lt;simple:binding&gt;</span>
-      <span class="code-tag">&lt;soap:soapBinding mtomEnabled=<span class="code-quote">"true"</span> version=<span class="code-quote">"1.2"</span>/&gt;</span>
-    <span class="code-tag">&lt;/simple:binding&gt;</span>
-  <span class="code-tag">&lt;/simple:server&gt;</span>
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+  &lt;simple:server id="inlineSoapBinding" 
+    serviceClass="org.apache.cxf.service.factory.HelloService"
+    serviceBean="#greeter"
+    address="http://localhost:8080/test"   
+    serviceName="t:HelloService"
+    xmlns:t="http://apache.org/hello_world_soap_http"
+    endpointName="t:HelloPort"&gt;
+    &lt;simple:binding&gt;
+      &lt;soap:soapBinding mtomEnabled="true" version="1.2"/&gt;
+    &lt;/simple:binding&gt;
+  &lt;/simple:server&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <h1><a shape="rect" name="SimpleFrontendConfiguration-ConfigurewithSpringforthesimplefrontendclient"></a>Configure with Spring for the simple front end client</h1>
 <p>You could use the &lt;simple:client&gt; element to configure the simple front end client, you can use the spring's getBean API to get the client instance from the application context.</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:simple</span>=<span class="code-quote">"http://cxf.apache.org/simple"</span>
-      <span class="code-keyword">xmlns:soap</span>=<span class="code-quote">"http://cxf.apache.org/bindings/soap"</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:simple="http://cxf.apache.org/simple"
+      xmlns:soap="http://cxf.apache.org/bindings/soap"
       xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
 http://cxf.apache.org/simple http://cxf.apache.org/schemas/simple.xsd"&gt;
 
-  &lt;simple:client id=<span class="code-quote">"client"</span> 
-    serviceClass=<span class="code-quote">"org.apache.cxf.service.factory.HelloService"</span>
-    address=<span class="code-quote">"http://localhost:9000/foo2"</span>
-    serviceName=<span class="code-quote">"s:XMLService"</span>
-    <span class="code-keyword">xmlns:s</span>=<span class="code-quote">"http://apache.org/hello_world_soap_http"</span>
-    endpointName=<span class="code-quote">"s:XMLPort"</span>    
-    bindingId=<span class="code-quote">"http://cxf.apache.org/bindings/xformat"</span>/&gt;
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+  &lt;simple:client id="client" 
+    serviceClass="org.apache.cxf.service.factory.HelloService"
+    address="http://localhost:9000/foo2"
+    serviceName="s:XMLService"
+    xmlns:s="http://apache.org/hello_world_soap_http"
+    endpointName="s:XMLPort"    
+    bindingId="http://cxf.apache.org/bindings/xformat"/&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <p>The <tt>simple:client</tt> element supports many additional attributes:</p>
@@ -230,41 +238,41 @@ http://cxf.apache.org/simple http://cxf.
 
 <p>Here is a more advanced example which shows how to provide interceptors and properties:</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:simple</span>=<span class="code-quote">"http://cxf.apache.org/simple"</span>
-      <span class="code-keyword">xmlns:soap</span>=<span class="code-quote">"http://cxf.apache.org/bindings/soap"</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:simple="http://cxf.apache.org/simple"
+      xmlns:soap="http://cxf.apache.org/bindings/soap"
       xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
 http://cxf.apache.org/simple http://cxf.apache.org/schemas/simple.xsd"&gt;
 
-  <span class="code-tag">&lt;bean id=<span class="code-quote">"saajIn"</span> class=<span class="code-quote">"org.apache.cxf.binding.soap.saaj.SAAJInInterceptor"</span>/&gt;</span>
-  <span class="code-tag">&lt;bean id=<span class="code-quote">"saajOut"</span> class=<span class="code-quote">"org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor"</span>/&gt;</span>
+  &lt;bean id="saajIn" class="org.apache.cxf.binding.soap.saaj.SAAJInInterceptor"/&gt;
+  &lt;bean id="saajOut" class="org.apache.cxf.binding.soap.saaj.SAAJOutInterceptor"/&gt;
   
-  &lt;simple:client id=<span class="code-quote">"client1"</span> 
-    serviceClass=<span class="code-quote">"org.apache.cxf.service.factory.HelloService"</span>
-    address=<span class="code-quote">"http://localhost:9000/foo"</span>
-    serviceName=<span class="code-quote">"s:SOAPService"</span>
-    <span class="code-keyword">xmlns:s</span>=<span class="code-quote">"http://apache.org/hello_world_soap_http"</span>&gt;
-    <span class="code-tag">&lt;simple:binding&gt;</span>
-      <span class="code-tag">&lt;soap:soapBinding mtomEnabled=<span class="code-quote">"true"</span> version=<span class="code-quote">"1.2"</span>/&gt;</span>
-    <span class="code-tag">&lt;/simple:binding&gt;</span>
-    <span class="code-tag">&lt;simple:inInterceptors&gt;</span>
-	  <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.interceptor.LoggingInInterceptor"</span>/&gt;</span>
-	  <span class="code-tag">&lt;ref bean=<span class="code-quote">"saajIn"</span>/&gt;</span>
-	<span class="code-tag">&lt;/simple:inInterceptors&gt;</span>
-	<span class="code-tag">&lt;simple:outInterceptors&gt;</span>
-	  <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.interceptor.LoggingOutInterceptor"</span>/&gt;</span>
-	  <span class="code-tag">&lt;ref bean=<span class="code-quote">"saajOut"</span>/&gt;</span>
-	<span class="code-tag">&lt;/simple:outInterceptors&gt;</span>
-    <span class="code-tag">&lt;simple:conduitSelector&gt;</span>
-      <span class="code-tag">&lt;bean class=<span class="code-quote">"org.apache.cxf.endpoint.NullConduitSelector"</span>/&gt;</span>
-    <span class="code-tag">&lt;/simple:conduitSelector&gt;</span>
-  <span class="code-tag">&lt;/simple:client&gt;</span>
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+  &lt;simple:client id="client1" 
+    serviceClass="org.apache.cxf.service.factory.HelloService"
+    address="http://localhost:9000/foo"
+    serviceName="s:SOAPService"
+    xmlns:s="http://apache.org/hello_world_soap_http"&gt;
+    &lt;simple:binding&gt;
+      &lt;soap:soapBinding mtomEnabled="true" version="1.2"/&gt;
+    &lt;/simple:binding&gt;
+    &lt;simple:inInterceptors&gt;
+	  &lt;bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/&gt;
+	  &lt;ref bean="saajIn"/&gt;
+	&lt;/simple:inInterceptors&gt;
+	&lt;simple:outInterceptors&gt;
+	  &lt;bean class="org.apache.cxf.interceptor.LoggingOutInterceptor"/&gt;
+	  &lt;ref bean="saajOut"/&gt;
+	&lt;/simple:outInterceptors&gt;
+    &lt;simple:conduitSelector&gt;
+      &lt;bean class="org.apache.cxf.endpoint.NullConduitSelector"/&gt;
+    &lt;/simple:conduitSelector&gt;
+  &lt;/simple:client&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/simple-frontend.html
==============================================================================
--- websites/production/cxf/content/docs/simple-frontend.html (original)
+++ websites/production/cxf/content/docs/simple-frontend.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 - Simple Frontend">
+
+  <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 -- Simple Frontend
     </title>
@@ -42,19 +54,15 @@ Apache CXF -- Simple Frontend
     <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 -- Simple Frontend
 
 
 <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>
@@ -149,11 +157,11 @@ Apache CXF -- Simple Frontend
 
 <p>First you'll want to create your service class:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> <span class="code-keyword">interface</span> HelloWorld {
-  <span class="code-object">String</span> sayHi(<span class="code-object">String</span> text);
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public interface HelloWorld {
+  String sayHi(String text);
 }
-</pre>
+]]></script>
 </div></div>
 <p>This does not have to be an interface, but we're going to use an interface for this example because</p>
 <ol><li>It is good to separate out your service contract (your interface) from your implementation</li><li>This allows us to easily create a Java Proxy client</li></ol>
@@ -161,31 +169,31 @@ Apache CXF -- Simple Frontend
 
 <p>We'll also need an implementation class:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">public</span> class HelloWorldImpl <span class="code-keyword">implements</span> HelloWorld {
-  <span class="code-keyword">public</span> <span class="code-object">String</span> sayHi(<span class="code-object">String</span> text) {
-    <span class="code-keyword">return</span> <span class="code-quote">"Hello "</span> + text;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+public class HelloWorldImpl implements HelloWorld {
+  public String sayHi(String text) {
+    return "Hello " + text;
   }
 }
-</pre>
+]]></script>
 </div></div>
 
 <p>And now we'll want to create a Server from this</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> org.apache.cxf.frontend.ServerFactoryBean;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import org.apache.cxf.frontend.ServerFactoryBean;
 ...
 
-<span class="code-comment">// Create our service implementation
-</span>HelloWorldImpl helloWorldImpl = <span class="code-keyword">new</span> HelloWorldImpl();
+// Create our service implementation
+HelloWorldImpl helloWorldImpl = new HelloWorldImpl();
 
-<span class="code-comment">// Create our Server
-</span>ServerFactoryBean svrFactory = <span class="code-keyword">new</span> ServerFactoryBean();
+// Create our Server
+ServerFactoryBean svrFactory = new ServerFactoryBean();
 svrFactory.setServiceClass(HelloWorld.class);
-svrFactory.setAddress(<span class="code-quote">"http:<span class="code-comment">//localhost:9000/Hello"</span>);
-</span>svrFactory.setServiceBean(helloWorldImpl);
+svrFactory.setAddress("http://localhost:9000/Hello");
+svrFactory.setServiceBean(helloWorldImpl);
 svrFactory.create();
-</pre>
+]]></script>
 </div></div>
 
 <p>Your service is now started! You can access the wsdl at "<a shape="rect" class="external-link" href="http://localhost:9000/Hello?wsdl" rel="nofollow">http://localhost:9000/Hello?wsdl</a>".</p>
@@ -194,16 +202,16 @@ svrFactory.create();
 <p>You'll also want to create a client for your service. CXF includes a ClientProxyFactoryBean which will create a Java proxy for you from your interface which will invoke the service.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
-<pre class="code-java">
-<span class="code-keyword">import</span> demo.hw.server.HelloWorld;
-<span class="code-keyword">import</span> org.apache.cxf.frontend.ClientProxyFactoryBean;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+import demo.hw.server.HelloWorld;
+import org.apache.cxf.frontend.ClientProxyFactoryBean;
 ...
 
-ClientProxyFactoryBean factory = <span class="code-keyword">new</span> ClientProxyFactoryBean();
+ClientProxyFactoryBean factory = new ClientProxyFactoryBean();
 factory.setServiceClass(HelloWorld.class);
-factory.setAddress(<span class="code-quote">"http:<span class="code-comment">//localhost:9000/Hello"</span>);
-</span>HelloWorld client = (HelloWorld) factory.create();
-</pre>
+factory.setAddress("http://localhost:9000/Hello");
+HelloWorld client = (HelloWorld) factory.create();
+]]></script>
 </div></div>
 
 <p>You simply need to set your service class and your service's URL on the bean. Calling create() will then create a proxy for you based on your interface.</p>
@@ -217,23 +225,23 @@ own application context.</p>
 <p>Here's an example cxf-servlet.xml with simple front end endpoint configuration. If you use your own application context, you'll need to import the soap extension and http servlet extension. </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:simple</span>=<span class="code-quote">"http://cxf.apache.org/simple"</span>
-      <span class="code-keyword">xmlns:soap</span>=<span class="code-quote">"http://cxf.apache.org/bindings/soap"</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:simple="http://cxf.apache.org/simple"
+      xmlns:soap="http://cxf.apache.org/bindings/soap"
       xsi:schemaLocation="
 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
 http://cxf.apache.org/bindings/soap http://cxf.apache.org/schemas/configuration/soap.xsd
 http://cxf.apache.org/simple http://cxf.apache.org/schemas/simple.xsd"&gt;
 
-  <span class="code-tag">&lt;simple:server id=<span class="code-quote">"pojoservice"</span> serviceClass=<span class="code-quote">"demo.hw.server.HelloWorld"</span> address=<span class="code-quote">"/hello_world"</span>&gt;</span>
-  	<span class="code-tag">&lt;simple:serviceBean&gt;</span>
-  		<span class="code-tag">&lt;bean class=<span class="code-quote">"demo.hw.server.HelloWorldImpl"</span> /&gt;</span>
-  	<span class="code-tag">&lt;/simple:serviceBean&gt;</span>
-  <span class="code-tag">&lt;/simple:server&gt;</span>
-<span class="code-tag">&lt;/beans&gt;</span>
-</pre>
+  &lt;simple:server id="pojoservice" serviceClass="demo.hw.server.HelloWorld" address="/hello_world"&gt;
+  	&lt;simple:serviceBean&gt;
+  		&lt;bean class="demo.hw.server.HelloWorldImpl" /&gt;
+  	&lt;/simple:serviceBean&gt;
+  &lt;/simple:server&gt;
+&lt;/beans&gt;
+]]></script>
 </div></div>
 
 <h2><a shape="rect" name="SimpleFrontend-DeployingSimpleFrontEndservicetoacontainer"></a>Deploying Simple FrontEnd service to a container</h2>

Modified: websites/production/cxf/content/docs/simple.html
==============================================================================
--- websites/production/cxf/content/docs/simple.html (original)
+++ websites/production/cxf/content/docs/simple.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 - Simple">
+
+
     <title>
 Apache CXF -- Simple
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Simple
     <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 -- Simple
 
 
 <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/site.html
==============================================================================
--- websites/production/cxf/content/docs/site.html (original)
+++ websites/production/cxf/content/docs/site.html Mon Jun 24 17:10:51 2013
@@ -25,6 +25,8 @@
 <meta http-equiv="Content-type" content="text/html;charset=UTF-8">
 <meta name="keywords" content="business integration, EAI, SOA, Service Oriented Architecture, web services, SOAP, JBI, JMS, WSDL, XML, EDI, Electronic Data Interchange, standards support, integration standards, application integration, middleware, software, solutions, services, CXF, open source">
 <meta name="description" content="Apache CXF, Services Framework - Site">
+
+
     <title>
 Apache CXF -- Site
     </title>
@@ -42,19 +44,15 @@ Apache CXF -- Site
     <td id="cell-1-0">&nbsp;</td>
     <td id="cell-1-1">&nbsp;</td>
     <td id="cell-1-2">
-      <div style="padding: 5px;">
-        <div id="banner">
-          <!-- Banner -->
-<div id="banner-content">
+      <!-- Banner -->
+<div class="banner" id="banner"><p>
 <table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td align="left" colspan="1" nowrap>
 <a shape="rect" href="http://cxf.apache.org/" title="Apache CXF"><span style="font-weight: bold; font-size: 170%; color: white">Apache CXF</span></a>
 </td><td align="right" colspan="1" nowrap>
 <a shape="rect" href="http://www.apache.org/" title="The Apache 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 -- Site
 
 
 <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/soap-11.html
==============================================================================
--- websites/production/cxf/content/docs/soap-11.html (original)
+++ websites/production/cxf/content/docs/soap-11.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 - SOAP 1.1">
+
+  <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 -- SOAP 1.1
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- SOAP 1.1
     <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 -- SOAP 1.1
 
 
 <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>
@@ -146,59 +153,59 @@ Apache CXF -- SOAP 1.1
 <p>If your system had an interface that took orders and offered a single operation to process the orders it would be defined in a WSDL document similar to the one shown below.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Ordering System Interface</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;
-&lt;definitions name=<span class="code-quote">"widgetOrderForm.wsdl"</span>
-    targetNamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>
-</span>    xmlns:soap=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/soap/"</span>
-</span>    xmlns:tns=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns:xsd=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>    xmlns:xsd1=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>    xmlns:SOAP-ENC=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/encoding/"</span>&gt;
-</span>
-&lt;message name=<span class="code-quote">"widgetOrder"</span>&gt;
-  &lt;part name=<span class="code-quote">"numOrdered"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;definitions name="widgetOrderForm.wsdl"
+    targetNamespace="http://widgetVendor.com/widgetOrderForm"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://widgetVendor.com/widgetOrderForm"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://widgetVendor.com/types/widgetTypes"
+    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;
+
+&lt;message name="widgetOrder"&gt;
+  &lt;part name="numOrdered" type="xsd:int"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"widgetOrderBill"</span>&gt;
-  &lt;part name=<span class="code-quote">"price"</span> type=<span class="code-quote">"xsd:<span class="code-object">float</span>"</span>/&gt;
+&lt;message name="widgetOrderBill"&gt;
+  &lt;part name="price" type="xsd:float"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"badSize"</span>&gt;
-  &lt;part name=<span class="code-quote">"numInventory"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+&lt;message name="badSize"&gt;
+  &lt;part name="numInventory" type="xsd:int"/&gt;
 &lt;/message&gt;
 
-&lt;portType name=<span class="code-quote">"orderWidgets"</span>&gt;
-  &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-    &lt;input message=<span class="code-quote">"tns:widgetOrder"</span> name=<span class="code-quote">"order"</span>/&gt;
-    &lt;output message=<span class="code-quote">"tns:widgetOrderBill"</span> name=<span class="code-quote">"bill"</span>/&gt;
-    &lt;fault message=<span class="code-quote">"tns:badSize"</span> name=<span class="code-quote">"sizeFault"</span>/&gt;
+&lt;portType name="orderWidgets"&gt;
+  &lt;operation name="placeWidgetOrder"&gt;
+    &lt;input message="tns:widgetOrder" name="order"/&gt;
+    &lt;output message="tns:widgetOrderBill" name="bill"/&gt;
+    &lt;fault message="tns:badSize" name="sizeFault"/&gt;
   &lt;/operation&gt;
 &lt;/portType&gt;
 ...
 &lt;/definitions&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>The SOAP binding generated for orderWidgets is shown below.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Binding for orderWidgets</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;binding name=<span class="code-quote">"orderWidgetsBinding"</span> type=<span class="code-quote">"tns:orderWidgets"</span>&gt;
-  &lt;soap:binding style=<span class="code-quote">"document"</span> transport=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>/&gt;
-</span>    &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-      &lt;soap:operation soapAction=<span class="code-quote">"" style="</span>document"/&gt;
-      &lt;input name=<span class="code-quote">"order"</span>&gt;
-        &lt;soap:body use=<span class="code-quote">"literal"</span>/&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;binding name="orderWidgetsBinding" type="tns:orderWidgets"&gt;
+  &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
+    &lt;operation name="placeWidgetOrder"&gt;
+      &lt;soap:operation soapAction="" style="document"/&gt;
+      &lt;input name="order"&gt;
+        &lt;soap:body use="literal"/&gt;
       &lt;/input&gt;
-      &lt;output name=<span class="code-quote">"bill"</span>&gt;
-        &lt;soap:body use=<span class="code-quote">"literal"</span>/&gt;
+      &lt;output name="bill"&gt;
+        &lt;soap:body use="literal"/&gt;
       &lt;/output&gt;
-      &lt;fault name=<span class="code-quote">"sizeFault"</span>&gt;
-        &lt;soap:body use=<span class="code-quote">"literal"</span>/&gt;
+      &lt;fault name="sizeFault"&gt;
+        &lt;soap:body use="literal"/&gt;
       &lt;/fault&gt;
   &lt;/operation&gt;
 &lt;/binding&gt;
-</pre>
+]]></script>
 </div></div>
 <p>This binding specifies that messages are sent using the document/literal message style.</p>
 
@@ -214,19 +221,19 @@ Apache CXF -- SOAP 1.1
 <p>The syntax for defining a SOAP header is shown in <b>SOAP Header Syntax</b>. The <tt>message</tt> attribute of <tt>soap:header</tt> is the qualified name of the message from which the part being inserted into the header is taken. The <tt>part</tt> attribute is the name of the message part inserted into the SOAP header. Because SOAP headers are always document style, the WSDL message part inserted into the SOAP header must be defined using an element. Together the message and the part attributes fully describe the data to insert into the SOAP header.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>SOAP Header Syntax</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;binding name=<span class="code-quote">"headwig"</span>&gt;
-  &lt;soap:binding style=<span class="code-quote">"document"</span>
-                transport=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>/&gt;
-</span>    &lt;operation name=<span class="code-quote">"weave"</span>&gt;
-      &lt;soap:operation soapAction=<span class="code-quote">"" style="</span>document"/&gt;
-      &lt;input name=<span class="code-quote">"grain"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;binding name="headwig"&gt;
+  &lt;soap:binding style="document"
+                transport="http://schemas.xmlsoap.org/soap/http"/&gt;
+    &lt;operation name="weave"&gt;
+      &lt;soap:operation soapAction="" style="document"/&gt;
+      &lt;input name="grain"&gt;
         &lt;soap:body .../&gt;
-        &lt;soap:header message=<span class="code-quote">"QName"</span> part=<span class="code-quote">"partName"</span>/&gt;
+        &lt;soap:header message="QName" part="partName"/&gt;
       &lt;/input&gt;
 ...
 &lt;/binding&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>As well as the mandatory <tt>message</tt> and <tt>part</tt> attributes, <tt>soap:header</tt> also supports the <tt>namespace</tt>, the <tt>use</tt>, and the <tt>encodingStyle</tt> attributes. These optional attributes function the same for <tt>soap:header</tt> as they do for <tt>soap:body</tt>.</p>
@@ -243,130 +250,130 @@ Apache CXF -- SOAP 1.1
 <p><b>SOAP 1.1 Binding with a SOAP Header</b> shows a modified version of the orderWidgets service shown in <b>Ordering System Interface</b>. This version has been modified so that each order has an <tt>xsd:base64binary</tt> value placed in the SOAP header of the request and response. The SOAP header is defined as being the <tt>keyVal</tt> part from the <tt>widgetKey</tt> message. In this case you would be responsible for adding the SOAP header in your application logic because it is not part of the input or output message.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>SOAP 1.1 Binding with a SOAP Header</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;
-&lt;definitions name=<span class="code-quote">"widgetOrderForm.wsdl"</span>
-    targetNamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>
-</span>    xmlns:soap=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/soap/"</span>
-</span>    xmlns:tns=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns:xsd=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>    xmlns:xsd1=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>    xmlns:SOAP-ENC=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/encoding/"</span>&gt;
-</span>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;definitions name="widgetOrderForm.wsdl"
+    targetNamespace="http://widgetVendor.com/widgetOrderForm"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://widgetVendor.com/widgetOrderForm"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://widgetVendor.com/types/widgetTypes"
+    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;
+
 &lt;types&gt;
-  &lt;schema targetNamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>           xmlns=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>           xmlns:wsdl=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>&gt;
-</span>    &lt;element name=<span class="code-quote">"keyElem"</span> type=<span class="code-quote">"xsd:base64Binary"</span>/&gt;
+  &lt;schema targetNamespace="http://widgetVendor.com/types/widgetTypes"
+           xmlns="http://www.w3.org/2001/XMLSchema"
+           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;
+    &lt;element name="keyElem" type="xsd:base64Binary"/&gt;
   &lt;/schema&gt;
 &lt;/types&gt;
 
-&lt;message name=<span class="code-quote">"widgetOrder"</span>&gt;
-  &lt;part name=<span class="code-quote">"numOrdered"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+&lt;message name="widgetOrder"&gt;
+  &lt;part name="numOrdered" type="xsd:int"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"widgetOrderBill"</span>&gt;
-  &lt;part name=<span class="code-quote">"price"</span> type=<span class="code-quote">"xsd:<span class="code-object">float</span>"</span>/&gt;
+&lt;message name="widgetOrderBill"&gt;
+  &lt;part name="price" type="xsd:float"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"badSize"</span>&gt;
-  &lt;part name=<span class="code-quote">"numInventory"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+&lt;message name="badSize"&gt;
+  &lt;part name="numInventory" type="xsd:int"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"widgetKey"</span>&gt;
-  &lt;part name=<span class="code-quote">"keyVal"</span> element=<span class="code-quote">"xsd1:keyElem"</span>/&gt;
+&lt;message name="widgetKey"&gt;
+  &lt;part name="keyVal" element="xsd1:keyElem"/&gt;
 &lt;/message&gt;
 
-&lt;portType name=<span class="code-quote">"orderWidgets"</span>&gt;
-  &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-    &lt;input message=<span class="code-quote">"tns:widgetOrder"</span> name=<span class="code-quote">"order"</span>/&gt;
-    &lt;output message=<span class="code-quote">"tns:widgetOrderBill"</span> name=<span class="code-quote">"bill"</span>/&gt;
-    &lt;fault message=<span class="code-quote">"tns:badSize"</span> name=<span class="code-quote">"sizeFault"</span>/&gt;
+&lt;portType name="orderWidgets"&gt;
+  &lt;operation name="placeWidgetOrder"&gt;
+    &lt;input message="tns:widgetOrder" name="order"/&gt;
+    &lt;output message="tns:widgetOrderBill" name="bill"/&gt;
+    &lt;fault message="tns:badSize" name="sizeFault"/&gt;
   &lt;/operation&gt;
 &lt;/portType&gt;
 
-&lt;binding name=<span class="code-quote">"orderWidgetsBinding"</span> type=<span class="code-quote">"tns:orderWidgets"</span>&gt;
-  &lt;soap:binding style=<span class="code-quote">"document"</span> transport=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>/&gt;
-</span>    &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-      &lt;soap:operation soapAction=<span class="code-quote">"" style="</span>document"/&gt;
-      &lt;input name=<span class="code-quote">"order"</span>&gt;
-        &lt;soap:body use=<span class="code-quote">"literal"</span>/&gt;
-        &lt;soap:header message=<span class="code-quote">"tns:widgetKey"</span> part=<span class="code-quote">"keyVal"</span>/&gt;
+&lt;binding name="orderWidgetsBinding" type="tns:orderWidgets"&gt;
+  &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
+    &lt;operation name="placeWidgetOrder"&gt;
+      &lt;soap:operation soapAction="" style="document"/&gt;
+      &lt;input name="order"&gt;
+        &lt;soap:body use="literal"/&gt;
+        &lt;soap:header message="tns:widgetKey" part="keyVal"/&gt;
       &lt;/input&gt;
-      &lt;output name=<span class="code-quote">"bill"</span>&gt;
-        &lt;soap:body use=<span class="code-quote">"literal"</span>/&gt;
-        &lt;soap:header message=<span class="code-quote">"tns:widgetKey"</span> part=<span class="code-quote">"keyVal"</span>/&gt;
+      &lt;output name="bill"&gt;
+        &lt;soap:body use="literal"/&gt;
+        &lt;soap:header message="tns:widgetKey" part="keyVal"/&gt;
       &lt;/output&gt;
-      &lt;fault name=<span class="code-quote">"sizeFault"</span>&gt;
-        &lt;soap:body use=<span class="code-quote">"literal"</span>/&gt;
+      &lt;fault name="sizeFault"&gt;
+        &lt;soap:body use="literal"/&gt;
       &lt;/fault&gt;
   &lt;/operation&gt;
 &lt;/binding&gt;
 ...
 &lt;/definitions&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>You could modify <b>SOAP 1.1 Binding with a SOAP Header</b> so that the header value was a part of the input and output messages as shown in <b>SOAP 1.1 Binding for orderWidgets with a SOAP Header</b>. In this case <tt>keyVal</tt> is a part of the input and output messages. In the <tt>soap:body</tt> element's parts attribute specifies that <tt>keyVal</tt> is not to be inserted into the body. However, it is inserted into the SOAP header.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>SOAP 1.1 Binding for orderWidgets with a SOAP Header</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;
-&lt;definitions name=<span class="code-quote">"widgetOrderForm.wsdl"</span>
-    targetNamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>
-</span>    xmlns:soap=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/soap/"</span>
-</span>    xmlns:tns=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns:xsd=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>    xmlns:xsd1=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>    xmlns:SOAP-ENC=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/encoding/"</span>&gt;
-</span>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;definitions name="widgetOrderForm.wsdl"
+    targetNamespace="http://widgetVendor.com/widgetOrderForm"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+    xmlns:tns="http://widgetVendor.com/widgetOrderForm"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://widgetVendor.com/types/widgetTypes"
+    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;
+
 &lt;types&gt;
-  &lt;schema targetNamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>           xmlns=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>           xmlns:wsdl=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>&gt;
-</span>    &lt;element name=<span class="code-quote">"keyElem"</span> type=<span class="code-quote">"xsd:base64Binary"</span>/&gt;
+  &lt;schema targetNamespace="http://widgetVendor.com/types/widgetTypes"
+           xmlns="http://www.w3.org/2001/XMLSchema"
+           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;
+    &lt;element name="keyElem" type="xsd:base64Binary"/&gt;
   &lt;/schema&gt;
 &lt;/types&gt;
 
-&lt;message name=<span class="code-quote">"widgetOrder"</span>&gt;
-  &lt;part name=<span class="code-quote">"numOrdered"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
-  &lt;part name=<span class="code-quote">"keyVal"</span> element=<span class="code-quote">"xsd1:keyElem"</span>/&gt;
+&lt;message name="widgetOrder"&gt;
+  &lt;part name="numOrdered" type="xsd:int"/&gt;
+  &lt;part name="keyVal" element="xsd1:keyElem"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"widgetOrderBill"</span>&gt;
-  &lt;part name=<span class="code-quote">"price"</span> type=<span class="code-quote">"xsd:<span class="code-object">float</span>"</span>/&gt;
-  &lt;part name=<span class="code-quote">"keyVal"</span> element=<span class="code-quote">"xsd1:keyElem"</span>/&gt;
+&lt;message name="widgetOrderBill"&gt;
+  &lt;part name="price" type="xsd:float"/&gt;
+  &lt;part name="keyVal" element="xsd1:keyElem"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"badSize"</span>&gt;
-  &lt;part name=<span class="code-quote">"numInventory"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+&lt;message name="badSize"&gt;
+  &lt;part name="numInventory" type="xsd:int"/&gt;
 &lt;/message&gt;
 
-&lt;portType name=<span class="code-quote">"orderWidgets"</span>&gt;
-  &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-    &lt;input message=<span class="code-quote">"tns:widgetOrder"</span> name=<span class="code-quote">"order"</span>/&gt;
-    &lt;output message=<span class="code-quote">"tns:widgetOrderBill"</span> name=<span class="code-quote">"bill"</span>/&gt;
-    &lt;fault message=<span class="code-quote">"tns:badSize"</span> name=<span class="code-quote">"sizeFault"</span>/&gt;
+&lt;portType name="orderWidgets"&gt;
+  &lt;operation name="placeWidgetOrder"&gt;
+    &lt;input message="tns:widgetOrder" name="order"/&gt;
+    &lt;output message="tns:widgetOrderBill" name="bill"/&gt;
+    &lt;fault message="tns:badSize" name="sizeFault"/&gt;
   &lt;/operation&gt;
 &lt;/portType&gt;
 
-&lt;binding name=<span class="code-quote">"orderWidgetsBinding"</span> type=<span class="code-quote">"tns:orderWidgets"</span>&gt;
-  &lt;soap:binding style=<span class="code-quote">"document"</span> transport=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>/&gt;
-</span>    &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-      &lt;soap:operation soapAction=<span class="code-quote">"" style="</span>document"/&gt;
-      &lt;input name=<span class="code-quote">"order"</span>&gt;
-        &lt;soap:body use=<span class="code-quote">"literal"</span> parts=<span class="code-quote">"numOrdered"</span>/&gt;
-        &lt;soap:header message=<span class="code-quote">"tns:widgetOrder"</span> part=<span class="code-quote">"keyVal"</span>/&gt;
+&lt;binding name="orderWidgetsBinding" type="tns:orderWidgets"&gt;
+  &lt;soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
+    &lt;operation name="placeWidgetOrder"&gt;
+      &lt;soap:operation soapAction="" style="document"/&gt;
+      &lt;input name="order"&gt;
+        &lt;soap:body use="literal" parts="numOrdered"/&gt;
+        &lt;soap:header message="tns:widgetOrder" part="keyVal"/&gt;
       &lt;/input&gt;
-      &lt;output name=<span class="code-quote">"bill"</span>&gt;
-        &lt;soap:body use=<span class="code-quote">"literal"</span> parts=<span class="code-quote">"bill"</span>/&gt;
-        &lt;soap:header message=<span class="code-quote">"tns:widgetOrderBill"</span> part=<span class="code-quote">"keyVal"</span>/&gt;
+      &lt;output name="bill"&gt;
+        &lt;soap:body use="literal" parts="bill"/&gt;
+        &lt;soap:header message="tns:widgetOrderBill" part="keyVal"/&gt;
       &lt;/output&gt;
-      &lt;fault name=<span class="code-quote">"sizeFault"</span>&gt;
-        &lt;soap:body use=<span class="code-quote">"literal"</span>/&gt;
+      &lt;fault name="sizeFault"&gt;
+        &lt;soap:body use="literal"/&gt;
       &lt;/fault&gt;
   &lt;/operation&gt;
 &lt;/binding&gt;
 ...
 &lt;/definitions&gt;
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->

Modified: websites/production/cxf/content/docs/soap-12.html
==============================================================================
--- websites/production/cxf/content/docs/soap-12.html (original)
+++ websites/production/cxf/content/docs/soap-12.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 - SOAP 1.2">
+
+  <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 -- SOAP 1.2
     </title>
@@ -42,19 +53,15 @@ Apache CXF -- SOAP 1.2
     <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 -- SOAP 1.2
 
 
 <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>
@@ -146,59 +153,59 @@ Apache CXF -- SOAP 1.2
 <p>If your system had an interface that took orders and offered a single operation to process the orders it would be defined in a WSDL fragment similar to the one shown in <b>Ordering System Interface</b>.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>Ordering System Interface</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;
-&lt;definitions name=<span class="code-quote">"widgetOrderForm.wsdl"</span>
-    targetamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>
-</span>    xmlns:wsoap12=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/soap12/"</span>
-</span>    xmlns:tns=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns:xsd=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>    xmlns:xsd1=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>    xmlns:SOAP-ENC=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/encoding/"</span>&gt;
-</span>
-&lt;message name=<span class="code-quote">"widgetOrder"</span>&gt;
-  &lt;part name=<span class="code-quote">"numOrdered"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;definitions name="widgetOrderForm.wsdl"
+    targetamespace="http://widgetVendor.com/widgetOrderForm"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+    xmlns:tns="http://widgetVendor.com/widgetOrderForm"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://widgetVendor.com/types/widgetTypes"
+    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;
+
+&lt;message name="widgetOrder"&gt;
+  &lt;part name="numOrdered" type="xsd:int"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"widgetOrderBill"</span>&gt;
-  &lt;part name=<span class="code-quote">"price"</span> type=<span class="code-quote">"xsd:<span class="code-object">float</span>"</span>/&gt;
+&lt;message name="widgetOrderBill"&gt;
+  &lt;part name="price" type="xsd:float"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"badSize"</span>&gt;
-  &lt;part name=<span class="code-quote">"numInventory"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+&lt;message name="badSize"&gt;
+  &lt;part name="numInventory" type="xsd:int"/&gt;
 &lt;/message&gt;
 
-&lt;portType name=<span class="code-quote">"orderWidgets"</span>&gt;
-  &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-    &lt;input message=<span class="code-quote">"tns:widgetOrder"</span> name=<span class="code-quote">"order"</span>/&gt;
-    &lt;output message=<span class="code-quote">"tns:widgetOrderBill"</span> name=<span class="code-quote">"bill"</span>/&gt;
-    &lt;fault message=<span class="code-quote">"tns:badSize"</span> name=<span class="code-quote">"sizeFault"</span>/&gt;
+&lt;portType name="orderWidgets"&gt;
+  &lt;operation name="placeWidgetOrder"&gt;
+    &lt;input message="tns:widgetOrder" name="order"/&gt;
+    &lt;output message="tns:widgetOrderBill" name="bill"/&gt;
+    &lt;fault message="tns:badSize" name="sizeFault"/&gt;
   &lt;/operation&gt;
 &lt;/portType&gt;
 ...
 &lt;/definitions&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>The SOAP binding generated for orderWidgets is shown in <b>SOAP 1.2 Binding for orderWidgets</b>.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>SOAP 1.2 Binding for orderWidgets</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;binding name=<span class="code-quote">"orderWidgetsBinding"</span> type=<span class="code-quote">"tns:orderWidgets"</span>&gt;
-  &lt;wsoap12:binding style=<span class="code-quote">"document"</span> transport=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>/&gt;
-</span>    &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-      &lt;wsoap12:operation soapAction=<span class="code-quote">"" style="</span>document"/&gt;
-      &lt;input name=<span class="code-quote">"order"</span>&gt;
-        &lt;wsoap12:body use=<span class="code-quote">"literal"</span>/&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;binding name="orderWidgetsBinding" type="tns:orderWidgets"&gt;
+  &lt;wsoap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
+    &lt;operation name="placeWidgetOrder"&gt;
+      &lt;wsoap12:operation soapAction="" style="document"/&gt;
+      &lt;input name="order"&gt;
+        &lt;wsoap12:body use="literal"/&gt;
       &lt;/input&gt;
-      &lt;output name=<span class="code-quote">"bill"</span>&gt;
-        &lt;wsoap12:body use=<span class="code-quote">"literal"</span>/&gt;
+      &lt;output name="bill"&gt;
+        &lt;wsoap12:body use="literal"/&gt;
       &lt;/output&gt;
-      &lt;fault name=<span class="code-quote">"sizeFault"</span>&gt;
-        &lt;wsoap12:body use=<span class="code-quote">"literal"</span>/&gt;
+      &lt;fault name="sizeFault"&gt;
+        &lt;wsoap12:body use="literal"/&gt;
       &lt;/fault&gt;
   &lt;/operation&gt;
 &lt;/binding&gt;
-</pre>
+]]></script>
 </div></div>
 <p>This binding specifies that messages are sent using the document/literal message style.</p>
 
@@ -214,21 +221,21 @@ Apache CXF -- SOAP 1.2
 <p>The syntax for defining a SOAP header is shown in <b>SOAP 1.2 Header Syntax</b>.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>SOAP 1.2 Header Syntax</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;binding name=<span class="code-quote">"headwig"</span>&gt;
-  &lt;wsoap12:binding style=<span class="code-quote">"document"</span> transport=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>/&gt;
-</span>    &lt;operation name=<span class="code-quote">"weave"</span>&gt;
-      &lt;wsoap12:operation soapAction=<span class="code-quote">"" style="</span>documment"/&gt;
-      &lt;input name=<span class="code-quote">"grain"</span>&gt;
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;binding name="headwig"&gt;
+  &lt;wsoap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
+    &lt;operation name="weave"&gt;
+      &lt;wsoap12:operation soapAction="" style="documment"/&gt;
+      &lt;input name="grain"&gt;
         &lt;wsoap12:body .../&gt;
-        &lt;wsoap12:header message=<span class="code-quote">"QName"</span> part=<span class="code-quote">"partName"</span>
-                       use=<span class="code-quote">"literal|encoded"</span>
-                        encodingStyle=<span class="code-quote">"encodingURI"</span>
-                        namespace=<span class="code-quote">"namespaceURI"</span> /&gt;
+        &lt;wsoap12:header message="QName" part="partName"
+                       use="literal|encoded"
+                        encodingStyle="encodingURI"
+                        namespace="namespaceURI" /&gt;
       &lt;/input&gt;
 ...
 &lt;/binding&gt;
-</pre>
+]]></script>
 </div></div>
 <p>The <tt>wsoap12:header</tt> element's attributes are described below.</p>
 
@@ -250,130 +257,130 @@ Apache CXF -- SOAP 1.2
 <p><b>SOAP 1.2 Binding with a SOAP Header</b> shows a modified version of the orderWidgets service shown in <b>Ordering System Interface</b>. This version has been modified so that each order has an <tt>xsd:base64binary</tt> value placed in the header of the request and response. The header is defined as being the keyVal part from the widgetKeymessage. In this case you would be responsible for adding the application logic to create the header because it is not part of the input or output message.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>SOAP 1.2 Binding with a SOAP Header</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;
-&lt;definitions name=<span class="code-quote">"widgetOrderForm.wsdl"</span>
-    targetNamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>
-</span>    xmlns:wsoap12=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/soap12/"</span>
-</span>    xmlns:tns=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns:xsd=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>    xmlns:xsd1=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>    xmlns:SOAP-ENC=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/encoding/"</span>&gt;
-</span>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;definitions name="widgetOrderForm.wsdl"
+    targetNamespace="http://widgetVendor.com/widgetOrderForm"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+    xmlns:tns="http://widgetVendor.com/widgetOrderForm"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://widgetVendor.com/types/widgetTypes"
+    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;
+
 &lt;types&gt;
-  &lt;schema targetNamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>           xmlns=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>           xmlns:wsdl=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>&gt;
-</span>    &lt;element name=<span class="code-quote">"keyElem"</span> type=<span class="code-quote">"xsd:base64Binary"</span>/&gt;
+  &lt;schema targetNamespace="http://widgetVendor.com/types/widgetTypes"
+           xmlns="http://www.w3.org/2001/XMLSchema"
+           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;
+    &lt;element name="keyElem" type="xsd:base64Binary"/&gt;
   &lt;/schema&gt;
 &lt;/types&gt;
 
-&lt;message name=<span class="code-quote">"widgetOrder"</span>&gt;
-  &lt;part name=<span class="code-quote">"numOrdered"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+&lt;message name="widgetOrder"&gt;
+  &lt;part name="numOrdered" type="xsd:int"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"widgetOrderBill"</span>&gt;
-  &lt;part name=<span class="code-quote">"price"</span> type=<span class="code-quote">"xsd:<span class="code-object">float</span>"</span>/&gt;
+&lt;message name="widgetOrderBill"&gt;
+  &lt;part name="price" type="xsd:float"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"badSize"</span>&gt;
-  &lt;part name=<span class="code-quote">"numInventory"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+&lt;message name="badSize"&gt;
+  &lt;part name="numInventory" type="xsd:int"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"widgetKey"</span>&gt;
-  &lt;part name=<span class="code-quote">"keyVal"</span> element=<span class="code-quote">"xsd1:keyElem"</span>/&gt;
+&lt;message name="widgetKey"&gt;
+  &lt;part name="keyVal" element="xsd1:keyElem"/&gt;
 &lt;/message&gt;
 
-&lt;portType name=<span class="code-quote">"orderWidgets"</span>&gt;
-  &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-    &lt;input message=<span class="code-quote">"tns:widgetOrder"</span> name=<span class="code-quote">"order"</span>/&gt;
-    &lt;output message=<span class="code-quote">"tns:widgetOrderBill"</span> name=<span class="code-quote">"bill"</span>/&gt;
-    &lt;fault message=<span class="code-quote">"tns:badSize"</span> name=<span class="code-quote">"sizeFault"</span>/&gt;
+&lt;portType name="orderWidgets"&gt;
+  &lt;operation name="placeWidgetOrder"&gt;
+    &lt;input message="tns:widgetOrder" name="order"/&gt;
+    &lt;output message="tns:widgetOrderBill" name="bill"/&gt;
+    &lt;fault message="tns:badSize" name="sizeFault"/&gt;
   &lt;/operation&gt;
 &lt;/portType&gt;
 
-&lt;binding name=<span class="code-quote">"orderWidgetsBinding"</span> type=<span class="code-quote">"tns:orderWidgets"</span>&gt;
-  &lt;wsoap12:binding style=<span class="code-quote">"document"</span> transport=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>/&gt;
-</span>    &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-      &lt;wsoap12:operation soapAction=<span class="code-quote">"" style="</span>document"/&gt;
-      &lt;input name=<span class="code-quote">"order"</span>&gt;
-        &lt;wsoap12:body use=<span class="code-quote">"literal"</span>/&gt;
-        &lt;wsoap12:header message=<span class="code-quote">"tns:widgetKey"</span> part=<span class="code-quote">"keyVal"</span>/&gt;
+&lt;binding name="orderWidgetsBinding" type="tns:orderWidgets"&gt;
+  &lt;wsoap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
+    &lt;operation name="placeWidgetOrder"&gt;
+      &lt;wsoap12:operation soapAction="" style="document"/&gt;
+      &lt;input name="order"&gt;
+        &lt;wsoap12:body use="literal"/&gt;
+        &lt;wsoap12:header message="tns:widgetKey" part="keyVal"/&gt;
       &lt;/input&gt;
-      &lt;output name=<span class="code-quote">"bill"</span>&gt;
-        &lt;wsoap12:body use=<span class="code-quote">"literal"</span>/&gt;
-        &lt;wsoap12:header message=<span class="code-quote">"tns:widgetKey"</span> part=<span class="code-quote">"keyVal"</span>/&gt;
+      &lt;output name="bill"&gt;
+        &lt;wsoap12:body use="literal"/&gt;
+        &lt;wsoap12:header message="tns:widgetKey" part="keyVal"/&gt;
       &lt;/output&gt;
-      &lt;fault name=<span class="code-quote">"sizeFault"</span>&gt;
-        &lt;wsoap12:body use=<span class="code-quote">"literal"</span>/&gt;
+      &lt;fault name="sizeFault"&gt;
+        &lt;wsoap12:body use="literal"/&gt;
       &lt;/fault&gt;
   &lt;/operation&gt;
 &lt;/binding&gt;
 ...
 &lt;/definitions&gt;
-</pre>
+]]></script>
 </div></div>
 
 <p>You could modify <b>SOAP 1.2 Binding with a SOAP Header</b> so that the header value was a part of the input and output messages as shown in <b>SOAP 1.2 Binding for orderWidgets with a SOAP Header</b>. In this case keyVal is a part of the input and output messages. In the <tt>wsoap12:body</tt> elements the <tt>parts</tt> attribute specifies that keyVal is not to be inserted into the body. However, it is inserted into the header.</p>
 
 <div class="code panel" style="border-width: 1px;"><div class="codeHeader panelHeader" style="border-bottom-width: 1px;"><b>SOAP 1.2 Binding for orderWidgets with a SOAP Header</b></div><div class="codeContent panelContent">
-<pre class="code-java">
-&lt;?xml version=<span class="code-quote">"1.0"</span> encoding=<span class="code-quote">"UTF-8"</span>?&gt;
-&lt;definitions name=<span class="code-quote">"widgetOrderForm.wsdl"</span>
-    targetNamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>
-</span>    xmlns:wsoap12=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/soap12/"</span>
-</span>    xmlns:tns=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/widgetOrderForm"</span>
-</span>    xmlns:xsd=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>    xmlns:xsd1=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>    xmlns:SOAP-ENC=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/encoding/"</span>&gt;
-</span>
+<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
+&lt;?xml version="1.0" encoding="UTF-8"?&gt;
+&lt;definitions name="widgetOrderForm.wsdl"
+    targetNamespace="http://widgetVendor.com/widgetOrderForm"
+    xmlns="http://schemas.xmlsoap.org/wsdl/"
+    xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
+    xmlns:tns="http://widgetVendor.com/widgetOrderForm"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:xsd1="http://widgetVendor.com/types/widgetTypes"
+    xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt;
+
 &lt;types&gt;
-  &lt;schema targetNamespace=<span class="code-quote">"http:<span class="code-comment">//widgetVendor.com/types/widgetTypes"</span>
-</span>           xmlns=<span class="code-quote">"http:<span class="code-comment">//www.w3.org/2001/XMLSchema"</span>
-</span>           xmlns:wsdl=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/wsdl/"</span>&gt;
-</span>    &lt;element name=<span class="code-quote">"keyElem"</span> type=<span class="code-quote">"xsd:base64Binary"</span>/&gt;
+  &lt;schema targetNamespace="http://widgetVendor.com/types/widgetTypes"
+           xmlns="http://www.w3.org/2001/XMLSchema"
+           xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;
+    &lt;element name="keyElem" type="xsd:base64Binary"/&gt;
   &lt;/schema&gt;
 &lt;/types&gt;
 
-&lt;message name=<span class="code-quote">"widgetOrder"</span>&gt;
-  &lt;part name=<span class="code-quote">"numOrdered"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
-  &lt;part name=<span class="code-quote">"keyVal"</span> element=<span class="code-quote">"xsd1:keyElem"</span>/&gt;
+&lt;message name="widgetOrder"&gt;
+  &lt;part name="numOrdered" type="xsd:int"/&gt;
+  &lt;part name="keyVal" element="xsd1:keyElem"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"widgetOrderBill"</span>&gt;
-  &lt;part name=<span class="code-quote">"price"</span> type=<span class="code-quote">"xsd:<span class="code-object">float</span>"</span>/&gt;
-  &lt;part name=<span class="code-quote">"keyVal"</span> element=<span class="code-quote">"xsd1:keyElem"</span>/&gt;
+&lt;message name="widgetOrderBill"&gt;
+  &lt;part name="price" type="xsd:float"/&gt;
+  &lt;part name="keyVal" element="xsd1:keyElem"/&gt;
 &lt;/message&gt;
-&lt;message name=<span class="code-quote">"badSize"</span>&gt;
-  &lt;part name=<span class="code-quote">"numInventory"</span> type=<span class="code-quote">"xsd:<span class="code-object">int</span>"</span>/&gt;
+&lt;message name="badSize"&gt;
+  &lt;part name="numInventory" type="xsd:int"/&gt;
 &lt;/message&gt;
 
-&lt;portType name=<span class="code-quote">"orderWidgets"</span>&gt;
-  &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-    &lt;input message=<span class="code-quote">"tns:widgetOrder"</span> name=<span class="code-quote">"order"</span>/&gt;
-    &lt;output message=<span class="code-quote">"tns:widgetOrderBill"</span> name=<span class="code-quote">"bill"</span>/&gt;
-    &lt;fault message=<span class="code-quote">"tns:badSize"</span> name=<span class="code-quote">"sizeFault"</span>/&gt;
+&lt;portType name="orderWidgets"&gt;
+  &lt;operation name="placeWidgetOrder"&gt;
+    &lt;input message="tns:widgetOrder" name="order"/&gt;
+    &lt;output message="tns:widgetOrderBill" name="bill"/&gt;
+    &lt;fault message="tns:badSize" name="sizeFault"/&gt;
   &lt;/operation&gt;
 &lt;/portType&gt;
 
-&lt;binding name=<span class="code-quote">"orderWidgetsBinding"</span> type=<span class="code-quote">"tns:orderWidgets"</span>&gt;
-  &lt;wsoap12:binding style=<span class="code-quote">"document"</span> transport=<span class="code-quote">"http:<span class="code-comment">//schemas.xmlsoap.org/soap/http"</span>/&gt;
-</span>    &lt;operation name=<span class="code-quote">"placeWidgetOrder"</span>&gt;
-      &lt;wsoap12:operation soapAction=<span class="code-quote">"" style="</span>document"/&gt;
-      &lt;input name=<span class="code-quote">"order"</span>&gt;
-        &lt;wsoap12:body use=<span class="code-quote">"literal"</span> parts=<span class="code-quote">"numOrdered"</span>/&gt;
-        &lt;wsoap12:header message=<span class="code-quote">"tns:widgetOrder"</span> part=<span class="code-quote">"keyVal"</span>/&gt;
+&lt;binding name="orderWidgetsBinding" type="tns:orderWidgets"&gt;
+  &lt;wsoap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/&gt;
+    &lt;operation name="placeWidgetOrder"&gt;
+      &lt;wsoap12:operation soapAction="" style="document"/&gt;
+      &lt;input name="order"&gt;
+        &lt;wsoap12:body use="literal" parts="numOrdered"/&gt;
+        &lt;wsoap12:header message="tns:widgetOrder" part="keyVal"/&gt;
       &lt;/input&gt;
-      &lt;output name=<span class="code-quote">"bill"</span>&gt;
-        &lt;wsoap12:body use=<span class="code-quote">"literal"</span> parts=<span class="code-quote">"bill"</span>/&gt;
-        &lt;wsoap12:header message=<span class="code-quote">"tns:widgetOrderBill"</span> part=<span class="code-quote">"keyVal"</span>/&gt;
+      &lt;output name="bill"&gt;
+        &lt;wsoap12:body use="literal" parts="bill"/&gt;
+        &lt;wsoap12:header message="tns:widgetOrderBill" part="keyVal"/&gt;
       &lt;/output&gt;
-      &lt;fault name=<span class="code-quote">"sizeFault"</span>&gt;
-        &lt;wsoap12:body use=<span class="code-quote">"literal"</span>/&gt;
+      &lt;fault name="sizeFault"&gt;
+        &lt;wsoap12:body use="literal"/&gt;
       &lt;/fault&gt;
   &lt;/operation&gt;
 &lt;/binding&gt;
 ...
 &lt;/definitions&gt;
-</pre>
+]]></script>
 </div></div></div>
            </div>
            <!-- Content -->



Mime
View raw message