Author |
Message
|
BHARGAVI |
Posted: Mon Aug 15, 2011 9:09 pm Post subject: Re: WebSphere ESB and Files. |
|
|
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 |
|
 |
Vitor |
Posted: Tue Aug 16, 2011 4:19 am Post subject: |
|
|
 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 |
|
 |
Vitor |
Posted: Tue Aug 16, 2011 4:20 am Post subject: Re: WebSphere ESB and Files. |
|
|
 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 |
|
 |
mgoll |
Posted: Mon Jan 16, 2012 8:27 am Post subject: WESB and Zip Files |
|
|
 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 |
|
 |
fjb_saper |
Posted: Mon Jan 16, 2012 9:02 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Have you even looked at java.util.zip and java.util.jar ?
Little steps  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mgoll |
Posted: Mon Jan 16, 2012 9:43 am Post subject: |
|
|
 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 |
|
 |
|