|
Home > Archive > BizTalk Server General > February 2004 > Re: Beginner's problem
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: Beginner's problem
|
|
| Basil Cheng 2004-02-08, 8:37 am |
| If XML document validates successful in the Biztalk Mapper using the map,
but fails when you send the document through Biztalk engine, then you
might want to start by checking that the source and destination document
specifications defined in the channel, corresponds to the source and
destination specification specified in the Map used.
Thanks.
Basil
Basil Cheng
Microsoft Biztalk Developer Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
| |
| Jan Eliasen 2004-02-08, 8:37 am |
| On Mon, 12 Jan 2004 16:54:03 GMT, kokc@online.microsoft.com (Basil
Cheng (MS)) wrote:
>If XML document validates successful in the Biztalk Mapper using the map,
>but fails when you send the document through Biztalk engine, then you
>might want to start by checking that the source and destination document
>specifications defined in the channel, corresponds to the source and
>destination specification specified in the Map used.
I can't find the thread you are answering in this newsgroup, so I
can't remember if I have answered this one. Anyway, if a map is
succesfully tested in the mapper but fails in the channel, then it is
my experience that the problem is usually in the outputdocument. The
mapper does not check for missing elements and so on. It just shows
you what the result of the map would be.
So to find the error, I always copy the output in the mapper and
validate it against the specification in the editor.
--
Jan Eliasen, representing himself and not the company he works for.
MCP in Microsoft BizTalk Server
| |
| Basil Cheng 2004-02-08, 8:38 am |
| In addition, you could use the Biztalk mapper to validate the document to
make sure that it validates correctly against the source/destination
document specification by doing the following:
In Biztalk Mapper --> Tools --> Options --> check validate content
before map test
check validate content after map test
respectively.
This would ensure that the translated document(ie after the map) validates
correctly against the destination specification(output doc definition)
Thanks.
Basil Cheng
Microsoft Biztalk Developer Support
This posting is provided "AS IS" with no warranties, and confers no
rights.
|
|
|
|
|