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
  • 1.  Cannot execute webnethods webservice fault handler.

    Posted Tue June 16, 2015 02:58 AM

    Hi,

    I am trying to execute a webMethods webservice fault handler.

    Steps I have taken as follows:

    1> I created a SOAP 1.2 webservice descriptor for both consumer and provider.
    2> Then I created a fault handler flow service
    3> Registered the fault handler service using “pub.soap.handler:registerWmConsumer” and
    “pub.soap.handler:registerWmProvider”.
    4> Then I added the above fault handlers in provider WSD and consumer WSD.
    5> Then I refreshed the consumer WSD connectors.
    6> but I am unable to execute fault handler. Do I need to set any fault code “3”? if yes how to do it in code?




    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Cannot execute webnethods webservice fault handler.

    Posted Wed August 12, 2015 06:52 AM

    Hi Sandeep,

    I’m not really sure about the code since it can vary based on the requirements, however I was recently reading about Fault Handler and I found the document below which might give you some ideas as it explains SOAP Fault Handler in details.

    Please refer to the document below: (keep in mind it’s for wM v9.7)
    [url]http://techcommunity.softwareag.com/ecosystem/documentation/webmethods/wmsuites/wmsuite9-7/Integration_Server/9-7_Web_Services_Developers_Guide.pdf[/url]
    Pages:
    75-104
    147-148
    159-176
    192-220

    Hope it helps.

    Regards,
    Roham Zaferanlo


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 3.  RE: Cannot execute webnethods webservice fault handler.

    Posted Wed August 12, 2015 01:39 PM

    Is your WS hitting the fault code scenario when you said it’s not working with the logic?

    Did you make sure the handler is registered with no errors and also try to restart the IS for proper loading and monitor the error/server logs for any issues:

    HTH,
    RMG


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 4.  RE: Cannot execute webnethods webservice fault handler.

    Posted Wed February 01, 2017 03:55 PM

    Hi,

    I am also same issue. fault handler service not getting executed.


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration


  • 5.  RE: Cannot execute webnethods webservice fault handler.

    Posted Thu February 02, 2017 01:23 PM

    Hope you have again registered the handler after the changes. Give a try.


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Cannot execute webnethods webservice fault handler.

    Posted Thu February 02, 2017 01:50 PM

    Thanks for reply.

    we tried 3 - 4 times but everytime same issue. fault service not getting identified.


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: Cannot execute webnethods webservice fault handler.

    Posted Thu February 02, 2017 03:16 PM

    Do you mind creating a new thread/topic with all the required details? It will help to understand the issue better so we can suggest you some workaround or a solution to your problem.


    #B2B-Integration
    #webMethods
    #Integration-Server-and-ESB


  • 8.  RE: Cannot execute webnethods webservice fault handler.

    Posted Fri February 03, 2017 05:39 PM