Re: Flat File assembler with header
- From: "Yoann" <Yoann@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Jan 2006 08:32:05 -0800
"Tomas Restrepo (MVP)" wrote:
> Yoann,
> >
> > in my project i need to send a flat file with one line in header and
> > sevral
> > line in body.
> > header and body have not same number of field.
> > both are construct in an orchestration.
> > how can i use the custom send pipeline with a flat file assembler to
> > construct this file ?
>
> Normally, the way this works if you have independen header and body schemas
> is that the header schema has a set of promoted properties. Then you write
> the values for this properties into the context of the body message, and
> then the flat file assembler recreates the header when sending the body out
> of these properties.
>
> If this is not feasable, then you'll need to create a flat file schema that
> contains both header fields and body fields (this should always be possible
> in general) and create that directly from your orchestration (maybe with a
> transform), then have the assembler simply convert the entire message into
> its flat file representation.
>
>
> --
> Tomas Restrepo
> tomasr@xxxxxxxx
> http://www.winterdom.com/
>
>
>
in fact i'm afraid i didn't understand what you explain earlier in the first
solution.
the second solution works fine but this is not a nice tip cause i duplicate
my schema.
have you an simple example about your first solution ?
Thx
Yoann
.
- References:
- Re: Flat File assembler with header
- From: Tomas Restrepo \(MVP\)
- Re: Flat File assembler with header
- Prev by Date: Invalid Node name
- Next by Date: Re: Web Services Publishing wizard problems
- Previous by thread: Re: Flat File assembler with header
- Next by thread: Re: Functoid Error
- Index(es):
Relevant Pages
|
Loading