08-30-04 10:55 PM
Correct, the mapper can only see what's part of the XML document. It can't
see any promoted properties that don't exist in the inbound data, so a
pipeline or orchestration that inserts the value into the document before
mapping is the only solution.
Larry Franks
This posting is provided "AS IS" with no warranties,and confers no rights.
Subscribe at
http://support.microsoft.com/defaul...msdn/nospam.asp
&SD=msdn
--------------------
| From: Martijn Hoogendoorn <martijn.hoogendoorn@macaw.nl>
| Subject: Re: Message Context Available to Map
| User-Agent: 40tude_Dialog/2.0.10.1
| MIME-Version: 1.0
| Content-Type: text/plain; charset="us-ascii"
| Content-Transfer-Encoding: 7bit
| Organization: Macaw Nederland B.V.
| References: <ezRO5#UjEHA.3536@TK2MSFTNGP12.phx.gbl>
<ORUbWGVjEHA.3608@TK2MSFTNGP09.phx.gbl>
<e5LCvrVjEHA.1656@TK2MSFTNGP09.phx.gbl>
| Date: Sun, 29 Aug 2004 12:11:22 +0200
| Message-ID: <ijzy3nbzilp0$.73f7l1qd5f9n.dlg@40tude.net>
| Newsgroups: microsoft.public.biztalk.general
| NNTP-Posting-Host: staticvoid.demon.nl 212.238.216.195
| Lines: 1
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08
.phx.gbl!TK2MSFTNGP12.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.biztalk.general:19133
| X-Tomcat-NG: microsoft.public.biztalk.general
|
| On Sat, 28 Aug 2004 18:58:34 -0500, Jeff Lynch wrote:
|
| > I'm not using an orchestration in this integration and was wondering if
I
| > could access the MessageID context using C# in a scripting functoid.
The
| > IBaseMessage.MessageID holds the guid I'm looking for.
|
| Jeff,
|
| As far as I know, the mapper has no knowledge at all about context of the
| message. The way we solved the issue was using a pipeline component which
| inserted the property into an actual message element. Not all that clean,
| but there seems to be no other way. Remember, the mapper is essentially
| just a XSLT process...
|
| HTH,
|
| Martijn Hoogendoorn
|
[ Post a follow-up to this message ]
|