07-16-04 10: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 except
ion would be thrown for you - although I'm not sure how you would get the de
tails 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 re
ceive back can be of more than one schema. i.e an error schema or the excepted sche
ma result, I have been told the best way to handle this is too have an exception han
dle
r for the fault within a scope shape.
>
> So, I have set the fault message to the error schema and the exception blo
ck 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 'faul
t' messagetype 'body' part
>
> What I'm I doing wrong?
>
> thanks
>
> --
> John
[ Post a follow-up to this message ]
|