BizTalk Server - Biztalk 2002 question:

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server > January 2006 > Biztalk 2002 question:





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 2002 question:
bobby.somers@gmail.com

2006-01-03, 5:57 pm

I have a business process that requires me to create an XML document
and send it to a trading partner via FTP.

The hitch here is that the document must be accompanied by a control
file with information about the document such as the name child node
count, etc. Then the two files need to be zipped and ftp'd to the
trading partner.

I have all the code to create the control file and zip the two together
- I can put it in an AIC or preprocessor. But it seems that the only
thing I can pass into a channel is an XML file. How do you pass the
zip file through biztalk and into the biztalk ftp service?

Thanks!

Bobby Somers

BA

2006-01-03, 5:57 pm



I risk looking a fool here because its been a while since I've touched BTS
2002!

If I recall correctly you must set your transport to passthru, that should
be all. I think I'm right in that you dont need an envelope for this process.

Hope I've helped a little.

BA
http://biztalkia.blogspot.com/


> I have a business process that requires me to create an XML document
> and send it to a trading partner via FTP.
>
> The hitch here is that the document must be accompanied by a control
> file with information about the document such as the name child node
> count, etc. Then the two files need to be zipped and ftp'd to the
> trading partner.
>
> I have all the code to create the control file and zip the two
> together - I can put it in an AIC or preprocessor. But it seems that
> the only thing I can pass into a channel is an XML file. How do you
> pass the zip file through biztalk and into the biztalk ftp service?
>
> Thanks!
>
> Bobby Somers
>



Jan Eliasen

2006-01-05, 7:50 am

I am unsure as to whether a preprocessor is called when using the
passthrough option in a receive function.

Other possibilities would be using BizTalks HTTP receive function
receive the file and just drop it in a folder. Then have a Windows
Service monitor that folder and create the controlfile, zip them
together and put the zip-file in another folder. Then use BizTalks
file receive function to pick it up, using passthrough to a port that
uses the FTP AIC.

Jan Eliasen

On Tue, 03 Jan 2006 08:23:55 -0800, BA <biztalk.architect@gmail.com>
wrote:

>
>
>I risk looking a fool here because its been a while since I've touched BTS
>2002!
>
>If I recall correctly you must set your transport to passthru, that should
>be all. I think I'm right in that you dont need an envelope for this process.
>
>Hope I've helped a little.
>
>BA
>http://biztalkia.blogspot.com/
>
>
>

Eliasen Jr. representing himself and not the company he works for.

Private email: jan@eliasen.dk
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com