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
Expand all | Collapse all

SOAP Fault not returned in SOAP API hosted on APIGateway

  • 1.  SOAP Fault not returned in SOAP API hosted on APIGateway

    Posted Tue September 07, 2021 06:10 AM

    Hello Experts,

    I have a SOAP API in APIGateway which is working fine in case of success result.

    But in case of SOAP Fault for the native API, in some cases I am receiving the fault as part of response of the API. But in most of the cases, the SOAP fault is not forwarded by the APIgateway service.

    I have already enabled Send Native Provider Fault Message = True as well, still not getting fault forwarded at time.

    Any idea what i am missing in this?

    Regards,
    Debapriyo


    #API-Management
    #API-Gateway
    #webMethods


  • 2.  RE: SOAP Fault not returned in SOAP API hosted on APIGateway

    Posted Tue September 07, 2021 06:42 AM

    The immediate issue that I can think of is if the exception is “handled” already in the native service (i.e., in the catch block). You’ll have to explicitly propagate the exception.

    KM


    #API-Gateway
    #API-Management
    #webMethods


  • 3.  RE: SOAP Fault not returned in SOAP API hosted on APIGateway

    Posted Tue September 07, 2021 09:28 AM

    Hi,

    No the case is not handled in the native service. When i directly call the native service instead of SOA service, I am getting the SOAP fault.

    Regards,
    Debapriyo


    #API-Management
    #API-Gateway
    #webMethods


  • 4.  RE: SOAP Fault not returned in SOAP API hosted on APIGateway

    Posted Tue September 07, 2021 10:16 AM

    I’m unable to brainstorm; can you provide your version and fix info so I can check further?

    KM


    #webMethods
    #API-Gateway
    #API-Management