Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > Biztalk
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 15th, 2003, 08:14 AM
Registered User
 
Join Date: Aug 2003
Location: Johannesburg, sa, South Africa.
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?
Reply With Quote
  #2 (permalink)  
Old August 29th, 2003, 03:36 AM
Registered User
 
Join Date: Jul 2003
Location: , , .
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.
Reply With Quote
  #3 (permalink)  
Old September 22nd, 2003, 11:02 PM
Registered User
 
Join Date: Jun 2003
Location: Singapore, Singapore, Singapore.
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>
Reply With Quote
  #4 (permalink)  
Old September 24th, 2003, 12:35 AM
Registered User
 
Join Date: Jun 2003
Location: Singapore, Singapore, Singapore.
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>
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 10:00 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.