Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > OneWay and Impersonate problem

Thread Tools

OneWay and Impersonate problem

Davide Bedin
Posts: n/a
Working on VS 2005 Beta 2

In my web service I impersonate a specific user with limited rights using
the <identity impersonate="true" userName="someone" password="something"/>
in the web.config.
Everything works as expected. The web service has access to the SQL db using
integrated security.

If I enable the OneWay property of SoapDocumentMethod attribute for a web
method the web service is no longer impersonating the user so any attempt to
access secured resources fails.

Is this beaviour by design? How can I use OneWay property without having to
change my choices on security?

Thanks in advance,
Davide Bedin

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
SoapDocumentMethod and oneway=true Jesse Houwing ASP .Net Web Services 0 04-26-2007 09:39 PM
Difference between SoapDocumentMethod(OneWay=true)] and OneWay Att John Bailey ASP .Net Web Services 3 03-09-2007 05:53 PM
Odd problem with a oneway webservice Keith McDonald ASP .Net Web Services 2 01-29-2006 08:54 AM
DirectoryEntry Impersonate or WindowsIdentity Impersonate? Bill Belliveau ASP .Net Security 3 01-31-2004 04:19 AM
[SoapRpcMethod(OneWay=true)] problem Chris ASP .Net Web Services 0 07-09-2003 04:10 PM