Fault Messages
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > Fault Messages




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Fault Messages  
John


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-26-04 03:51 PM

Hi,

I'm trying to send a message to a client on a send/receive port.  The messag
e 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 tr
y 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





[ Post a follow-up to this message ]



    RE: Fault Messages  
Ben Cuttriss


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 08:43 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register