Re: Mapping multiple search result messages to a consolidated search result - possible?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jim Nicolson (jimnicolson_at_yahoo.com)
Date: 06/04/04


Date: Sat, 5 Jun 2004 08:56:00 +1000

Hi Tatyana

Yep - I've got to that point ok (i.e. I know how to set it up).

The issue is how (or if) two (or more) messages of the type in the original
post can be mapped to the third form.
(see the original xml instances)

i.e.

SearchResultA----+
                              +----- ConsolidatedSearchResult
SearchResultB ---+

I can't work the functoids to do this - I can map a single part (say
SearchResultA) to ConsolidatedSearchResult but cant combine multiple to one
by replicating the same functoid arrangement to other parts.

This is just a simplified version of what I actually want to do. [The
'Gather' step of a kind of Scatter Gather Pattern (Hohpe)]

In real life, the messages are the result of a set of searches across
different legacy systems being done in 'parallel'. The intent is to provide
a consolidated search facility. [ I've yet to incorporate into the mapping
problem the fact that some systems are optional as specified by the original
request :) ]

Regards
Jim Nicolson
"Tatyana Yakushev [MSFT]" <tatyanam@online.microsoft.com> wrote in message
news:tDZmH7cSEHA.2260@cpmsftngxa10.phx.gbl...
> Do you want to combine multiple XML messages into a single XML message?
>
> You need to do transformation from orchestration designer. Declare all the
messages that you want to combine, add trandform shape, select all the
source messages,
> select destination message and do the mapping.
>
> (When map is created/executed not from the OD it is executed on a single
message. OD does the job of combining multiple messages into one and passing
the combined
> message to the Mapper.)
>
> Thanks,
> Tatyana
>
>
> --------------------
> >From: "Jim Nicolson" <jimnicolson@yahoo.com>
> >Subject: Mapping multiple search result messages to a consolidated search
result - possible?
> >Date: Wed, 2 Jun 2004 21:24:46 +1000
> >Lines: 55
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
> >Message-ID: <u0Av3QJSEHA.1160@TK2MSFTNGP09.phx.gbl>
> >Newsgroups: microsoft.public.biztalk.general
> >NNTP-Posting-Host: syd-tgn-vcc-vty5.as.wcom.net 63.12.25.5
> >Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09
.phx.gbl
> >Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:15847
> >X-Tomcat-NG: microsoft.public.biztalk.general
> >
> >Hi
> >
> >Is it possible to merge/consolidate multiple search result messages to a
> >single result instance using a map.
> >
> >Using instances as below, I can map a single result set using Table
Looping
> >/ Table Extractor functoids.
> >
> >I cant get a single map to consolidate with two (or more) different
> >instances on the left to a single instance on the right. Neither can I
work
> >out how to use a sequence of transformations to achieve the same result.
> >
> ><ns0:SearchResultA xmlns:ns0="urn:SearchResultA">
> >
> > <SearchResultARow>
> > <Column1>A11</Column1>
> > </SearchResultARow>
> >
> > <SearchResultARow>
> > <Column1>A21</Column1>
> > </SearchResultARow>
> >
> ></ns0:SearchResultA>
> >
> ><ns0:SearchResultB xmlns:ns0="urn:SearchResultB">
> > <SearchResultBRow>
> > <Column1>B11</Column1>
> > </SearchResultBRow>
> ></ns0:SearchResultB>
> >
> ><ns0:ConsolidatedSearchResult xmlns:ns0="urn:ConsolidatedSearchResult">
> >
> > <ConsolidatedSearchResult>
> > <Source>SYSTEMA</Source>
> > <Column1>A11/Column1>
> > </ConsolidatedSearchResult>
> >
> > <ConsolidatedSearchResult>
> > <Source>SYSTEMA</Source>
> > <Column1>A21/Column1>
> > </ConsolidatedSearchResult>
> >
> > <ConsolidatedSearchResult>
> > <Source>SYSTEMB</Source>
> > <Column1>B11/Column1>
> > </ConsolidatedSearchResult>
> >
> ></ns0:ConsolidatedSearchResult>
> >
> >Any advice would be appreciated.
> >
> >Regards
> >Jim Nicolson
> >
> >
> >
>
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at
> http://www.microsoft.com/info/cpyright.htm
>
> Note: For the benefit of the community-at-large, all responses to this
message are best directed to the newsgroup/thread from which they
originated.
>



Relevant Pages

  • RE: Mapping multiple search result messages to a consolidated search result - possible?
    ... Do you want to combine multiple XML messages into a single XML message? ... You need to do transformation from orchestration designer. ... (When map is created/executed not from the OD it is executed on a single message. ...
    (microsoft.public.biztalk.general)
  • Re: Question on Effective Java Item 27
    ... value to convey multiple meanings. ... Because I haved programmed in different prog langs, ... Returns the value to which the specified key is mapped in this identity hash map, or null if the map contains no mapping for this key. ... A return value of null does not necessarily indicate that the map contains no mapping for the key; it is also possible that the map explicitly maps the key to null. ...
    (comp.object)
  • Re: [PATCH][2.6] first/next_cpu returns values > NR_CPUS
    ... So, if NR_CPUS is 3, and you pass an empty map to any_online_cpu ... What code, what feature, what bug ... ... recall seeing any big hairy warnings that size better be a multiple ...
    (Linux-Kernel)
  • mapper - multiple loops to a single destination
    ... I am trying to find a way in the BizTalk 2004 mapper to do multiple ... certain child nodes - all to the same destination node group in the ... where a specific child node's value meets a condition, and then map one ... <B>Because the value of sibling node A is 'TheOne', ...
    (microsoft.public.biztalk.general)
  • Re: seeking HIPAA 820 EDI help
    ... You have to pass to the pipeline the Xml messages. ... What do you mean by "a map in biztalk 2006 to go from a received 820 EDI ...
    (microsoft.public.biztalk.general)