Re: Newbie mapping trouble (cXML OrderRequest to Generic PO)...compiler links
- From: "Leonid Ganeline" <leo_gan_57@xxxxxxxxxxx>
- Date: Fri, 9 Mar 2007 12:29:21 -0800
Try to generate an instance for source schema and compare it with your test
xml doc.
Pay attention to the format of the root element (namespace, namespace
prefix...)
--
Regards,
Leonid Ganeline
Microsoft Certified Technology Specialist: BizTalk Server 2006
http://geekswithblogs.net/leonidganeline/
"joshblair" <josh.blair@xxxxxxxxx> wrote in message
news:1173466096.806537.165350@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello,
I'm a BTS newbie. I'm trying to create a map between a cXML
OrderRequest and a homegrown generic PO (very simple structure that I
can change in any way that is necessary). When I try to 'Test Map', I
get an error and some warnings:
================================================
Warning 1 The required field "Address2" has no incoming link, constant
value, or default value. C:\cXMLSample\cXMLPO_To_GenericPO.btm
Warning 2 The destination node "ShipToID" is required but the source
node "addressID" is optional. C:\cXMLSample\cXMLPO_To_GenericPO.btm
Warning 3 The destination node "LineNumber" is required but the source
node "lineNumber" is optional. C:\cXMLSample\cXMLPO_To_GenericPO.btm
Warning 4 Double-click here to show/hide compiler links. C:\cXMLSample
\cXMLPO_To_GenericPO.btm
Warning 5 Test Map used the following file: <file:///C:\cXMLSample
\Samples\OrderRequest.xml> as input to the map.
Error 6 Output validation error: Root element is missing. C:\Documents
and Settings\Josh\Local Settings\Temp\_MapData
\cXMLPO_To_GenericPO_output.xml
Warning 7 Test Map failure for map file <file:///C:\cXMLSample
\cXMLPO_To_GenericPO.btm>. The output is stored in the following file:
<file:///C:\Documents and Settings\Josh\Local Settings\Temp\_MapData
\cXMLPO_To_GenericPO_output.xml>
================================================
Here is a link to a screenshot that shows the BizTalk map:
http://picasaweb.google.com/josh.blair/BizTalkScreenshots/photo#5039996324107117874
-or-
<a href="http://picasaweb.google.com/josh.blair/BizTalkScreenshots/
photo#5039996324107117874"><img src="http://lh3.google.com/image/
josh.blair/RfGp9Cet5TI/AAAAAAAAAAg/eg8OfpunW3E/s144/
biztalk_mapping_compiler_links.jpg" /></a>
When I double click on the first warning to show the compiler links,
there are many red dotted links that go from various elements of the
source schema to the elements in the destination schema. I have tried
to create matching links be connecting these source destination
elements but that causes more errors like:
=================================================
Warning 1 The destination node "Header" has multiple inputs but none
of its ancestors is connected to a looping functoid. C:\cXMLSample
\cXMLPO_To_GenericPO.btm
Warning 2 Double-click here to show/hide compiler links. C:\cXMLSample
\cXMLPO_To_GenericPO.btm
. . . .
=================================================
I haven't been able to find any documentation on how the "implied"
compiler links work and how to work around the issue. I have done all
the tutorials and many examples in the current BTS2006 books and none
of those maps ever had these issues. Typical eh?
Is this issue a result of a poorly designed destination scema? What I
am trying to accomplish with this prototype is to map different
incoming purchase order schemas (cXML, csv, homegrown XML, etc.) to a
simple generic internal po schema that my orchestrations can deal
with. Maybe this is a bad design. Any insight is appreciated.
Thanks for your assistance,
Josh Blair
Golden, CO
.
- Follow-Ups:
- References:
- Prev by Date: RE: Mapper issue.How to write such a .... mapper
- Next by Date: Re: elements always qualified in map output
- Previous by thread: Newbie mapping trouble (cXML OrderRequest to Generic PO)...compiler links
- Next by thread: Re: Newbie mapping trouble (cXML OrderRequest to Generic PO)...compiler links
- Index(es):
Relevant Pages
|