Mass Copy Functiod Challenge

Today my BizTalk buddy Wouter Crooy had a problem with mass copy functiod he used inside his orchestration with a certain mapping. His mapping worked on development machine and development server, but failed to do so in test environment. Development and test were not exactly to same (it missed some patches for msxml and so on). He made an effort to get them equal, but still it did not work. So it became finding a needle in a haystack to find out what the exact problem was since he could not get it working. So what now? I suggested to use inline script instead of mass copy to achieve to same manner of mapping (he wanted to mass copy a any element).

One can use the Mass Copy functoid () to recursively copy all data in an input instance message, to arbitrary depth, that corresponds to a specified node in the source schema to the position in an output instance message that is specified by the output link. One can also use inline xslt like in case you like to mimic mass copy for any element.







or if you do know what you like to copy (custom)









The latter one creates more work, but gives more flexibility what you do or do not want to copy inside an element. There is another post around mass copy or not that has been posted two month's back you can check also.

Technorati:

Comments

Wouter Crooy said…
Luckely I fixed this weird error. :-)

I wasn't the mass copy or the mapping, but a settings in BTSNTsvc.exe.config

See http://conducido.nl/blog/2008/02/12/biztalk-2006-any-element-and-xsd-validation-challenge/ for full details.

Wouter Crooy

Popular posts from this blog

DTAP Strategy: Pricing and Licensing

Table Operation on Oracle 11g XE with OracleDbBinding

Integration, the community blasting into 2017!