Custom Pipeline Component Execute method Reading Flat file Value
flat file value, based on filename decision.and sending
%sourcename%
here sending flatfile send port.then based on flatfile
fields,filename should create.
example flat file has name(last 2 degits of first record).
111188 filename 88.txt
222244
example flat file
666699 filename 99.txt
888855
reading flatfile in execute method code needed. , sending
filename.
tried getting root element missing error.
this error coming xml assembler. indicating structure of data being read missing root xml element.
are trying send flat file data send pipeline?
the answer second part of post (writing generated filename), given in following post (see below): http://social.msdn.microsoft.com/forums/en-us/biztalkgeneral/thread/d03229da-6f20-445b-b7b2-d7c44b0ca718.
i agree naushad 1 possible exception; rather using dynamic send port, use regular send port , set thefile.receivedfilename property of message , use the%sourcefilename% macro in send port file transport properties dialog (see below). doing way eliminate need recompile orchestration if destination changes.
david downing... if answers question, please mark answer. if post helpful, please vote helpful.
BizTalk Server > BizTalk Server General
Comments
Post a Comment