|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Saving BLOB from WebServices |
« View previous topic :: View next topic » |
Author |
Message
|
rabee_nawash |
Posted: Mon Dec 01, 2014 11:34 pm Post subject: Saving BLOB from WebServices |
|
|
Apprentice
Joined: 01 Dec 2014 Posts: 27
|
Dears,
I have a web service which have an array of base64 to send an array of attachments to WMB 7. I want to use the file output to save the files in SAN directory which is connected to the WMB. How can loop over the array and call the file output multiple times and is there a better way to handle such scenario.
Best Regards,
Rabee' |
|
Back to top |
|
 |
zpat |
Posted: Tue Dec 02, 2014 12:39 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Use a compute note with the ESQL statement "propagate". You can pass one record at a time to the fileoutput node and then finalize it at the end to create the finished file. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
rabee_nawash |
Posted: Tue Dec 02, 2014 12:56 am Post subject: |
|
|
Apprentice
Joined: 01 Dec 2014 Posts: 27
|
zpat wrote: |
Use a compute note with the ESQL statement "propagate". You can pass one record at a time to the fileoutput node and then finalize it at the end to create the finished file. |
Thank you for the reply, this will work even if each record represents a separate file with its own file name, so the idea here I want to save multiple files in one shot. Is this fine?! thanks |
|
Back to top |
|
 |
zpat |
Posted: Tue Dec 02, 2014 1:09 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
No I was taking the more conventional view of having multiple records in one file.
As to whether you can create mutliple files, I guess you can set the filename in environment variables before reaching the file node. _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|