Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 149525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:08:40+00:00 2026-05-11T09:08:40+00:00

where can i find a good resource about assert policies in WSE3 ?

  • 0

where can i find a good resource about assert policies in WSE3 ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T09:08:41+00:00Added an answer on May 11, 2026 at 9:08 am

    I’m quite a beginner in this feild. i’m trying to implement this code as an exersice. i want to create a soapfilter that will run as a soap message arrives. I’m having trouble with the policy XML

    using Microsoft.Web.Services3; using Microsoft.Web.Services3.Design;   namespace WebService1 {     /// <summary>     /// Summary description for Service1     /// </summary>     [WebService(Namespace = 'http://tempuri.org/')]     [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]     [ToolboxItem(false)]     public class Service1 : System.Web.Services.WebService     {      [WebMethod]     public string HelloWorld(string s)     {         return 'Hello World' +s ;     } }  public class ValidationFilter : SoapFilter {     string authCode;      public ValidationFilter(string authCode)     {         this.authCode = authCode;     }      public override SoapFilterResult ProcessMessage(         SoapEnvelope envelope)     {         XmlReaderSettings settings = new XmlReaderSettings();          XmlElement elmRoot = envelope.DocumentElement;         XmlElement elmNew = envelope.CreateElement('title1234');         elmNew.InnerXml = 'blablabla';         elmRoot.AppendChild(elmNew);           return SoapFilterResult.Continue;     } }  public class traceAssertion : PolicyAssertion {     public static readonly XmlQualifiedName BeNiceQName = new         XmlQualifiedName('traceAssertion', 'http://schemas.cohowinery.com/wsbn');        public override SoapFilter CreateClientInputFilter(FilterCreationContext context)     {         return new ValidationFilter('FFFF');     }      public override SoapFilter CreateClientOutputFilter(FilterCreationContext context)     {         return new ValidationFilter('FFFF');     }      public override SoapFilter CreateServiceInputFilter(FilterCreationContext context)     {         return new ValidationFilter('FFFF');     }      public override SoapFilter CreateServiceOutputFilter(FilterCreationContext context)     {         return new ValidationFilter('FFFF');     }  } 

    }

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Were can I find some good Podcasts that talk about program with Delphi &
I can't seem to find a good resource on this.. I am trying to
Does anyone know where can I find a good resource on WINAPI messages? The
Where can I find a good tutorial on learning ASP.NET MVC using VB.net 2008
Where can I find a good reference that explains how to write and install
Where can I find some good pointers on best practices for running ASP.NET MVC
Where can I find a good sample of Asynchronous IO on files with thread
I can't seem to find a good script or anything to use for installing
I've been trying to find a good video that I can show at a
I'm looking for a good ssh console plugin for Eclipse, and can't find much

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.