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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T02:04:33+00:00 2026-05-14T02:04:33+00:00

In my Workflow Foundation 4.0 RC app I have a ‘Receive’ and ‘SendReplyToReceive’ WCF

  • 0

In my Workflow Foundation 4.0 RC app I have a ‘Receive’ and ‘SendReplyToReceive’ WCF messaging pair that work fine with a simple request/response operation, but I’m having trouble attempting to perform validation on the request and reply with a fault.

In WCF I am able to create a throw custom fault contracts (which in turn sent out SOAP faults) but I just can’t see how to achieve this with the built-in workflow messaging activities.

I can only seem to response with a data transfer object (I’m not even able to respond with a choice of object).

Any ideas? (Can you save my day yet again Maurice!?)

Thanks!

  • 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-14T02:04:33+00:00Added an answer on May 14, 2026 at 2:04 am

    It turns out this can be done but is not quite as discoverable as I would like it to be. I don’t think I would have discovered this if Matt Milner and Dave Cliffe hadn’t shown me how this works.

    The trick is to add a second SendReply for the same Receive activity. This second SendReply return a variable of type FaultException and its purpose is to help define the correct operation contract.

    When an error occurs either just throw the FaultException as you normally would killing the workflow or return the fault and leaving the workflow intact and now the client will see it as such.

    Update: Check this document for a new white paper “How to Send and Receive Faults in Workflow Services”. Also see my blog post here.

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

Sidebar

Related Questions

I have two workflow foundation (.NET 3.5 SP 1) application which compiles fine. It
I have a bunch of Workflow foundation 4.0 RC code activities that consume web
I have some workflow to work with in Worflow foundation. I need to follow
Assume that I have a .NET Workflow Foundation (WF) SequenceActivity class with the following
I am using Windows Workflow Foundation 4.0. I have got a console app running
I am working on simple Workflow Foundation that uses a simple ASP.NET page as
We have a contractor who has developed a system that uses the workflow foundation
I've got some Workflow Foundation 4 ActivityDesigners that I'd like to have interact with
I have a client who's interested in utilizing Windows Workflow Foundation (WF) technology in
I have an .NET 4.0 ASP.NET MVC application, which also hosts a Workflow Foundation

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.