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 Message Broker (ACE) Support » Saving BLOB from WebServices

Post new topic  Reply to topic
 Saving BLOB from WebServices « View previous topic :: View next topic » 
Author Message
rabee_nawash
PostPosted: Mon Dec 01, 2014 11:34 pm    Post subject: Saving BLOB from WebServices Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Tue Dec 02, 2014 12:39 am    Post subject: Reply with quote

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
View user's profile Send private message
rabee_nawash
PostPosted: Tue Dec 02, 2014 12:56 am    Post subject: Reply with quote

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
View user's profile Send private message
zpat
PostPosted: Tue Dec 02, 2014 1:09 am    Post subject: Reply with quote

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
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 Message Broker (ACE) Support » Saving BLOB from WebServices
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.