cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shyamranny <sh...@proxysystemsindia.com>
Subject How to configure SignedElements in CXF client
Date Tue, 22 Feb 2011 08:50:26 GMT

Hi,

I have to create a client for a wsdl which has complex policies. The policy
declaration is given below.


<sp:SignedParts
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
					<sp:Body/>
					<sp:Header Namespace="http://www.w3.org/2005/08/addressing"/>
				</sp:SignedParts>
				<sp:SignedElements
xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy">
				
<sp:XPath>/*[namespace-uri()=&apos;http://schemas.xmlsoap.org/soap/envelope/&apos;
						and
					
local-name()=&apos;Envelope&apos;]/*[namespace-uri()=&apos;http://schemas.xmlsoap.org/soap/envelope/&apos;
						and
					
local-name()=&apos;Header&apos;]/*[namespace-uri()=&apos;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&apos;
						and
					
local-name()=&apos;Security&apos;]/*[namespace-uri()=&apos;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&apos;
						and local-name()=&apos;Timestamp&apos;]</sp:XPath>
				
<sp:XPath>/*[namespace-uri()=&apos;http://www.w3.org/2003/05/soap-envelope&apos;
						and
					
local-name()=&apos;Envelope&apos;]/*[namespace-uri()=&apos;http://www.w3.org/2003/05/soap-envelope&apos;
						and
					
local-name()=&apos;Header&apos;]/*[namespace-uri()=&apos;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd&apos;
						and
					
local-name()=&apos;Security&apos;]/*[namespace-uri()=&apos;http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd&apos;
						and local-name()=&apos;Timestamp&apos;]</sp:XPath>
				</sp:SignedElements>


I have a spring configuration file which contains the client. How can i
configure this policy using spring client?

Please help.

Thanks and regards,
Shyam S
-- 
View this message in context: http://cxf.547215.n5.nabble.com/How-to-configure-SignedElements-in-CXF-client-tp3395226p3395226.html
Sent from the cxf-issues mailing list archive at Nabble.com.

Mime
View raw message