ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » WebSphere ESB and ZIP Files

Post new topic  Reply to topic
 WebSphere ESB and ZIP Files « View previous topic :: View next topic » 
Author Message
BHARGAVI
PostPosted: Mon Aug 15, 2011 9:09 pm    Post subject: Re: WebSphere ESB and Files. Reply with quote

Newbie

Joined: 20 Mar 2011
Posts: 8

Hi All,

We need to expose a web service from Websphere ESB which is capable of consuming file. Can websphere ESB consume and process a file through a web service ? if yes, what are the tooling available inside WESB to unzip and process the zip file.?
pls let me know which supports to do this attachment ..Please share your thoughts
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Tue Aug 16, 2011 4:19 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Split from this post.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Aug 16, 2011 4:20 am    Post subject: Re: WebSphere ESB and Files. Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

BHARGAVI wrote:
Please share your thoughts


Clearly all the thoughts on the previous thread apply; that a zip file is a jar file.

Perhaps you could share more thoughts than the other poster? Such as what you plan do do with the file once "consumed"? And why a zip file as a file, rather than an unzipped file over a.n.other transport mechanism?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mgoll
PostPosted: Mon Jan 16, 2012 8:27 am    Post subject: WESB and Zip Files Reply with quote

Newbie

Joined: 16 Jan 2012
Posts: 2

We are trying to consume .zip files in the following way. Please advise if there are best practices around this.

Pick up a .zip file dropped off by MQ FTE into a working directory. This .zip file contains 2 .xml files which need some sort of transformation done (XML to Pipe delimited, not a problem) through WESB. After this transformation both pipe delimited files need to be zipped back up and copied off to some location.

What are the best ways for WESB to consume flat files? Can it handle the input of a .zip, the breakout of that file and the rezipping? Should MQ FTE handle the logic of unzipping and making sure both files are processed before zipping back up?

Any help would be greatly appreciated.

Thank you,
Mike
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Jan 16, 2012 9:02 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

Have you even looked at java.util.zip and java.util.jar ?

Little steps
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mgoll
PostPosted: Mon Jan 16, 2012 9:43 am    Post subject: Reply with quote

Newbie

Joined: 16 Jan 2012
Posts: 2

Looking into it now. Thinking it should be parsed with a Flat File Adapter AsBinary then utilize the java.util.zip java component and then possibly use a databinding to get the XML data out of the files.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Process Server (WID/WPS/WAS+) » WebSphere ESB and ZIP Files
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.