BizTalk Gurus

Unziping GZipStream based .GZ files using Rcv Pipeline in BizTalk 2006 R2

rated by 0 users
This post has 6 Replies | 2 Followers

Top 500 Contributor
Posts 4
anagin Posted: Fri, Aug 22 2008 6:47 PM

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.

replied on Fri, Aug 22 2008 7:05 PM

There is a custon  pipeline component for unziping files, I am not sure wether it will unzip .gz files you google a bit mr naginCool

Top 10 Contributor
Posts 264
ruselw replied on Sat, Aug 23 2008 6:52 AM

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

Top 500 Contributor
Posts 4
anagin replied on Sat, Aug 23 2008 9:24 AM

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

 

Top 10 Contributor
Posts 264
ruselw replied on Sun, Aug 24 2008 6:07 AM

 What is the error you are getting?

-Russell Waltz

Top 500 Contributor
Posts 4
anagin replied on Sun, Aug 24 2008 9:08 AM

Following the Error message

Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5778
Date:  8/24/2008
Time:  12:01:15 PM
User:  N/A
Computer: BATORMYTRAK1
Description:
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.

Thanks, Nagin.

Top 10 Contributor
Posts 264
ruselw replied on Sun, Aug 24 2008 8:37 PM
in the Biztalk admin console, in the group hub page, are there any suspended messages from your testing? If so, what is the value of the MessageType context propert? Usually "no subscribers found" errors are caused by the message type.

-Russell Waltz

Page 1 of 1 (7 items) | RSS