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
  • 1.  custom faultstring & faultactor in soap fault

    Posted Thu March 11, 2010 01:56 AM

    Hi,

    I am creating a webservice provider in WM 7.1.2.

    faultcode, faultstring & faultactor in soap fault need to hold custom values instead of having IS generated faultcode, faultstring & faultactor.
    (It is a mediation service & soap fault generated by actual service provider need to reach the end user.)

    Is there a way to do it in 7.1.2. I am using webservice descriptors provided in 7.1.2 version.

    I need it urgently…Kindly help.

    Thanks,
    Ros


    #API-Management
    #webMethods
    #soa


  • 2.  RE: custom faultstring & faultactor in soap fault

    Posted Thu March 11, 2010 06:09 AM

    you can branch on the response returned by actual service provider. Depending on the success or failure you can map the custom response to the response document.


    #soa
    #webMethods
    #API-Management


  • 3.  RE: custom faultstring & faultactor in soap fault

    Posted Tue June 15, 2010 07:32 AM

    Are you able to solve this problem? I am also facing the same issue.

    Our service is also a mediation service and faultcode, faultstring & faultactor in soap fault need to hold custom values returned by backend app, instead of having IS generated faultcode, faultstring & faultactor.

    webMethods IS 7.1.2 has serious problem of generating wrapper arrays, instead of conforming to the actual document types. (link)

    So we decided to go with WSDL first approach. The WSDL has request, response and fault structures defined. Imported the WSDL as provider and IS created its wrapper services and doc types respectively.

    For success scenarios, I can see the output being returned appropriately in SOAP UI. But I am not able to receive the custom soap fault message at all.

    The web service developer’s guide says

    I tried to play with the underlying IS service and populate different fault documentTypes (generated by IS while importing WSDL), but of no use. Also tried to add the fault document in the descriptor, but not getting the fault in the output.

    Any help in this regard will be highly apprciated.

    I have attached the package and the wsdl here. In the package, the WSD can be found in the ping folder.
    SAG_Issue.zip (22.7 KB)
    pingSomething.WSDL (2.91 KB)


    #soa
    #webMethods
    #API-Management


  • 4.  RE: custom faultstring & faultactor in soap fault

    Posted Tue August 23, 2011 10:26 PM

    Yogesh,

    I could get it working. EMail me if you need help.

    Hara


    #API-Management
    #webMethods
    #soa


  • 5.  RE: custom faultstring & faultactor in soap fault

    Posted Mon January 07, 2013 09:21 AM

    Haragopal,

    I am also trying to create a custom soapfault in my provider WSD. Could you please help me in this regard.

    We are using wM 7.1.2.

    Regards,
    Mudassir


    #API-Management
    #webMethods
    #soa


  • 6.  RE: custom faultstring & faultactor in soap fault

    Posted Mon January 07, 2013 01:18 PM

    Mudassir,

    Are you following a wsdl first approach?

    • Hara

    #webMethods
    #API-Management
    #soa


  • 7.  RE: custom faultstring & faultactor in soap fault

    Posted Mon January 07, 2013 01:32 PM

    Yes, I am following WSDL first approach.


    #webMethods
    #soa
    #API-Management


  • 8.  RE: custom faultstring & faultactor in soap fault

    Posted Tue January 08, 2013 10:41 AM

    Haragopal,

    Could you please help me in creating custom soap fault in provider WSD. I am using WSDl first approach.

    Regards,
    Mudassir


    #webMethods
    #API-Management
    #soa


  • 9.  RE: custom faultstring & faultactor in soap fault

    Posted Mon May 11, 2015 03:52 PM

    Hi Hara,

    Could you please let me know how you handled to genarate custom faultstring, faultactor in soap fault.

    Thanks & Regards,
    RKotari


    #webMethods
    #API-Management
    #soa