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.


#TechXchangePresenter
 View Only
  • 1.  Processing a file receive through rest api in webmethods.

    Posted Fri June 27, 2025 10:02 AM

    I have created a rest service in webmethod. My aim is to receive a text file from the source and process the data in webmethods. i am not sure how to process the same in webmethods. When i created a sample rest api with input as object type variable below was the response i got.

    In my flow service pipeline there is no variable named content stream so i don't know how to proceed further.

    Attached below is the snapshot of my postman response when i tried sending a sample file through it.



    ------------------------------
    ajay prasad
    ------------------------------


  • 2.  RE: Processing a file receive through rest api in webmethods.
    Best Answer

    Posted Fri June 27, 2025 11:54 AM
    Edited by ajay prasad Wed July 02, 2025 06:46 AM

    You need to use MIME services for this purpose. I wish they made it simpler though. It's more difficult then doing it in a modern programing language, such as C#. 

    FYI, it can be rest, SOAP, or even an email. Mime is the only way to send/receive file through a webservice. 



    ------------------------------
    engin sarlak
    ------------------------------



  • 3.  RE: Processing a file receive through rest api in webmethods.

    Posted Mon June 30, 2025 01:15 AM

    Hi @ajay prasad

    Please refer the below link for same.

    https://community.ibm.com/community/user/viewdocument/webmethodsio-integration-submittin?CommunityKey=82b75916-ed06-4a13-8eb6-0190da9f1bfa&tab=librarydocuments

    Regards

    Vikash Sharma



    ------------------------------
    Vikash Sharma
    ------------------------------



  • 4.  RE: Processing a file receive through rest api in webmethods.

    Posted Wed July 02, 2025 07:32 AM

    Thank you for your response. 

    I will check the service implementation based off the documentation.



    ------------------------------
    ajay prasad
    ------------------------------