Hi,
I am using the policy attached to this mail for my AXIS 2 web-service. When I 
call this service with a .NET WCF SOAP 1.1 client everything works fine.  If I 
call the service again with the .NET WCF client but with SOAP 1.2 I get an 
exception on thew client side after recieving the response from the service. 
Are there differences in WS-Security btewen SOAP 1.1 and SOAP 1.2 ?
Greetings
Christian
<wsp:Policy wsu:Id="asymmetric" xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"; xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd";>
		<wsp:ExactlyOne>
			<wsp:All>
				<sp:AsymmetricBinding xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
					<wsp:Policy>
						<sp:InitiatorToken>
							<wsp:Policy>
								<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient";>
									<wsp:Policy>										
										<sp:WssX509V3Token10/>
									</wsp:Policy>
								</sp:X509Token>
							</wsp:Policy>
						</sp:InitiatorToken>	
						<sp:RecipientToken>
							<wsp:Policy>
								<sp:X509Token sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Never";>
									<wsp:Policy>										
										<sp:WssX509V3Token10/>
									</wsp:Policy>
								</sp:X509Token>
							</wsp:Policy>
						</sp:RecipientToken>	
						<sp:AlgorithmSuite>
							<wsp:Policy>
								<sp:TripleDesRsa15/>
							</wsp:Policy>
						</sp:AlgorithmSuite>
						<sp:Layout>
							<wsp:Policy>
								<sp:Strict/>
							</wsp:Policy>
						</sp:Layout>	
						<sp:IncludeTimestamp/>						
						<sp:OnlySignEntireHeadersAndBody/>
					</wsp:Policy>
				</sp:AsymmetricBinding>
				<sp:Wss10 xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
					<wsp:Policy>
						<sp:MustSupportRefKeyIdentifier/>
						<sp:MustSupportRefIssuerSerial/>
					</wsp:Policy>
				</sp:Wss10>				
				<sp:SignedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
					<sp:Body/>
					<sp:Header Name="To" Namespace="http://www.w3.org/2005/08/addressing"; /> 
					<sp:Header Name="From" Namespace="http://www.w3.org/2005/08/addressing"; /> 
					<sp:Header Name="FaultTo" Namespace="http://www.w3.org/2005/08/addressing"; /> 
					<sp:Header Name="ReplyTo" Namespace="http://www.w3.org/2005/08/addressing"; /> 
					<sp:Header Name="MessageID" Namespace="http://www.w3.org/2005/08/addressing"; /> 
					<sp:Header Name="RelatesTo" Namespace="http://www.w3.org/2005/08/addressing"; /> 
  <sp:Header Name="Action" Namespace="http://www.w3.org/2005/08/addressing"; /> 
				</sp:SignedParts>
				<sp:EncryptedParts xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy";>
					<sp:Body/>
				</sp:EncryptedParts>				
			</wsp:All>
		</wsp:ExactlyOne>
</wsp:Policy>

Reply via email to