BizTalk Server Orchestration - Re: Initializing a Multipart Message Part in Message Assignment Sh

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Orchestration > September 2005 > Re: Initializing a Multipart Message Part in Message Assignment Sh





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 Re: Initializing a Multipart Message Part in Message Assignment Sh
JT

2005-09-09, 2:48 am

A little followup...
I was able to locate a "Cool XSD Validation Function for Orchestration" in
Alan Smith's "Blogger's Guide to BTS", contributed by Paul Brown. I built
and deployed this to GAC, plugged it into an expression just after my map and
within my Scope, and am catching the XMLSchemaException. I am then using the
SQL Adapter to return the Exception.Message and a rejection flag to my
database, correlating on the TransactionSetControlNumber in the EDI document.
Life is beautiful.
Thanks again for your INVALUABLE help with this!
--
John

PS. If you don't know about the "Blogger's Guide," it is located in the
GotDotNet Workspaces area. Some great info there!


"Matt Milner" wrote:

> You can do some simple validation on your own by using a .net component and
> the document schema. The XLangPart class has a property on it that will
> give you the schema you need to validate the document and there are numerous
> samples on how to validate a document with an XML schema using the .Net xml
> libraries. There are also settings that you can change to force validation
> of messages at various points in your orchestrations (see Runtime Validation
> in the help files) but this is an all or nothing configuration and may be
> more of a perf hit than you want.
>
> If you do this validation yourself, then you can throw and catch an
> appropriate error and handle it in the orchestration.
>
> Matt
>
>
> "JT" <Jthayer@online.nospam> wrote in message
> news:A5400CA2-1C10-478D-B015-3CEDCC734A8C@microsoft.com...
>
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com