You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bu...@apache.org on 2013/10/28 15:47:55 UTC

svn commit: r884497 - in /websites/production/cxf/content: cache/docs.pageCache docs/how-to-define-policies.html

Author: buildbot
Date: Mon Oct 28 14:47:54 2013
New Revision: 884497

Log:
Production update by buildbot for cxf

Modified:
    websites/production/cxf/content/cache/docs.pageCache
    websites/production/cxf/content/docs/how-to-define-policies.html

Modified: websites/production/cxf/content/cache/docs.pageCache
==============================================================================
Binary files - no diff available.

Modified: websites/production/cxf/content/docs/how-to-define-policies.html
==============================================================================
--- websites/production/cxf/content/docs/how-to-define-policies.html (original)
+++ websites/production/cxf/content/docs/how-to-define-policies.html Mon Oct 28 14:47:54 2013
@@ -141,7 +141,7 @@ Apache CXF -- How to Define Policies
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
 &lt;wsdl:definitions name="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http" 
-É
+…
 &lt;wsdl:service name="SOAPService"&gt;
     &lt;wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort"&gt;
         &lt;soap:address location="http://localhost:9000/SoapContext/SoapPort"/&gt;
@@ -161,36 +161,58 @@ Apache CXF -- How to Define Policies
 Client:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;jaxws:client id="CRMServiceClient" name="{http://services.talend.org/CRMService}CRMServiceProvider"
-        xmlns:serviceNamespace="http://services.talend.org/CRMService"
-        serviceClass="org.talend.services.crmservice.CRMService"
-        serviceName="serviceNamespace:CRMServiceProvider"
-        endpointName="serviceNamespace:CRMServicePort"
-        address="${endpoint.prefix}/CRMServiceProvider"&gt;
-        &lt;jaxws:features&gt;
-            &lt;p:policies&gt;
-                &lt;wsp:PolicyReference URI="classpath:/saml.policy"/&gt;
-            &lt;/p:policies&gt;
-        &lt;/jaxws:features&gt;
-&lt;/jaxws:client&gt;
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:jaxws="http://cxf.apache.org/jaxws"
+       xmlns:cxf="http://cxf.apache.org/core"
+       xmlns:p="http://cxf.apache.org/policy"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
+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="CRMServiceClient" name="{http://services.talend.org/CRMService}CRMServiceProvider"
+            xmlns:serviceNamespace="http://services.talend.org/CRMService"
+            serviceClass="org.talend.services.crmservice.CRMService"
+            serviceName="serviceNamespace:CRMServiceProvider"
+            endpointName="serviceNamespace:CRMServicePort"
+            address="${endpoint.prefix}/CRMServiceProvider"&gt;
+            &lt;jaxws:features&gt;
+                &lt;p:policies&gt;
+                    &lt;wsp:PolicyReference URI="classpath:/saml.policy"/&gt;
+                &lt;/p:policies&gt;
+            &lt;/jaxws:features&gt;
+    &lt;/jaxws:client&gt;
+&lt;/beans&gt;
 ]]></script>
 </div></div>
 
 <p>Service:</p>
 <div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent">
 <script class="theme: Default; brush: xml; gutter: false" type="syntaxhighlighter"><![CDATA[
-&lt;jaxws:endpoint id="CRMService"
-        xmlns:serviceNamespace="http://services.talend.org/CRMService"
-        serviceName="serviceNamespace:CRMServiceProvider"
-        endpointName="serviceNamespace:CRMServicePort"
-        implementor="#CRMServiceBean"
-        address="/CRMServiceProvider"&gt;
-        &lt;jaxws:features&gt;
-            &lt;p:policies&gt;
-                &lt;wsp:PolicyReference URI="classpath:/saml.policy"/&gt;
-            &lt;/p:policies&gt;
-        &lt;/jaxws:features&gt;
-&lt;/jaxws:endpoint&gt;
+&lt;beans xmlns="http://www.springframework.org/schema/beans"
+       xmlns:jaxws="http://cxf.apache.org/jaxws"
+       xmlns:cxf="http://cxf.apache.org/core"
+       xmlns:p="http://cxf.apache.org/policy"
+       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+       xsi:schemaLocation="
+http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
+http://cxf.apache.org/policy http://cxf.apache.org/schemas/policy.xsd
+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:endpoint id="CRMService"
+            xmlns:serviceNamespace="http://services.talend.org/CRMService"
+            serviceName="serviceNamespace:CRMServiceProvider"
+            endpointName="serviceNamespace:CRMServicePort"
+            implementor="#CRMServiceBean"
+            address="/CRMServiceProvider"&gt;
+            &lt;jaxws:features&gt;
+                &lt;p:policies&gt;
+                    &lt;wsp:PolicyReference URI="classpath:/saml.policy"/&gt;
+                &lt;/p:policies&gt;
+            &lt;/jaxws:features&gt;
+    &lt;/jaxws:endpoint&gt;
+&lt;/beans&gt;
 ]]></script>
 </div></div>