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 6972923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:02:14+00:00 2026-05-27T17:02:14+00:00

I referred to this msdn article http://msdn.microsoft.com/en-us/library/aa717047.aspx for message inspector. The problem which I

  • 0

I referred to this msdn article http://msdn.microsoft.com/en-us/library/aa717047.aspx for message inspector.

The problem which I am facing is ApplyClientBehavior does not get invoke as a result AfterReceiveReply, & BeforeSendRequest does not get invoke.

I referred to following article http://social.msdn.microsoft.com/Forums/en/wcf/thread/707aa031-f4ff-47ab-ba5b-730f7930605e which says I need to modify client app.config file but not sure what to put in extensibility section. Following does not help

    <behaviorExtensions>
      <add name="Test" type="Client.ServiceReference1.CustomMessageInspectorClient, Client, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"/>
    </behaviorExtensions>
  • 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. Editorial Team
    Editorial Team
    2026-05-27T17:02:15+00:00Added an answer on May 27, 2026 at 5:02 pm

    You need to have reference of your message inspector project added to your client project and then add the behaviour to your client via code as shown below:

    client.Endpoint.Behaviors.Add(new SchemaValidationBehavior(null, true, true));
    

    It would be more easy for you do download the sample as said in the msdn article above and go through it to get your sample working.

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

Sidebar

Related Questions

I referred to this article http://www.codeproject.com/KB/security/DotNetCrypto.aspx and I am trying write an encrypted string
I have referred this for creating error message tool tips, to be displayed continuously
I've referred to this very good reference: https://stackoverflow.com/questions/1282830/uiimagepickercontroller-uiimage-memory-and-more but I'm having some very serious
I read this article which is about Managing heap memory written by Randy Kath.
i referred to this question and i've a similar problem JSF - Get the
I've already referred to this SO post . I've been embedding images using an
I'm having a user control (referred to as 'parent') which dynamically adds or removes
I want parse xml by looping through it. I referred this but I am
I referred to this somewhat similar question . However here the scenario is different:
Maybe it looks silly to ask this but I am confused. I referred to

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.