Re: Curious behavior involving instance docs created by Editor
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Tools > Re: Curious behavior involving instance docs created by Editor




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: Curious behavior involving instance docs created by Editor  
Jan Eliasen


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:42 PM

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





[ Post a follow-up to this message ]



    Re: Curious behavior involving instance docs created by Editor  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
02-08-04 01:42 PM

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 
is 
into 
definition 
>
>--
>Jan Eliasen, representing himself and not the company he
works for
>.
>





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 11:39 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register