Hello All, I have been having this sticky problem which I have not been able to resolve for quite some time now. It relates to an .NET WSE2.0 and WSS4J 1.5.0 Interop issue. I am using a Custom UsernameToken Manager in WSE2.0 enabled .NET. The ws invocation is made by a WSE2.0 enabled console application to the stock-quote-wss demo shipped with WSS4J1.5.0 deployed on Tomcat. Everything is on one box and my operating system is Windows XP SP2. I tried registering a new Custom Username Token manager in the project settings in VS.NET 2003 IDE. So I have 2 WSE2.0 settings specifically for this now: One for the base ws-sec QName+Namepspace and the other for the ws-sec signature confirmation QN+NS. But this evidently does not work... All other recommendations in MARC mailing lists have been adhered to. I would really appreciate if you can take some time out of your busy schedules to help me out with this issue. After trying a whole lot of things, I still get this error... Please can you help me resolve this ?
Many thanks, Dev. <.NET Console Client Trace> Enter Name: wss4j Enter Password: security Unhandled Exception: System.Web.Services.Protocols.SoapException: System.Web.Ser vices.Protocols.SoapException: Server was unable to process request. ---> System .Configuration.ConfigurationException: WSE535: The following SecurityToken QName is unsupported: http://docs.oasis-open.org/wss/2005/xx/oasis-2005xx-wss-wssecur ity-secext-1.1.xsd:SignatureConfirmation. Please check your configuration for re gistered SecurityToken qnames. at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.LoadXmlSec uri tyToken(XmlElement element) at Microsoft.Web.Services2.Security.Tokens.SecurityTokenManager.GetTokenFr omX ml(XmlElement element) at Microsoft.Web.Services2.Security.Security.LoadToken(XmlElement element, Se curityConfiguration configuration, Int32& tokenCount) at Microsoft.Web.Services2.Security.Security.LoadXml(XmlElement element) at Microsoft.Web.Services2.Security.SecurityInputFilter.ProcessMessage(Soa pEn velope envelope) at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope envelope ) at Microsoft.Web.Services2.InputStream.GetRawContent() at Microsoft.Web.Services2.InputStream.set_Position(Int64 value) at Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeClient(So apC lientMessage message) at Microsoft.Web.Services2.WebServicesExtension.BeforeDeserialize(SoapMess age message) at Microsoft.Web.Services2.WebServicesExtension.ProcessMessage(SoapMessage me ssage) at System.Web.Services.Protocols.SoapMessage.RunExtensions(SoapExtension[] ex tensions) at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapC lie ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal l) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN ame, Object[] parameters) at CodeProject_WSE.axis_stock_wss.StockQuoteServiceServiceWse.getQuote(Str ing symbol) at CodeProject_WSE.Service1.Hello(String name) --- End of inner exception stack trace --- at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapC lie ntMessage message, WebResponse response, Stream responseStream, Boolean asyncCal l) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodN ame, Object[] parameters) at WSE_TesterClient.SampleWSE.Service1Wse.Hello(String name) at WSE_TesterClient.Client.Main(String[] args) Press any key to continue <.NET Console Client Trace> Send instant messages to your online friends http://uk.messenger.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
