Re: Test Map and Running map through Orchestration yields differen

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Jeff Lynch (jeff.lynch_at_houston-lynch.com)
Date: 09/14/04


Date: Tue, 14 Sep 2004 15:23:06 -0500

Vincent,

Yes. The scenario you describe is called "Content Based Routing" and it's
pretty easy to setup. The SDK has a good example and my blog has a few
pointers.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sdk/htm/ebiz_sdk_samples_fidw.asp
http://dotnetjunkies.com/WebLog/jlynch/archive/2004/08/03/21114.aspx

-- 
Jeff Lynch
"A BizTalk Enthusiast"
http://dotnetjunkies.com/WebLog/jlynch/
"Vincent" <Vincent@discussions.microsoft.com> wrote in message 
news:0AEAAE9E-FDF2-42DD-AEE1-80EE61EA5847@microsoft.com...
> Thanks for your reply Jeff.
>
> I attempted to do what you suggested. However, I get the same results. 
> Also,
> I'm not sure if I'm doing it correctly. I bind the send ports of the
> orchestration to the Port Group I created. Is it possible to not use the
> orchestration?
>
> Thanks!
>
> "Jeff Lynch" wrote:
>
>> I'm not sure why you are getting different results running through an
>> orchestration but you could try this using a send port group containing 
>> two
>> send ports, each with one of your maps. If your output files are correct 
>> in
>> this scenario then the problem lies in the orchestration.
>>
>> -- 
>> Jeff Lynch
>> "A BizTalk Enthusiast"
>> http://dotnetjunkies.com/WebLog/jlynch/
>>
>>
>> "Vincent" <Vincent@discussions.microsoft.com> wrote in message
>> news:518553EE-425E-492C-B6B0-1A6F1891699C@microsoft.com...
>> > Can someone help? As I'm stumped on why I'm having this problem:
>> >
>> > Here's what I have:
>> >
>> > Have created two maps.
>> >
>> > Purpose of map one is to output a new XML file with the same format and
>> > field elements as original; but through a database lookup functoid and
>> > value
>> > extractor functoid and value mapping functoid, only outputting those
>> > records
>> > in the original xml in which the lookup value does not exist.
>> >
>> > Purpose of map two is to take the same original XML file as used in Map
>> > one
>> > to output records in which the lookup value does exist.
>> >
>> > The maps validate fine and test correctly when I specify a valid test 
>> > XML
>> > file as the input. However when I deploy these maps and run them on the
>> > Host
>> > I do not get the same result.
>> >
>> > Results under map test: two seperate xml files; 1 contains data the 
>> > other
>> > doesn't. (the expected and desired behavior).
>> >
>> > Results under maps deployed and running on Host: two seperate xml 
>> > files;
>> > both contains data (basically duplicate files of original XML 
>> > document).
>> >
>> > Additional Information:
>> >
>> > *My original XML file is in a filedrop location. The two files that are
>> > generated are dropped into another file drop location.
>> > *The Host is on the same machine where the development is done.
>> > *The orchestration is fairly simple. A receive location/port is defined 
>> > to
>> > receive the incoming XML document. Then I use a parallel shape to send 
>> > the
>> > document down two parallel paths. One utilizes the first map and the 
>> > other
>> > utilizes the 2nd map to transform the XML document. Each has their own
>> > send
>> > port defined to drop the resulting documents into the same file drop 
>> > with
>> > different file names (ValidFile.xml and ErrorFile.xml).
>> >
>> > Much appreciated and thank you in advance!
>> >
>>
>>
>> 


Relevant Pages

  • Re: Sql adapter using SP - insert parent-child with a nextnumber-k
    ... Guess I'll have to switch to an orchestration.... ... how do you assign the whole XML to a variable you can use ... (using map or simple coding in the orchestration) ... simply send the xml to one stored procedure and use OPENXML within SQL ...
    (microsoft.public.biztalk.general)
  • Re: Map in XML Receive Pipeline or within orchestration.....
    ... Map in XML Receive Pipeline or within orchestration..... ... I am using a Orchestration exposed as web service. ...
    (microsoft.public.biztalk.general)
  • RE: Updategram inserts when DB lookup fails
    ... using a database Error Return functoid in your map is definitely an ... an XML format, then you can use the XML EXPLICIT option(giving you complete ... Orchestration and retry. ... > In my map I do a DB lookup to decide whether I should create an insert or an ...
    (microsoft.public.biztalk.general)
  • Re: ANN PivotCube VCL v 7.0
    ... Map Builder spitted to Map manager and Measure Manager. ... Save/load cube to XML. ... Forecasting can on/off at runtime in dimension drop-down or by program ... Resized area saved and used as boundary for all next grid output. ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: re:Node order after mapping
    ... Can you email me an example flatfile, your two schemas and your map to ... I am new to XSLT and i dont know if it is possible to write a custom XSLT ... I have a requirement from a client.They have given predefined xml ... Accounting #1 Max 2 min 2 ...
    (microsoft.public.biztalk.general)