BizTalk Server Tools - Re: Curious behavior involving instance docs created by Editor

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server Tools > February 2004 > Re: Curious behavior involving instance docs created by Editor





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: Curious behavior involving instance docs created by Editor
Jan Eliasen

2004-02-08, 8:42 am

On Mon, 22 Dec 2003 10:35:28 -0800, "Jim"
<anonymous@discussions.microsoft.com> wrote:

I am not sure I have understood correctly, so I will just write how I
understand your problem;

You have a documentspecification, and from this documentspecification
you have created both a native instance and an xml-instance of the
document in BizTalk Editor, right? Which documenttype is it? Is it a
flat file? An X12 file? Or somehitng else?

Then, when you say that the xml-instance is correctly handled, what do
you mean? Do you mean that a receive function takes it and it is sent
through a channel, or are you only talking about BizTalk Editor
validating the file? Since you are talking about envelopes and
document definitions, I will assume the former. What is the
errormessage in the eventlog? That could probably be helpful. Have you
looked at the generated native instance and the generated XML-instance
and found the differences? If so, what are they? If not, then try
that.



>Hi,
>
>Can someone help me understand why is it that I can have
>the BizTalk editor create an instance file in native
>format (Positional format) and in XML format, and the XML
>instance is correctly handled while the native instance is
>not? Doesn't the parser process the native instance into
>the same structure that I see when I have it created by
>the Editor?
>
>I am using the same schema as both the document definition
>and the envelope definition.
>
>Thanks in advance,
>
>Jim


--
Jan Eliasen, representing himself and not the company he works for

2004-02-08, 8:42 am

Yes,

I think you understood the question, but let me give you
some more details.

I used the Editor to create a document spec for a flat
file and then generated an instance in both the XML
version and the native version. I then created a map
using this specification as the source and then tested
this map within the Mapper. I found the Mapper gave
different results. Specifically, the XML file was
processed correctly and the Native Instance was not. By
processed correctly, I mean data in the source fields are
transformed to data in the destination fields. Not
processed correctly means the fields in the instance file
were ignored. I was able to see the same behavior using
the map within a channel as well.

I later found out if I add a value for the Source Tag
Identifier property of the individual records in the flat
file doc spec, the editor-generated native instance files
were processed correctly.

Jim


>-----Original Message-----
>On Mon, 22 Dec 2003 10:35:28 -0800, "Jim"
><anonymous@discussions.microsoft.com> wrote:
>
>I am not sure I have understood correctly, so I will just

write how I
>understand your problem;
>
>You have a documentspecification, and from this

documentspecification
>you have created both a native instance and an xml-

instance of the
>document in BizTalk Editor, right? Which documenttype is

it? Is it a
>flat file? An X12 file? Or somehitng else?
>
>Then, when you say that the xml-instance is correctly

handled, what do
>you mean? Do you mean that a receive function takes it

and it is sent
>through a channel, or are you only talking about BizTalk

Editor
>validating the file? Since you are talking about

envelopes and
>document definitions, I will assume the former. What is

the
>errormessage in the eventlog? That could probably be

helpful. Have you
>looked at the generated native instance and the generated

XML-instance
>and found the differences? If so, what are they? If not,

then try
>that.
>
>
>
XML[color=blue]
is[color=blue]
into[color=blue]
definition[color=blue]
>
>--
>Jan Eliasen, representing himself and not the company he

works for
>.
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com