Axis 1 and ws-policy

2009-11-23 Thread Wishing Carebear
Hello:
I have a snippet of wsdl as shown below. Does Axis 1(1.4.1) supports that.
Please look into the attached wsdl for more details...

Thanks,
cabear

wsdl:definitions name=BusinessCardService
 targetNamespace=http://tempuri.org/; xmlns:wsdl=
http://schemas.xmlsoap.org/wsdl/;
 xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
 xmlns:wsu=
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd

 xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:wsam=
http://www.w3.org/2007/05/addressing/metadata;
 xmlns:tns=http://tempuri.org/; xmlns:wsa=
http://schemas.xmlsoap.org/ws/2004/08/addressing;
 xmlns:wsp=http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:wsap=
http://schemas.xmlsoap.org/ws/2004/08/addressing/policy;
 xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:msc=
http://schemas.microsoft.com/ws/2005/12/wsdl/contract;
 xmlns:wsaw=http://www.w3.org/2006/05/addressing/wsdl; xmlns:soap12=
http://schemas.xmlsoap.org/wsdl/soap12/;
 xmlns:wsa10=http://www.w3.org/2005/08/addressing; xmlns:wsx=
http://schemas.xmlsoap.org/ws/2004/09/mex;
 wsp:Policy wsu:Id=WSHttpBinding_IBusinessCard_policy
  wsp:ExactlyOne
   wsp:All
sp:SymmetricBinding
 xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy;
 wsp:Policy
  sp:ProtectionToken
   wsp:Policy
sp:SecureConversationToken
 sp:IncludeToken=
http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient

 wsp:Policy
  sp:RequireDerivedKeys /
  sp:BootstrapPolicy
   wsp:Policy
sp:SignedParts
 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
?xml version=1.0 encoding=utf-8?
wsdl:definitions name=BusinessCardService
	targetNamespace=http://tempuri.org/; xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/;
	xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
	xmlns:wsu=http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd;
	xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:wsam=http://www.w3.org/2007/05/addressing/metadata;
	xmlns:tns=http://tempuri.org/; xmlns:wsa=http://schemas.xmlsoap.org/ws/2004/08/addressing;
	xmlns:wsp=http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:wsap=http://schemas.xmlsoap.org/ws/2004/08/addressing/policy;
	xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:msc=http://schemas.microsoft.com/ws/2005/12/wsdl/contract;
	xmlns:wsaw=http://www.w3.org/2006/05/addressing/wsdl; xmlns:soap12=http://schemas.xmlsoap.org/wsdl/soap12/;
	xmlns:wsa10=http://www.w3.org/2005/08/addressing; xmlns:wsx=http://schemas.xmlsoap.org/ws/2004/09/mex;
	wsp:Policy wsu:Id=WSHttpBinding_IBusinessCard_policy
		wsp:ExactlyOne
			wsp:All
sp:SymmetricBinding
	xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy;
	wsp:Policy
		sp:ProtectionToken
			wsp:Policy
sp:SecureConversationToken
	sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient;
	wsp:Policy
		sp:RequireDerivedKeys /
		sp:BootstrapPolicy
			wsp:Policy
sp:SignedParts
	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
	sp:Body /
/sp:EncryptedParts
sp:SymmetricBinding
	wsp:Policy
		sp:ProtectionToken
			wsp:Policy
sp:SpnegoContextToken
	sp:IncludeToken=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient;
	wsp:Policy
		sp:RequireDerivedKeys /

Re: Axis 1 and ws-policy

2009-11-23 Thread Wishing Carebear
Could someone give some pointers.

Thanks,
cabear

On Mon, Nov 23, 2009 at 2:09 PM, Wishing Carebear 
wishing.careb...@gmail.com wrote:

 Hello:
 I have a snippet of wsdl as shown below. Does Axis 1(1.4.1) supports that.
 Please look into the attached wsdl for more details...

 Thanks,
 cabear

 wsdl:definitions name=BusinessCardService
  targetNamespace=http://tempuri.org/; xmlns:wsdl=
 http://schemas.xmlsoap.org/wsdl/;
  xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/;
  xmlns:wsu=
 http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd
 
  xmlns:soapenc=http://schemas.xmlsoap.org/soap/encoding/; xmlns:wsam=
 http://www.w3.org/2007/05/addressing/metadata;
  xmlns:tns=http://tempuri.org/; xmlns:wsa=
 http://schemas.xmlsoap.org/ws/2004/08/addressing;
  xmlns:wsp=http://schemas.xmlsoap.org/ws/2004/09/policy; xmlns:wsap=
 http://schemas.xmlsoap.org/ws/2004/08/addressing/policy;
  xmlns:xsd=http://www.w3.org/2001/XMLSchema; xmlns:msc=
 http://schemas.microsoft.com/ws/2005/12/wsdl/contract;
  xmlns:wsaw=http://www.w3.org/2006/05/addressing/wsdl; xmlns:soap12=
 http://schemas.xmlsoap.org/wsdl/soap12/;
  xmlns:wsa10=http://www.w3.org/2005/08/addressing; xmlns:wsx=
 http://schemas.xmlsoap.org/ws/2004/09/mex;
  wsp:Policy wsu:Id=WSHttpBinding_IBusinessCard_policy
   wsp:ExactlyOne
wsp:All
 sp:SymmetricBinding
  xmlns:sp=http://schemas.xmlsoap.org/ws/2005/07/securitypolicy;
  wsp:Policy
   sp:ProtectionToken
wsp:Policy
 sp:SecureConversationToken
  sp:IncludeToken=
 http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient
 
  wsp:Policy
   sp:RequireDerivedKeys /
   sp:BootstrapPolicy
wsp:Policy
 sp:SignedParts
  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