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 » Sending Attachments through WMB

Post new topic  Reply to topic
 Sending Attachments through WMB « View previous topic :: View next topic » 
Author Message
achocks
PostPosted: Thu Feb 16, 2012 2:03 pm    Post subject: Sending Attachments through WMB Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

WMB Guru's,

Need your help and advise in sending an Attachment through the WMB..

As far I as read, it looks like I can use SwA node (SOAP with Attachment). But I am having difficulty understanding the whole concept of an attachment (let us say an image) routing through the broker. If so is there is any limitation of size what WMB can handle?

Also can the image go through if I use MQ protocal? Any direction or explanation of how attachments works would be greatly appreciated.

Thanks in advance.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Feb 16, 2012 2:10 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Soap With Attachments uses the MIME standard to create an MIME document that consists of multiple MIME parts, and this MIME document is then streamed over HTTP. (or JMS)

MIME is the same thing that is used to describe email messages.

You can indeed put a MIME message into an MQ message. It would then be subject to the limit of 100MB that exists for each individual MQ message.
Back to top
View user's profile Send private message
achocks
PostPosted: Thu Feb 16, 2012 2:14 pm    Post subject: Thanks! Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Thanks MQJeff.

Is there any documentation you can direct me to or code samples I can look at?
Back to top
View user's profile Send private message
achocks
PostPosted: Thu Feb 16, 2012 2:55 pm    Post subject: Clarification Reply with quote

Voyager

Joined: 28 Nov 2011
Posts: 82

Just a clarification - I do not want to send an email attachment. I want to send the image attachment in the SOAP / HTTP reply back to the requestor.

Please let me know how to proceed.

Thanks for your help!
Back to top
View user's profile Send private message
mqsiuser
PostPosted: Fri Feb 17, 2012 3:25 am    Post subject: Re: Clarification Reply with quote

Yatiri

Joined: 15 Apr 2008
Posts: 637
Location: Germany

achocks wrote:
Just a clarification - I do not want to send an email attachment. I want to send the image attachment in the SOAP / HTTP reply back to the requestor.

Please let me know how to proceed.

Thanks for your help!


MIME once (~30/40 years ago) was the attachment process for eMail (only). Then the web (basically) also picked (or just used(?)) MIME when it came along in 1991. So it is called Mail (eMail) - "Multi purpose Mail extensions" I guess you can say "for historical reasons".

If you can use MIME with web-services then that is a good idea, because eMail(-Clients) and Web(-Clients), e.g. Web-Browsers like IE and Firefox, also understand it. You can likely use this to your advantage during development. Also MIME is mature and proven!

As an alternative there is MTOM. Anybody else's comments/corrections are welcome, esp. when you have a lot of practical experiences with WebServices-Attachments !

There certainly are other methods. Though this is not web services: The file-Adapter from WBI-Framework has also capabilites to read in binary data (into a blob(-field)) and write it out into a file.

mqjeff wrote:
You can indeed put a MIME message into an MQ message. It would then be subject to the limit of 100MB that exists for each individual MQ message.

The execgroups are also limited! With Messages that go close to 100 MB this can be an issue! Check the forum here for details if this is relevant for you.
_________________
Just use REFERENCEs
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 » Sending Attachments through WMB
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.