Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / June 2004

Tip: Looking for answers? Try searching our database.

WS Security Question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Jenkins - 22 Jun 2004 21:39 GMT
Hi,
  Sorry I may have posted this earlier today. I am currently using WSE 1
sp1 to implement a username token solution with password digest. Part of my
requirement is that when an exception is thrown the exception details must
be added to the <detail> portion of the <SOAP:Fault>.. This is fine for
anything after the web method is called as part of the XML Web service
lifetime. So for example as part of my solution if a user is validated I
take an XML document they submit and validate ti against a schema, if it
fails the correct exception is thrown and dealt with.

However if, as part of my header my user details are incorrect, I cannot
capture the exception details. Is the validation done before the invocation
of the Web Method??

If so how do I catch any exceptions and put them into <detail> portion of
the <SOAP:Fault>?? Do I write an extension to look at the soap message after
serialisation??

Any help appreciated..

Lenin
Lucien - 28 Jun 2004 23:45 GMT
Yes the validation is done before invoking the service. The message will
first go through the various WSE filters (security, policy etc.) before
invoking the service You could create a custom security token or create your
own filter to pre-process your message header.

> Hi,
>    Sorry I may have posted this earlier today. I am currently using WSE 1
[quoted text clipped - 17 lines]
>
> Lenin

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.