Layer7 API Management

 View Only
  • 1.  Orchestration in API Gateway end

    Posted Feb 24, 2021 01:33 PM
    Please tell me how to orchestrate in Gateway like below:
    1) After creating a web API want to route to SOAP service & from the response of the SOAP service want to call again a rest service.
    2) Depending on some values want to route to different system.

    Regards,
    Sanjeev


  • 2.  RE: Orchestration in API Gateway end

    Broadcom Employee
    Posted Feb 24, 2021 02:49 PM
    That is a very general question, so you'll get a general answer :)

    This is pretty simple with the policy language. Parse the request context to get the values you need to plug into the SOAP request, create the SOAP request as a message type variable with the correct mime-type and load it using context variables derived from the request context, POST it to the SOAP service with the SOAP response into a new context variable, parse the SOAP response then use case logic to route a new REST request wherever and typically return a template response at the end.

    ------------------------------
    Jay MacDonald - Adoption Architect - Broadcom API Management (Layer 7)
    ------------------------------



  • 3.  RE: Orchestration in API Gateway end

    Posted Feb 28, 2022 03:39 AM
    Hi Jay, 

    Would you mind sharing an example policy in GitHub?

    Thank you,
    Humphrey