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[
<wsdl:definitions name="HelloWorld" targetNamespace="http://apache.org/hello_world_soap_http"
-É
+â¦
<wsdl:service name="SOAPService">
<wsdl:port binding="tns:Greeter_SOAPBinding" name="SoapPort">
<soap:address location="http://localhost:9000/SoapContext/SoapPort"/>
@@ -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[
-<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">
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference URI="classpath:/saml.policy"/>
- </p:policies>
- </jaxws:features>
-</jaxws:client>
+<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">
+ <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">
+ <jaxws:features>
+ <p:policies>
+ <wsp:PolicyReference URI="classpath:/saml.policy"/>
+ </p:policies>
+ </jaxws:features>
+ </jaxws:client>
+</beans>
]]></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[
-<jaxws:endpoint id="CRMService"
- xmlns:serviceNamespace="http://services.talend.org/CRMService"
- serviceName="serviceNamespace:CRMServiceProvider"
- endpointName="serviceNamespace:CRMServicePort"
- implementor="#CRMServiceBean"
- address="/CRMServiceProvider">
- <jaxws:features>
- <p:policies>
- <wsp:PolicyReference URI="classpath:/saml.policy"/>
- </p:policies>
- </jaxws:features>
-</jaxws:endpoint>
+<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">
+ <jaxws:endpoint id="CRMService"
+ xmlns:serviceNamespace="http://services.talend.org/CRMService"
+ serviceName="serviceNamespace:CRMServiceProvider"
+ endpointName="serviceNamespace:CRMServicePort"
+ implementor="#CRMServiceBean"
+ address="/CRMServiceProvider">
+ <jaxws:features>
+ <p:policies>
+ <wsp:PolicyReference URI="classpath:/saml.policy"/>
+ </p:policies>
+ </jaxws:features>
+ </jaxws:endpoint>
+</beans>
]]></script>
</div></div>