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 / October 2005

Tip: Looking for answers? Try searching our database.

Policy file and custom filters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
dmombour - 02 Oct 2005 18:29 GMT
I am converting my old wse 2.0 custom filter into 2.0 and everything is
working fine except for one issue. I've created the necessary classes and
created my policy file that looks like the following.

<policies xmlns="http://schemas.microsoft.com/wse/2005/06/policy">
    <extensions>
        <extension name="compressionAssertion"
type="prairieFyre.Compression.CompressionFilterPolicyAssertion,
prairieFyre.WebServices" />
    </extensions>
    <policy name="ClientPolicy">
        <compressionAssertion MinMesssageSizeInBytes="1000"/>
    </policy>
</policies>

The code executes perfectly. However when I try to open up open up the WSE
2.0 configuration utility from visual studio it says. "Failed parsing the
policy document" and subsequently removes the policy file reference from my
app.config file.

What is the appropriate way to register my custom policy assertion?

BTW I am using VS 2005 RC 1 release v2.0.50727.

Thanks,
Darren Mombourquette
dmombour - 02 Oct 2005 18:33 GMT
Sorry I wrote WSE 2.0.. I meant to write WSE 3.0 on top of VS 2005 RC 1
release v2.0.50727

> I am converting my old wse 2.0 custom filter into 2.0 and everything is
> working fine except for one issue. I've created the necessary classes and
[quoted text clipped - 22 lines]
> Thanks,
> Darren Mombourquette

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.