webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  download file link in DSP

    Posted Mon July 29, 2019 09:56 AM

    Hi,

    I am trying to create dsp page to download a local file. My DSP code is as below. in the below code i am invoking a service to write the DB content to csv file. Then i have to provide a link to download the file. Below code is not working. can someone please help me to rectify the issue.

    %invoke PrpcInitialization.services:writeMasterDataTableContentToFile%

    Download


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 2.  RE: download file link in DSP

    Posted Mon July 29, 2019 05:44 PM

    If you’re trying to download a file from remote server, you will need to use protocol http instead of file for the href.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: download file link in DSP

    Posted Tue July 30, 2019 04:10 AM

    Thanks Xiaowei Wang.

    I am trying to download the file created in the same server and same package where DSP resides.

    I am able to download the file from browser with this link file:///%value fileName% but only from DSP the link is not working.


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: download file link in DSP

    Posted Tue July 30, 2019 04:03 PM

    Protocol file:// could only download something from local, it equals to open a local file by browser.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB