Hi,
I am using Saml token for web service authentication.
I have a problem it runs fine when server and client is my own machine but it i get error when server and client are seprate machines.
---------------------------
---------------------------
Microsoft.Web.Services3.ResponseProcessingException: WSE910: An error happened during the processing of a response message, and you can find the error in the inner exception. You can also find the response message in the Response property. ---> System.InvalidOperationException: Security requirements are not satisfied because the security header is not present in the incoming message.
at Microsoft.Web.Services3.Security.SecureConversationClientReceiveSecurityFilter.ValidateMessageSecurity(SoapEnvelope envelope, Security security)
at Microsoft.Web.Services3.Security.ReceiveSecurityFilter.ProcessMessage(SoapEnvelope envelope)
at Microsoft.Web.Services3.Pipeline.ProcessInputMessage(SoapEnvelope envelope)
at Microsoft.Web.Services3.Messaging.SoapClient.SendRequestResponse(String methodname, SoapEnvelope envelope)
--- End of inner exception stack trace ---
at System.Web.Services.Protocols.WebClientAsyncResult.WaitForResponse()
at System.Web.Services.Protocols.WebClientProtocol.EndSend(IAsyncResult asyncResult, Object& internalAsyncState, Stream& responseStream)
at System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeAsyncCallback(IAsyncResult result)
---------------------------
OK
---------------------------
Can any give me clue... Thanks in advance.

Why? WSE910: An error happened during the processing of a response message.
yhong
i want to ask mushir,
hi i try to run the Web Services Enhancements 3.0 Hands On Lab - Security\CS\Basic\Part2\after\SecureInvoiceService
it can be build. but when i login and click the view button i had the similar exception.
like Microsoft.Web.Services3.ResponseProcessingException: WSE910: An Error happened during the processing of a response message ,and you can find the error in the inner exception. You can also find response......
....
...
...
...
..
can you help to solve this problem
regards
Mustafa Cicek
War_Child
vbjunkie
I found the problem...
Certificates i was using on both machines server & client was of different private keys.
This problem was solved when i exported server certificate and imported from the client.
So when client send request both signature matched and i got response.
Janetb
Rocio Altamirano
Here's another answer to this problem:
Assuming it's your client app/web site that's reporting this error then look at the configuration of your server web service. If it's running on Windows XP then it may not have access to the certificate in the LocalMachine certstore. Instead put your certificate into the CurrentUser cert store and point all of your server web service's config files at that, e.g.
<
x509 storeLocation="CurrentUser" ...When you come to deploy on an actual server change the above to where you've actually put the certificate (this time presumably LocalMachine).
Here's something else I found along the way.
If you've generated your own certificate and you've tried to get it working and you're doing absolutely everything you're supposed to and it still won't work. Try generating a new certificate and use that. You should also carefully remove every reference to the previous certificate from your code and your certifcate stores, being as thorough as possible (look for some extra tools to help you here).
It seems that when certificates get generated it's possible that the two keys may not be exactly the same size in bits. Perhaps they should be 512/512, but unfortunately yours is 511/513. This can show up if you have exported your certifctae with the private key and yet it doesn't seem to import with one. Generating a new certificate is the only way to resolve this.
Navya Jeevan
which certificate should i choose default WSE 3 Hands On Lab - Security samples the certificates are both Quickstartserver certificate. i had try both od the certificates and i had always get the exception of WSE910 did you try the WSE 3 Hands On Lab - Security samples if you how did you get over this exception
thanks for help
but i need more help
MRW
just change in both files to this:
requireSignatureConfirmation
="false"cjserio
i solved my problen by changing the permissions of certificates' private key.
->>quickstartserver and quickstartclient' s private key permission
Emongii
WSE910 error is also coming in my project.I am using the same certificate given by wse for both client and server.Also, i have given the proper security permission of certificate to to aspnet and netwrok service users.
But still the error is coming.
Any idea from anybody as how to resolve this
John_Wesley
Plz suggest me what can i do
Regards
Sanjay Jadam
Phatriff
I had same problem, but I got this solved by doing following steps:
1. Open your both client and server policy file, and set the attributes requireDerivedKeys="false"
2. Check your WSE settings tool, make sure at the security tab, client and server x.509 cerrtificate
point to corrent store location.
3. Install server certificate to server machine “Local Computer -> Personal”, install client certificate to “Local Computer - >
Trusted People” and “Local Computer -> Other People”.
4. Install client certificate to client machine "Current User -> Personal", install both client and server certificates to
"Current User -> Trusted People" and "Current User -> Other People".
Hopefully it helps