IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
Expand all | Collapse all

Add a file to a object through java api

  • 1.  Add a file to a object through java api

    Posted 09/08/20 04:26 AM

    Hello,
    I cant find any documentation on how to add a file to an object through the java API.
    Is there any possible solution for this?

    I want to add a file to an object which can be generated through the actions → print → my word document.

    thank you.


    #AgileApps
    #webMethods


  • 2.  RE: Add a file to a object through java api

    Posted 09/09/20 11:43 AM

    Hi Elias,

    Please refer to the Integration Server Java API Reference guide and Service Development Help guide for how to build JAVA services in webMethods.

    For file-related operations see if something helpful you can find for your requirement under the pub.file folder.

    As per your requirement, you should be using the octet-stream content type while doing your logic so that it can be downloaded in the browser and printed.

    Let us know if any further issues.

    Regards,
    Firoz N


    #webMethods
    #AgileApps