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.

 View Only
Expand all | Collapse all

Multipart/formdata with webMethods OnPremise and API Gateway

  • 1.  Multipart/formdata with webMethods OnPremise and API Gateway

    Posted Thu June 01, 2023 08:41 AM

    Product/components used and version/fix level are you on:

    Product: webMethods Integration Server
    Version: 10.7.0.0
    Updates: IS_10.7_Core_Fix12
    IS_10.7_SPM_Fix1

    Product: webMethods API Gateway
    Version: 10.7.0.23.731

    Goal:

    My goal is to implement a http POST request with multipart/formdata. Currently I implemented a flow service and a REST API Descriptor (RAD) on my Integration Server. I published the descriptor on my API Gateway.

    Error Description

    Now to the problem. When I send the request (over Postman) nothing except the header is arriving in the flow service. I was expecting a object named contentStream like in other posts. It is working when I use the service directly without API Gateway and RAD.
    Do you know how I can solve my problem?

    Thank you!

    Timon


    #API-Gateway
    #API-Management
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Multipart/formdata with webMethods OnPremise and API Gateway

    Posted Thu June 01, 2023 06:52 PM

    Can you share inputs and SS of postman and IS ? Calling a service from postman or from browser doesn’t really matter. If you can’t call the service with postman or you are missing some part of the request, that usually means your postman request object is faulty. It will be easier to compare them with a screenshot.


    #webMethods
    #Integration-Server-and-ESB
    #API-Gateway
    #API-Management


  • 3.  RE: Multipart/formdata with webMethods OnPremise and API Gateway

    Posted Mon June 12, 2023 04:30 AM

    I fixed it by myself. I tried to combine JSON and multipart/form-data in one endpoint and the REST API descriptor (rad) can not handle it.
    I split up the content types in two endpoints and it was working.


    #webMethods
    #API-Management
    #Integration-Server-and-ESB
    #API-Gateway


  • 4.  RE: Multipart/formdata with webMethods OnPremise and API Gateway

    Posted Mon June 12, 2023 04:34 PM

    Glad to hear that it’s working now and thanks for the tech updates!!

    Cheers!
    RMG


    #Integration-Server-and-ESB
    #webMethods
    #API-Gateway
    #API-Management