Re: WSE 3.0 UsernameOverTransport Problem
- From: gramanero-spam@xxxxxxxxx
- Date: 20 Sep 2006 10:43:39 -0700
Yes, I do have that section in my web.config. Does the ordering matter?
I wouldn't think so.
<webServices>
<soapExtensionImporterTypes>
<add
type="Microsoft.Web.Services3.Description.WseExtensionImporter,
Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
</soapExtensionImporterTypes>
<soapServerProtocolFactory
type="Microsoft.Web.Services3.WseProtocolFactory,
Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" />
</webServices>
Interesting that you mention that WSE will "usually" throw the
exception it is not configured properly. I am figuring that this is a
configuration issue, I just have not been able to figure out what it
is.
Thank you for the insight.
Pablo Cibraro [MVP] wrote:
Hi,
Do you have the following section in the web.config file ?
<system.web>
<webServices>
<soapServerProtocolFactory
type="Microsoft.Web.Services3.WseProtocolFactory, Microsoft.Web.Services3,
Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
<soapExtensionImporterTypes>
<add type="Microsoft.Web.Services3.Description.WseExtensionImporter,
Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35"/>
</soapExtensionImporterTypes>
</webServices>
</system.web>
Usually WSE throws that exception when the WSE extension is not configured
correctly.
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
<gramanero-spam@xxxxxxxxx> wrote in message
news:1158692065.155962.127600@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi Pablo,
Client side: usernameOverTransport
Server side: usernameOverTransport and requireActionHeader
--Scott
Pablo Cibraro [MVP] wrote:
Hi,
Which WSE policies are you using on the client and the service ?
Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax
<gramanero-spam@xxxxxxxxx> wrote in message
news:1158588656.563084.182580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
I am fairly new to WSE, in general, however I have read several
articles online and believe I have a fairly good grasp of it. I am
working on integrating WSE 3.0 into an web service. The web service is
a very simple web service for the purposes of testing WSE 3.0
UsernameOverTransport.
The problem that I am having is that I am getting the following
exception stack trace on the server side:
Microsoft.Web.Services3.Security.SecurityFault: UsernameToken is
expected but not present in the security header of the incoming
message.
at
Microsoft.Web.Services3.Design.UsernameOverTransportAssertion.ServiceInputFilter.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.WseProtocol.FilterRequest(SoapEnvelope
requestEnvelope)
at
Microsoft.Web.Services3.WseProtocol.RouteRequest(SoapServerMessage
message)
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type
type, HttpContext context, HttpRequest request, HttpResponse response,
Boolean& abortProcessing)
In doing a fair amount of Google searches, it looks like I am not the
only one having this issue. I am curious if anyone has been able to
resolve this issue.
I have verified that the client is in fact sending the Username token
to the web service. In fact, I have verified, based on the stack trace,
the the server side does in fact see a security header, for some reason
it is simply unable to locate the Username token in the security
header. According to the server side log files though, it does exist
prior to processing the message.
Any help would be greatly appreciated.
Thank you!!
.
- References:
- WSE 3.0 UsernameOverTransport Problem
- From: gramanero-spam
- Re: WSE 3.0 UsernameOverTransport Problem
- From: Pablo Cibraro [MVP]
- Re: WSE 3.0 UsernameOverTransport Problem
- From: gramanero-spam
- Re: WSE 3.0 UsernameOverTransport Problem
- From: Pablo Cibraro [MVP]
- WSE 3.0 UsernameOverTransport Problem
- Prev by Date: Re: UsernameOverTransportSecurity+SSL Confusion, please help
- Next by Date: Re: UsernameOverTransportSecurity+SSL Confusion, please help
- Previous by thread: Re: WSE 3.0 UsernameOverTransport Problem
- Next by thread: UsernameOverTransportSecurity+SSL Confusion, please help
- Index(es):
Relevant Pages
|