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

Home Page Forums BizTalk 2004 – BizTalk 2010 Unziping GZipStream based .GZ files using Rcv Pipeline in BizTalk 2006 R2

Viewing 1 reply thread
  • Author
    Posts
    • #20483

      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.

    • #20484

      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[H]

      • #20486

        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.

        • #20488

          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

           

          • #20489

             What is the error you are getting?

            • #20490

              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.

              • #20492

                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.

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.