Re: Generate a file and compress it
- From: dgrospelier <dgrospelier@xxxxxxxxx>
- Date: Wed, 6 Feb 2008 14:40:10 -0800 (PST)
Hello,
1) You just have to create a send port (like the MQ one) and associate
it with the FILE adapter. You configure your send port to specify the
location of the folder where you want the files to be created. If you
already send a XML file with MQ, you have nothing else to do to send
the same XML file to a folder;
2) To compress the message, you have to create a send pipeline in
charge of compressing the message before that the message goes out of
BizTalk. You have 2 options:
- Create your own pipeline component. You can find a sample of this
pipeline component in the BizTalk 2006 SDK Samples;
- Use the /n software pipeline component : http://www.nsoftware.com/products/biztalk/
David Grospelier
http://blog.noveli.fr
On 6 fév, 20:13, Jeff Tressler
<JeffTress...@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Our normal interface is to generate XML messages and use WebSphere MQ
(MQSeries) to send the XML messages to the remote systems.
We have an interface with a remote system (Legacy Mainframe - COBOL) that
does not have MQ. They plan to manually parse the XML to get the data they
need so we will continue to use XML.
Problems is we must take the XML message and write it to a file. Once the
file is created, it needs to be zipped to compress into a smaller file.
Note: We use BizTalk 2004 and .Net 1.1.
I have two questions:
1) How do I write the XML message to a file? I have created flat file schema
but these seem to be best to map XML document element values to fixed length
field kind of processing. I want to get a XML document and write the document
unchanged to a file.
2) Once the file is created, zip the file. We found some C# code but beleive
the System.IO.Compression libraries are .Net 2.0 so may not be useful. I
suppose some option on the Send Port would be great but quick look did not
turn anything up. What are some options to do this?
--
There are 10 kinds of people, those who understand binary and those that don't
There's no place like 127.0.0.1
================================
3.14159 + Ice Cream = Pi ala mode
.
- Prev by Date: Re: Access Distinguished Property (Created in Custom Pipeline) In
- Next by Date: Re: Sharing SSO in a dev environment
- Previous by thread: Re: Access Distinguished Property (Created in Custom Pipeline) In Orch
- Next by thread: Admin Console: "A generic error occurred in GDI+"
- Index(es):
Relevant Pages
|
Loading