× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



The Axis2 web services framework uses MTOM for attachments. I don't
believe DIME is supported by Axis2 and I'm not sure DIME is still
supported.

Thanks,
Todd Allen
EDPS
Electronic Data Processing Services
tallen@xxxxxxxxxxxx




"John Holmer"
<holmerjohn@gmail
.com> To
Sent by: "'Web Enabling the AS400 /
web400-bounces@mi iSeries'" <web400@xxxxxxxxxxxx>
drange.com cc

Subject
2010-05-18 23:03 Re: [WEB400] SOAP Webservice
returning PDF document

Please respond to
Web Enabling the
AS400 / iSeries
<web400@midrange.
com>






I think one of the more common ways to send a file like that is as an
attachment. Microsoft supported that as part of their Web Service
Enhancements 3.0 as DIME, but there were also competing technologies.

Depending on your service consumer, you may be able to code the attachment
routine to the standard SOAP call and be able to make it work.

You could also check out the MS solution (DIME) here:
http://msdn.microsoft.com/en-us/magazine/cc188797.aspx and reverse
engineer
it for java.

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On
Behalf Of Richard Schoen
Sent: Tuesday, May 18, 2010 3:07 PM
To: web400@xxxxxxxxxxxx
Subject: Re: [WEB400] SOAP Webservice returning PDF document

I suppose you could also use a straight HTTP download to download the
file as well.

Not knowing what you client app is, this should be pretty
straightforward.

Have the web service create a file into a temporary folder and expose
that folder for downloads.

The web service could return the URL for the download.




This communication and any transmitted documents are intended to be confidential. If there is a problem with this transmission, please contact the sender. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.