webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  How to unzip WinZipped files in webMethods

    Posted Mon May 24, 2004 05:34 PM

    One of our trading partner’s is going to send a batch of invoice image files zipped using WinZip.

    At our end we need to unzip the file and process ‘each’ image file individually.

    How to unzip (WinZipped files) in webMethods ?

    Appreciate your help.

    Thanks
    Kazi


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: How to unzip WinZipped files in webMethods

    Posted Mon May 24, 2004 06:49 PM

    Please look into 6.01 WmSamples package under String folder,there are sample zip/unzip services.

    HTH,


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 3.  RE: How to unzip WinZipped files in webMethods

    Posted Mon May 24, 2004 09:03 PM

    The zip/unzip services under the WmSamples package works for GZip format only. I need to unzip files that are zipped using WinZip.

    Kazi


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: How to unzip WinZipped files in webMethods

    Posted Mon May 24, 2004 09:23 PM

    Go to Sun’s Java reference site and look at Package java.util.zip. You can write whatever services you need using this documentation.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: How to unzip WinZipped files in webMethods

    Posted Mon May 24, 2004 10:06 PM

    I think you just need to change the Stream types from java.util.zip.GZIPXxxx to the corresponding java.util.zip.ZipXxxxx classes.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 6.  RE: How to unzip WinZipped files in webMethods

    Posted Wed June 09, 2004 07:48 AM

    Kazi,

    Currently we are using a system call - “firecommand” to invoke a bat to winzip/winunzip because our client request zipping with a password.

    Let me know if you have other better way of doing this as I am not quite comfortable using this method.

    rdgs


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 7.  RE: How to unzip WinZipped files in webMethods

    Posted Tue June 15, 2004 04:55 AM

    Since Winzip comes along with an ocx, why don’t you simply build a 1 parameter COM service?


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services