Windows Workflow Foundation 4.0 and WCF web service faults (soap fault)

Posted by Lygpt on Stack Overflow See other posts from Stack Overflow or by Lygpt
Published on 2010-03-16T17:16:44Z Indexed on 2010/03/16 17:21 UTC
Read the original article Hit count: 629

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!

© Stack Overflow or respective owner

Related posts about workflow-foundation-4

Related posts about workflow-foundation