Files returned by an AtomSphere web service, have the default name of the object in the web service operation

Document created by rich_patterson Employee on Aug 27, 2014Last modified by dave_lesshafft on Mar 2, 2016
Version 2Show Document
  • View in full screen mode
Files are returned from a web service, but their file names are assumed to be the name of the object retrieved from that service.

 

For example, an HTML client may be prompted with a Save As... dialog, but the name might be /ws/simple/getObject

 

Several users have asked how to change that default name.
One solution, might be to build an XML profile.  The header of this XML might contain file names or other meta data, while a separate element could contain the binary file itself.

 

Another option, would be to return the file name, within a custom outbound header, per the following article:
http://help.boomi.com/atomsphere/GUID-9DBB4927-E4FA-40F7-9A3C-077063E1AE7F.html

 

Either way, the client side would have to implement some logic ( JavaScript / JSP / PHP / etc ) to parse that data/header.

Attachments

    Outcomes