This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!

at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr)

at System.Security.Cryptography.Utils._DecryptKey(SafeKeyHandle hPubKey, Byte[] key, Int32 dwFlags)

at System.Security.Cryptography.RSACryptoServiceProvider.Decrypt(Byte[] rgb, Boolean fOAEP)

at Microsoft.Web.Services3.Security.Cryptography.RSA15KeyExchangeFormatter.DecryptKey(Byte[] cipherKey)

--- End of inner exception stack trace ---

at Microsoft.Web.Services3.Security.Cryptography.RSA15KeyExchangeFormatter.DecryptKey(Byte[] cipherKey)

at Microsoft.Web.Services3.Security.EncryptedKey.Decrypt()

--- End of inner exception stack trace ---

at Microsoft.Web.Services3.Security.EncryptedKey.Decrypt()

at Microsoft.Web.Services3.Security.Security.LoadXml(XmlElement element)

at Microsoft.Web.Services3.Security.SecurityInputFilter.ProcessMessage(SoapEnvelope envelope)

at Microsoft.Web.Services3.Security.Wse2PipelinePolicy.LegacyFilterWrapper.ProcessMessage(SoapEnvelope envelope)

at Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope)

at Microsoft.Web.Services3.WseProtocol.FilterRequest(SoapEnvelope requestEnvelope)

at Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage message)

at System.Web.Services.Protocols.SoapServerProtocol.Initialize()

at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response)

at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)

--- End of inner exception stack trace ---</soap:Text>
Ranch Hand
Posts: 2187
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post a copy of the SOAP message received?
How is the client application sending the SOAP message?
What kind of SOAP engine do you have on the server?
What is generating the error message above?
[ October 24, 2008: Message edited by: James Clark ]
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In addition to James's question:

It seems you wrote your server with WSE3. Do you have WSE3 clients which are working properly with this server? If not I suggest you would start with building such a client as it's easier to debug this way.

Also check that your client & server use the correct X.509 and that your server has permissions to the X.509 private key.
I can't take it! You are too smart for me! Here is the tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!