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 / May 2006

Tip: Looking for answers? Try searching our database.

wse 3.0 input / output correlation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jon_ProactiveLogic - 03 May 2006 17:47 GMT
Hi,

I have a custom policy assertion that creates service input and output
filters.  Is there a way to store information in the input filter so that it
will be available to the output filter?  The output filter needs to be aware
of some of the things the input filter did in one of my scenarios.  I
remember in one of the web casts that the presenter said correlation was
going to be easier in WSE 3.0.  I do not want to put the information in the
SOAP message itself.

I guess I could use Thread Local Storage at the minimum.  Does anyone know
the recommended way to do this?

Thanks,
Jon
Jon_ProactiveLogic - 03 May 2006 19:17 GMT
Looks like SoapContext.OperationState will do the trick!

> Hi,
>
[quoted text clipped - 11 lines]
> Thanks,
> Jon
Pablo Cibraro - 07 May 2006 02:26 GMT
Exactly, it was designed for that purpose. The SoapContext also exposes the
following properties,

MessageState : state shared only for one filter
SessionState: state shared by the client or service and the filters (Input
and output) on the same side.

Regards,
Pablo Cibraro
http://weblogs.asp.net/cibrax

> Looks like SoapContext.OperationState will do the trick!
>
[quoted text clipped - 17 lines]
>> Thanks,
>> Jon
plikwords - 10 May 2006 20:47 GMT
For custom tracing policy assertions I have used a class containing a
static hash for storing message pre and post security - works well.

>Exactly, it was designed for that purpose. The SoapContext also exposes the
>following properties,
[quoted text clipped - 28 lines]
>>> Thanks,
>>> Jon

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.