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

Exposing a Virtual SOAP API as Virtual REST API

  • 1.  Exposing a Virtual SOAP API as Virtual REST API

    Posted Tue February 19, 2019 05:03 AM

    Hi,

    I’m trying to expose a virtual SOAP API as virtual REST API using Mediator 9.9. I have implemented the run-time policy “Enable REST Support” in Mediator but how do I call my SOAP service using REST, whats the new endpoint?

    Should I be able to see this in the WSDL?

    https://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-9/CentraSite/webhelp/index.html#page/centrasite-webhelp%2Fco-exposing_soap_as_rest.html

    thanks


    #soa
    #webMethods
    #API-Management


  • 2.  RE: Exposing a Virtual SOAP API as Virtual REST API

    Posted Tue March 19, 2019 10:44 AM

    Hi David,

    The REST endpoint for a SOAP service is nothing but the Operation name added to the Virtual Service Invoke path. I.e. http(s) ://< HOST> :<
    PORT>/ws//.

    The operation names can be obtained from the SOAP actions defined in the WSDL of the Virtual Service.

    I have attached a pdf with some more detailed instructions.

    Best,

    Thorsten

    RESTToSOAPTransformationinMediatorEndtoEndtutorial.pdf (135 KB)


    #soa
    #webMethods
    #API-Management


  • 3.  RE: Exposing a Virtual SOAP API as Virtual REST API

    Posted Fri June 19, 2020 06:16 AM

    Hello,
    I met this issue:
    “Exception”: “Mediator encountered an error:Mediator outbound client encountered Error while processing the REST to SOAP transformation in Mediator. The JSON string in the request is empty. while executing operation:validate service:testManage at time:4:50:57 PM on date:Jun 18, 2020. The client ip was:10.250.3.227. The current user:Default. The consumer application:null”

    I’m using Mediator 9.12 and Centrasite 9.12

    Help please
    thanks


    #API-Management
    #webMethods
    #soa