Hello friends:
From source systems I am getting XML files which are compressed using .NET 2.0 GZipStream class as file name "xxxxx.gz"
I have to unzip this .gz file using a Pipeline.
Any inputs on how to acomplish this is appreciated. Kind of urgent please.
Thanks, Nagin.
There is a custon pipeline component for unziping files, I am not sure wether it will unzip .gz files you google a bit mr nagin
If the unzipper pipeline component doesn't work, you just need to write a custom pipeline component that uses the GZip API to unzip the incoming message. Not sure about how to use the GZip API, but you can download a pipeline component wizard from codeplex to help in creating the pipeline component: http://www.codeplex.com/btsplcw.
-Russell Waltz
Thanks a lot for our Inputs.
I found an SDK Sample shipped with BizTalk 2006 R2 to Compress and DeCompress using GZipStream .NET Class and it woks perfect but When I use the same PipeLine component in my project I am getting error reading the file.
Earlier it was a straight XML and now its a .gz file hence looks like I am having Stream Read issues.
Any clues ?
Thanks, Nagin
What is the error you are getting?
Following the Error message
Event Type: ErrorEvent Source: BizTalk Server 2006Event Category: BizTalk Server 2006 Event ID: 5778Date: 8/24/2008Time: 12:01:15 PMUser: N/AComputer: BATORMYTRAK1Description:The Messaging engine failed to process a message submitted by adapter:FILE Source URL:C:\MyTrakPortal\Data\ZipUpload\*.gz. Details:The published message could not be routed because no subscribers were found. This error occurs if the subscribing orchestration or send port has not been enlisted, or if some of the message properties necessary for subscription evaluation have not been promoted. Please use the Biztalk Administration console to troubleshoot this failure.
While I have already checked the subscriptions / Enlistiing of Pipelines / Ports etc.
This Pipeline work perfect when I use it Independently but when I replace the Pipeline from standard "XML Rcv" to the "DecompressOnRcv" in my project I get this error..
Still No luck though t appeares simple.