Re: Newbie mapping trouble (cXML OrderRequest to Generic PO)...compiler links

Tech-Archive recommends: Fix windows errors by optimizing your registry



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



.



Relevant Pages

  • Newbie mapping trouble (cXML OrderRequest to Generic PO)...compiler links
    ... I'm trying to create a map between a cXML OrderRequest ... Warning 2 The destination node "ShipToID" is required but the source node ... Warning 3 The destination node "LineNumber" is required but the source node ... to the elements in the destination schema. ...
    (microsoft.public.biztalk.general)
  • Re: ADAM Indexing Errors
    ... Event Type: Warning ... Event Category: DS Schema ... Active Directory was unable to delete the index for the following attribute. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Active Directory Discovery agent is reportig errors
    ... The warning you are getting is normal, what has happened is that Active ... Directory Discovery is having problems getting all the information it wants ... Extending the AD Schema is not a delicate as you seem to beleive. ... properties that allow SMS clients to find ...
    (microsoft.public.sms.admin)
  • Re: gnome-panel-data 2.6.1-4 problems
    ... George Roman ... > WARNING: Failed to parse default value `??' ... for schema ...
    (Debian-User)
  • Sql Server 2005 typed xml column
    ... I have a problem with a typed xml column when inserting values. ... I created the schema in SQL Server 2005. ... Warning: Type 'http://ns.hr-xml.org/2006-02-28:DateType ' is restricted ... by a facet 'pattern' that may impede full round-tripping of instances ...
    (microsoft.public.sqlserver.xml)