BizTalk Server - Fault Messages

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > July 2004 > Fault Messages





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Fault Messages
John

2004-06-26, 10:51 am

Hi,

I'm trying to send a message to a client on a send/receive port. The message I receive back can be of more than one schema. i.e an error schema or the excepted schema result, I have been told the best way to handle this is too have an exception handler
for the fault within a scope shape.

So, I have set the fault message to the error schema and the exception block to the fault port. Can't see a way of linking the two though and when I try to compile the orchestration I get the following error:

the 'response' messagetype must have a 'body' part distinct from any 'fault' messagetype 'body' part

What I'm I doing wrong?

thanks

--
John
Ben Cuttriss

2004-07-16, 5:50 pm

John - I'm guessing that what was suggested was to handle the fault through the exception on the scope.

Therefore, you would set the response message to the 'Good' message type you would expect receive. If you received the 'Fault' message, then the exception would be thrown for you - although I'm not sure how you would get the details of the fault. Are yo
u basically overriding the return parameters ??

Regards
Ben



"John" wrote:

> Hi,
>
> I'm trying to send a message to a client on a send/receive port. The message I receive back can be of more than one schema. i.e an error schema or the excepted schema result, I have been told the best way to handle this is too have an exception handle

r for the fault within a scope shape.
>
> So, I have set the fault message to the error schema and the exception block to the fault port. Can't see a way of linking the two though and when I try to compile the orchestration I get the following error:
>
> the 'response' messagetype must have a 'body' part distinct from any 'fault' messagetype 'body' part
>
> What I'm I doing wrong?
>
> thanks
>
> --
> John

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com