Open glassfishrobot opened 14 years ago
Reported by anand_mishra@java.net
anand_mishra@java.net said: changed QA Contact
jdg6688@java.net said: Questions:
1. Which test case (cases) failed? 2. It this a regression? 3. What is interop 3.0? 4. Attached the server log fro the test including request and response message. 5. Is the corresponding standard alone test passing.
jdg6688@java.net said: Chances are you have the wrong server certificate used in testing:
1. Make sure you have all the interop certs: alice, bob, wssip in the Glassfish keystoe and cacerts and pointing to the right alias in the confgiuration.
jdg6688@java.net said: Make it a test issue.
This type of exception on the wcf client side means a wrong cert is used in securing the response message.
For 109 based service, the security is through the 196 provider so that the keystore/truststore are always the ones in Glassfish.
Make sure you have the right certificates in the Glassfish stores and points to the alias of the right certificate.
snajper said: Sreekanth, is this issue still valid?
Was assigned to msreekanth
This issue was imported from java.net JIRA WSIT-1298
this issue first observed in b70 of v3-classic promoted build.
Log
LOG for _X10 Response recieved by the MS client from the Sun service endpoint Getting test parameters Service_Endpoint_WsdlUri = http://10.12.153.73:8080/jaxws-sc9/PingService?wsdl Service_Endpoint_PortTypeName = IPingService In HostedClientSoapImpl.CreateProxy()::Generating the proxy for http://10.12.153.73:8080/jaxws-sc9/PingService?wsdl Checking contents of parameters::.... (0) key : Service_Endpoint_WsdlUri , value : http://10.12.153.73:8080/jaxws-sc9/PingService?wsdl (1) key : Service_Endpoint_Address , value : http://10.12.153.73:8080/jaxws-sc9/PingService (2) key : Service_Endpoint_PortTypeName , value : IPingService (3) key : Service_Endpoint_OperationName , value : Ping DynamicProxyFactory contructed with wsdlUri : http://10.12.153.73:8080/jaxws-sc9/PingService?wsdl In DynamicProxyFactory constructor DynamicProxyFactory(wsdlUri = http://10.12.153.73:8080/jaxws-sc9/PingService?wsdl ,dynamicProxyfactoryOptions = DynamicProxyFactoryOptions[Language=CS,FormatMode=Auto,CodeModifier=]) adding to 'results' ...System.Xml.Schema.XmlSchema : type- System.Xml.Schema.XmlSchema In method DynamicProxyFactory.AddDocumentToResults(obj doc,Collection results).. adding to 'results' ...System.Xml.Schema.XmlSchema : type- System.Xml.Schema.XmlSchema In method DynamicProxyFactory.AddDocumentToResults(obj doc,Collection results).. adding to 'results' ...System.Web.Services.Description.ServiceDescription : type- System.Web.Services.Description.ServiceDescription In method DynamicProxyFactory.AddDocumentToResults(obj doc,Collection results).. found document to be of type System.Web.Services.Description.ServiceDescription Binding name in document :: PingBinding Checking what Collection results contains ..
results has System.Xml.Schema.XmlSchema
results has System.Xml.Schema.XmlSchema
results has System.Web.Services.Description.ServiceDescription
Exiting DynamicProxyFactory.DownloadMetadata()....
In DynamicProxyFactory.ImportMetadata()..
In DynamicProxyFactory.ImportMetadata() after CreateCodeDomProvider()..
Server stack trace: at System.ServiceModel.Security.WSSecurityJan2004.WrappedKeyTokenEntry.CreateWrappedKeyToken(String id, String encryptionMethod, String carriedKeyName, SecurityKeyIdentifier unwrappingTokenIdentifier, Byte[] wrappedKey, SecurityTokenResolver tokenResolver) at System.ServiceModel.Security.WSSecurityJan2004.WrappedKeyTokenEntry.ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver) at System.ServiceModel.Security.WSSecurityTokenSerializer.ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver) at System.IdentityModel.Selectors.SecurityTokenSerializer.ReadToken(XmlReader reader, SecurityTokenResolver tokenResolver) at System.ServiceModel.Security.WSSecurityOneDotZeroReceiveSecurityHeader.DecryptWrappedKey(XmlDictionaryReader reader) at System.ServiceModel.Security.ReceiveSecurityHeader.ReadEncryptedKey(XmlDictionaryReader reader) at System.ServiceModel.Security.ReceiveSecurityHeader.ExecuteFullPass(XmlDictionaryReader reader) at System.ServiceModel.Security.StrictModeSecurityHeaderElementInferenceEngine.ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader) at System.ServiceModel.Security.ReceiveSecurityHeader.Process(TimeSpan timeout) at System.ServiceModel.Security.MessageSecurityProtocol.ProcessSecurityHeader(ReceiveSecurityHeader securityHeader, Message& message, SecurityToken requiredSigningToken, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates) at System.ServiceModel.Security.AsymmetricSecurityProtocol.VerifyIncomingMessageCore(Message& message, String actor, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates) at System.ServiceModel.Security.MessageSecurityProtocol.VerifyIncomingMessage(Message& message, TimeSpan timeout, SecurityProtocolCorrelationState[] correlationStates) at System.ServiceModel.Channels.SecurityChannelFactory
1.SecurityRequestChannel.ProcessReply(Message reply, SecurityProtocolCorrelationState correlationState, TimeSpan timeout) at System.ServiceModel.Channels.SecurityChannelFactory
1.SecurityRequestChannel.Request(Message message, TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.DoOperation(SecuritySessionOperation operation, EndpointAddress target, Uri via, SecurityToken currentToken, TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionSecurityTokenProvider.GetTokenCore(TimeSpan timeout) at System.IdentityModel.Selectors.SecurityTokenProvider.GetToken(TimeSpan timeout) at System.ServiceModel.Security.SecuritySessionClientSettings`1.ClientSecuritySessionChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOpenOnce.System.ServiceModel.Channels.ServiceChannel.ICallOnce.Call(ServiceChannel channel, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.CallOnceManager.CallOnce(TimeSpan timeout, CallOnceManager cascade) at System.ServiceModel.Channels.ServiceChannel.EnsureOpened(TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout) at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs) at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation) at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)Exception rethrown at [0]: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type) at IPingService.Ping(PingRequest request) at PingServiceClient.IPingService.Ping(PingRequest request) at PingServiceClient.Ping(ping Ping1) — End of inner exception stack trace — at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams) at Microsoft.Xws.Test.Suite.Util.WsdlTestUtilities.DynamicProxy.DynamicObject.CallMethod(String method, Object[] parameters) at XwsInterop.HostedClient.HostedClientSoapImpl.TestMethods(DynamicProxy proxy, String scenarioName) at XwsInterop.HostedClient.HostedClientSoapImpl.runScenario(String featureName, String scenarioName, HostedClientParameter[] parameters) In dynamicObject.CallMethod(string,object[]
Environment
Operating System: All Platform: All
Affected Versions
[2.0]