BizTalk Mapper - maintaining state information
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 Orchestration > BizTalk Mapper - maintaining state information




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

    BizTalk Mapper - maintaining state information  
Nikolai


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


 
04-26-04 07:35 AM

In one of my orchestrations I am using the BizTalk mapper with external scri
pting functoids to lookup/validate data (with complex stored procs & error h
andling) i.e. convert incoming supplier IDs to internal IDs and log errors i
f it doesn't exist.

One of my requirements is to gather all validation errors returned in my fun
ctions and return these to process originator.

So far I have only been able to log errors to the event log and return defau
lt data to the mapper. But I really need to be able to terminate the orchest
ration after mapping and send a notification stating the source document is 
invalid for the following r
easons...

Should I look at using a custom pipeline component instead, or looping in th
e orchestration, or something else? Any tips =)





[ Post a follow-up to this message ]



    Re: BizTalk Mapper - maintaining state information  
Christof


Report This Message To A Moderator Edit/Delete Message


 
04-26-04 12:35 PM

What about throwing exceptions?  Are they visible in your orchestration?
Can't they be catched?

Kind regards,
Christof

"Nikolai" <anonymous@discussions.microsoft.com> wrote in message
news:FB554FD0-93AC-4060-A874-DC43AB76313E@microsoft.com...
> In one of my orchestrations I am using the BizTalk mapper with external
scripting functoids to lookup/validate data (with complex stored procs &
error handling) i.e. convert incoming supplier IDs to internal IDs and log
errors if it doesn't exist.
>
> One of my requirements is to gather all validation errors returned in my
functions and return these to process originator.
>
> So far I have only been able to log errors to the event log and return
default data to the mapper. But I really need to be able to terminate the
orchestration after mapping and send a notification stating the source
document is invalid for the following reasons...
>
> Should I look at using a custom pipeline component instead, or looping in
the orchestration, or something else? Any tips =)







[ Post a follow-up to this message ]



    Re: BizTalk Mapper - maintaining state information  
Nikolai


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


 
04-26-04 11:43 PM

It is quite strange any errors raised from the mapper are not caught by the 
exception handling blocks in the orchestration. The orchestration completes 
and dehydrates and you have to search through past messages to view the trac
ked errors i.e. DB could no
t connect etc. The best I can achieve is using the error handling applicatio
n blocks to handle errors and log to pre defined event logs and email notifi
cations.

The approach I am currently looking at is looping through xmlNodes within th
e orchestration and performing my lookup operations using expressions, and r
eturning validation errors via output parameters. If an error occurs the cat
ch block can deal with it.






[ Post a follow-up to this message ]



    Re: BizTalk Mapper - maintaining state information  
Christof


Report This Message To A Moderator Edit/Delete Message


 
04-27-04 08:35 PM

thx for the feedback

"Nikolai" <anonymous@discussions.microsoft.com> wrote in message
news:0D7877CA-5FFC-409D-AE8C-AB9EBCFBF44A@microsoft.com...
> It is quite strange any errors raised from the mapper are not caught by
the exception handling blocks in the orchestration. The orchestration
completes and dehydrates and you have to search through past messages to
view the tracked errors i.e. DB could not connect etc. The best I can
achieve is using the error handling application blocks to handle errors and
log to pre defined event logs and email notifications.
>
> The approach I am currently looking at is looping through xmlNodes within
the orchestration and performing my lookup operations using expressions, and
returning validation errors via output parameters. If an error occurs the
catch block can deal with it.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 03:06 PM.      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