The InputTrace from the Client has the following error message. The
Client OutputTrace looks clean. I am unable to get the Service to spit out
any logging info when using a VS ASP.NET Development Server.
- <soap:Fault>
<faultcode>soap:MustUnderstand</faultcode>
<faultstring>System.Web.Services.Protocols.SoapHeaderException: SOAP
header Security was not understood. at
System.Web.Services.Protocols.SoapHeaderHandling.SetHeaderMembers(SoapHeaderCollection
headers, Object target, SoapHeaderMapping[] mappings, SoapHeaderDirection
direction, Boolean client) at
System.Web.Services.Protocols.SoapServerProtocol.CreateServerInstance() at
System.Web.Services.Protocols.WebServiceHandler.Invoke() at
System.Web.Services.Protocols.WebServiceHandler.CoreProcessRequest()</faultstring>
</soap:Fault>
mmm, it seems that something is bad configured on the server side. Take a
look to the server trace to see if you can find any error there.
Regards,
pablo.
> The InputTrace from the Client has the following error message. The
> Client OutputTrace looks clean. I am unable to get the Service to spit
[quoted text clipped - 45 lines]
>>> Mark Keys as exportable. I set the Hash algorithm to SHA-1.... Can
>>> someone shed some light on what I'm missing?
Techno_Dex - 07 Sep 2006 19:35 GMT
I finally stumbled across the Service log files (was looking to deep in the
directory structure). The only thing I have in that log file is an error
from yesterday before I started changing params trying to find a resolution
to the problem. That appeared to be an authentication issue, but I don't
have anything since then, so I'm pretty sure the Client proxy call isn't
getting to the Service at all. Could it have something to do with the
ASP.NET Development Server caching info like IIS would if it were running
under IIS? My understanding is that the ASP.NET Development Server runs
under the current user's credentials so it should have access to the Cert
Store. I'm still stuck. I've looked over the WSE Labs for Mutual11Security
and everything appears to be configured the same (except for the Virtual
Directories in IIS) from what I can tell. Any other thoughts??
> mmm, it seems that something is bad configured on the server side. Take a
> look to the server trace to see if you can find any error there.
[quoted text clipped - 51 lines]
>>>> Mark Keys as exportable. I set the Hash algorithm to SHA-1.... Can
>>>> someone shed some light on what I'm missing?
Techno_Dex - 07 Sep 2006 19:42 GMT
What would cause the security header not to be present in the message being
sent from the client???? My InputLog from the client contains
"Security requirements are not satisfied because the security header is not
present in the incoming message."
> mmm, it seems that something is bad configured on the server side. Take a
> look to the server trace to see if you can find any error there.
[quoted text clipped - 51 lines]
>>>> Mark Keys as exportable. I set the Hash algorithm to SHA-1.... Can
>>>> someone shed some light on what I'm missing?
Techno_Dex - 07 Sep 2006 19:58 GMT
The output trace has the following....
<processingStep description="Entering SOAP filter
Microsoft.Web.Services3.Design.MutualCertificate11Assertion+ClientOutputFilter"
/>
<processingStep description="Exception thrown: 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."> at
Microsoft.Web.Services3.Messaging.SoapClient.SendRequestResponse(String
methodname, SoapEnvelope envelope)
at
Microsoft.Web.Services3.Security.SecurityTokenServiceClient.RequestSecurityToken(SecurityTokenMessage
request, String methodName)
at
Microsoft.Web.Services3.Security.SecurityContextTokenServiceClient.RequestSecurityContextToken(AppliesTo
appliesTo)
at
Microsoft.Web.Services3.Security.SecurityContextTokenServiceClient.IssueSecurityContextToken(AppliesTo
appliesTo)
at
Microsoft.Web.Services3.Security.Tokens.SecurityContextTokenManager.RequestTokenFromIssuer(EndpointReference
tokenIssuer, String tokenType, AppliesTo appliesTo, Policy policy,
SoapProtocolVersion soapVersion, StateManager messageState, StateManager
operationState, StateManager sessionState)
at
Microsoft.Web.Services3.Security.SecureConversationClientSendSecurityFilter.EstablishSecureConversation(SoapEnvelope
envelope)
at
Microsoft.Web.Services3.Security.SecureConversationClientSendSecurityFilter.SecureMessage(SoapEnvelope
envelope, Security security)
at
Microsoft.Web.Services3.Security.SendSecurityFilter.ProcessMessage(SoapEnvelope
envelope)
at Microsoft.Web.Services3.Pipeline.ProcessOutputMessage(SoapEnvelope
envelope)</processingStep>
> mmm, it seems that something is bad configured on the server side. Take a
> look to the server trace to see if you can find any error there.
[quoted text clipped - 51 lines]
>>>> Mark Keys as exportable. I set the Hash algorithm to SHA-1.... Can
>>>> someone shed some light on what I'm missing?
Techno_Dex - 07 Sep 2006 21:54 GMT
After Looking closer at the Exception Stack Trace I went back and added in
an extra line to the web.config file that I found a reference to at
http://objectsharp.com/blogs/bruce/archive/2005/11/21/3617.aspx
Apparently the RTM of WSE 3.0 (which I'm pretty sure I am using) doesn't add
the following line to the config file.
<soapServerProtocolFactory type="Microsoft.Web.Services3.WseProtocolFactory,
Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
Which was preventing me from communicating with the WebService. Once I was
able to get through to the WS, I ran into some certificate problems when I
have temporarly resolved by adding the Client's Public Key Cert into the
Trusted People section of the Local Machine Store. I believe the
Authentication of the Certificate could not be verified through the Trust,
which is odd since I have the Root CA's Public Key Cert installed in the
Trusted Root Certification Authorities of the Local Machine Store. It looks
like I still have a little ways to go but getting closer. If you have any
input about the Cert let me know, in the mean time it looks like I need to
download the newer version of WSE 3.0
> mmm, it seems that something is bad configured on the server side. Take a
> look to the server trace to see if you can find any error there.
[quoted text clipped - 51 lines]
>>>> Mark Keys as exportable. I set the Hash algorithm to SHA-1.... Can
>>>> someone shed some light on what I'm missing?