BizTalk Server General - RE: Accessing the original filename in a map, which is applied at the

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > August 2005 > RE: Accessing the original filename in a map, which is applied at the





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: Accessing the original filename in a map, which is applied at the
Stephen W. Thomas

2005-08-02, 6:02 pm

Hello.

I don’t really follow what you are trying to accomplish 100%. But, getting
the received file name inside a map is difficult. On the Send Port, you
should be able to use basic Property Demotion to demote the value from of the
message context into a field
(http://www.biztalkgurus.com/Samples...n-Pipeline.html).

On the receive side, I think your best bet would be to write a custom
pipeline component to put the value into an attribute on your inbound
message. Then, you can access it inside the map on the receive port. I have
used a simulate approach to get context values with Orchestation mapping.

Hope this helps.

Stephen W. Thomas
http://www.biztalkgurus.com


"William" wrote:

> Hi,
>
> Currently, I have created an architecture where I can received various
> 850, 856, 301, 310, and 315 edi document using the base edi adapter.
> Each of these documents are converted into a standard internal xml
> format. (i.e. Internal_301.xml and so on) All of the transformation
> (map) from edi to xml is applied at the port level. Internal process
> require that we need the ISA and GS segments of the incoming documents.
> As these are discard by the Base EDI adapter, I have written a
> preprocessor (completely external to BizTalk), which extracts the ISA
> and GS segments of all incoming EDI documents and stores them keyed by
> the EDI filename. In the map i want to populate the rquired fields on
> the internal xml documents with the stored ISA and GS segments using a
> external assembly scripting functoid. Is it possible to access the
> received filename in a external assembly assembly scripting functoid?
>
> Note that this map is applied at the port level.
>
> Hopefully, I have explained clearly what I am attempting to do.
>
> Thanks,
>
> William
>
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com