|
Home > Archive > BizTalk Server > May 2007 > Biztalk 2006 Mapping 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 |
Biztalk 2006 Mapping Problem
|
|
| HeyneM 2007-05-22, 1:20 pm |
| Hi everybody,
first of all, I am a beginner, so please make your answers not too
complicated :-)
I want to receive an Flatfile an need to convert it to an XML
Document. For this I have done the following: create a IncommingSchema
- OutgoingSchema and a Mapping with both Schemas. Also I have created
all relevant Ports.
When I now place the flatfile (TAB seperatet) in one folder, it runs
perfect thru the system, but unfortunaly without creating/map it to an
XML File :-((
What ist wrong ??? Is the maping wrong - do I need an envelope - what
pipelines do I need to use ???
The same problems happen when I want to send an XML file - there is no
mapping :-((
Thnak you very much in advance for your help on this !!!
cheers from sunny germany
Michael
| |
| Francisco A. Gonzalez 2007-05-22, 1:20 pm |
| Becuase your are begginer I will ask you this question first:
Do you use a pipeline with the flat file diassembler??.
Did you use the flat file wizard to create your schema with annotations for
flat files?
These step must be follow to process a flat file.
cheers
--
Francisco A. Gonzalez
fgonzalez@solidq.com
"HeyneM" <m.heyne@noesse.de> wrote in message
news:1179830242.451239.127520@36g2000prm.googlegroups.com...
> Hi everybody,
>
> first of all, I am a beginner, so please make your answers not too
> complicated :-)
>
> I want to receive an Flatfile an need to convert it to an XML
> Document. For this I have done the following: create a IncommingSchema
> - OutgoingSchema and a Mapping with both Schemas. Also I have created
> all relevant Ports.
>
> When I now place the flatfile (TAB seperatet) in one folder, it runs
> perfect thru the system, but unfortunaly without creating/map it to an
> XML File :-((
>
> What ist wrong ??? Is the maping wrong - do I need an envelope - what
> pipelines do I need to use ???
>
> The same problems happen when I want to send an XML file - there is no
> mapping :-((
>
> Thnak you very much in advance for your help on this !!!
>
> cheers from sunny germany
> Michael
>
| |
| Saravana Kumar 2007-05-22, 1:20 pm |
| I'll just add some more info to understand the issue.
A normal BizTalk process will go like this
Receive:
Adapter ---> Receive Pipeline --> MAP -->MsgBox
Send:
MsgBox --> MAP --> Send Pipeline --> Adapter.
So, for the MAP to be applied (picked up by the runtime), you need to have a
promoted property called "MessageType" present in the message context. If the
property is not presend or incorrect, you won't see any exceptions instead
the MAP won't be applied. This property get populated in different ways, the
easiest way is to use out of the box disassembler component in the receive
pipeline. If in case your messages are in XML format, just using the
XmlReceive pipeline will promote this property. But, since you are using flat
file, you need to create a custom pipeline by just dragging and dropping a
Flat file disassembler component. FF disassembler will first convert flat
file to xml and also promote "MessageType" property.
If you are new, the following link will help you understand a bit
http://www.digitaldeposit.net/blog/...hrureceive.html
--
Regards,
Saravana Kumar
http://www.biztalk247.com/v1/
http://www.digitaldeposit.net/blog
[Please mark the response as "Answer" if it solves your problem.]
"Francisco A. Gonzalez" wrote:
> Becuase your are begginer I will ask you this question first:
>
> Do you use a pipeline with the flat file diassembler??.
> Did you use the flat file wizard to create your schema with annotations for
> flat files?
>
> These step must be follow to process a flat file.
>
>
> cheers
>
> --
>
> Francisco A. Gonzalez
> fgonzalez@solidq.com
>
>
>
> "HeyneM" <m.heyne@noesse.de> wrote in message
> news:1179830242.451239.127520@36g2000prm.googlegroups.com...
>
>
>
|
|
|
|
|