Hi Shyameni, I believe you implemented new token by extending "Token" class. If so please override "serialize(XMLStreamWriter writer)" method. See "serialize" method of UsernameToken for a better understanding.
Thanks AmilaJ On Tue, Mar 29, 2011 at 7:56 PM, Shyameni Wijekoon <[email protected]> wrote: > hi all, > We have implemented a new token in rampart-policy for authentication and > created clients who use this token. Now we want to use it in server side and > create services that accepts that token from clients. > > I have added this token in services.xml and deployed in > tomcat/webapps/axis/services. > > <sp:SignedSupportingTokens > xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> > <wsp:Policy> > <sp:CustomToken > sp:IncludeToken="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/AlwaysToRecipient" > /> > </wsp:Policy> > </sp:SignedSupportingTokens> > > When i tried to view the wsdl of the service it does not include the token i > have added. > > <sp:SignedSupportingTokens > xmlns:sp="http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"> > </wsp:Policy> > </sp:SignedSupportingTokens> > > What can be the problem here? What are the changes i need to do to the > standard axis war distribution in tomcat to make it work? we appreciate any > assistance! > > -- > Thanks in Regards, > Shyameni Wijekoon > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
