Integrating Integrators – BizTalk, Windows Azure, Windows Workflow, and Beyond

Re: Pass on a SOAP Exception caught in an Orchestration

BizTalk 2010

This group is for all content related to BizTalk Server 2010. This includes a forum and samples.

Pass on a SOAP Exception caught in an Orchestration

Answered (Not Verified) This question has suggested answer(s)

Hi

I have an Orchestration that both consumes a WCF service and publish one(Two way). In my Orchestration i catch a SOAPException and need to send it as a fault message back to the published WCF service. The problem that i have is that the returned message is full of escape characters (< > " ' &). At first i had the fault message type set to string but then the hole message was full of escapes. then i used a custom schema and inserted the SOAPException.Message in to that structure, but the message part inserted became escaped. What can i do to avoid this?

I need to dig in to the exception message and make decisions whether i should send it as a fault message or send it in a other way depending on the  FaultType.

 

/Robert

All Replies
Page 1 of 1 (3 items)