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.  Processing a file receive through rest api in webmethods.

    Posted 8 hours ago

    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.

    Posted 6 hours ago
    Edited by engin sarlak 6 hours ago

    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
    ------------------------------