Wrox Programmer Forums
|
Biztalk General discussion about Biztalk server.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Biztalk section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 15th, 2003, 08:14 AM
Registered User
 
Join Date: Aug 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to mandla
Default Biztalk

i have created an inbound specification for a CSV file in Biztalk. My csv file contains columm names in the first row. when reading this file i want Biztalk to ignore the column names and use the data but instead biztalk reads the colunm names as part of the data.

How can i resolve this problem?
 
Old August 29th, 2003, 03:36 AM
Registered User
 
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You should write a COM component and register it as a pre processor. Refer this pre processor in rec. function. This preprocessor sholud remove first line and sent the remaining document to biztalk.
 
Old September 22nd, 2003, 11:02 PM
Registered User
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to reddynet
Default

You can achieve this without using any component or script, In Biztalk Editor Simply insert record before dataloop (This is similar to your data loop) -> reference it one time.
 and map inbound spec dataloop to outbound spec dataloop..

your inbound structure look something like this:
<Root>
<Header> (Ref: 1 to 1)
<Element1></Element1><Element2></Element1>..<ElementN></ElementN>
</Header>
<DataLoop> (Ref: 0 to *)
<Element1></Element1><Element2></Element1>..<ElementN></ElementN>
</DataLoop>
</Root>
your outbound structure look something like this:
<Root>
<DataLoop> (Ref: 0 to *)
<Element1></Element1><Element2></Element1>..<ElementN></ElementN>
</DataLoop>
</Root>
 
Old September 24th, 2003, 12:35 AM
Registered User
 
Join Date: Jun 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to reddynet
Default

Sorry, here a small correction:

<Element1></Element1><Element2></Element1>..<ElementN></ElementN>

Should be:

<Element1></Element1><Element2></Element2>..<ElementN></ElementN>





Similar Threads
Thread Thread Starter Forum Replies Last Post
BIZTALK gayathri Irugulapati Biztalk 0 June 21st, 2006 04:17 AM
biztalk paras Biztalk 2 August 16th, 2004 06:24 AM
BizTalk david.malone@edirectglass VB Components 0 July 14th, 2004 12:05 PM
Y BizTalk dja24030 Biztalk 0 April 6th, 2004 05:41 AM
Problem in biztalk.. rdigala Biztalk 0 November 27th, 2003 04:26 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.