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.


#TechXchangePresenter
 View Only
  • 1.  Can Natural capture the SOAP FAULT document?

    Posted Wed March 15, 2006 06:40 AM

    when a Natural client does a CALLNAT to a web service, the XMM maps the IN and OUT parameters and provides an InErr and OutErr mapping (that is not automatically generated). With this configuration, if a fault document is received, the Natural client throws an error and the fault document is logged by the xmlrpcserver runtime. Is there a way for the InErr and/or OutErr to be configured to call a different Natural subprogram or otherwise handle the error, to report the SOAP FAULT to the client?


    #EntireX
    #Mainframe-Integration
    #webMethods


  • 2.  RE: Can Natural capture the SOAP FAULT document?

    Posted Fri April 07, 2006 05:17 PM

    Hi Douglas,

    I’m not sure if I understand your question. Who should call a different Natural subprogram in the error case ?

    If the Webservice returns a SOAP fault to the XML RPC Server, the XML RPC Server returns an error indication to the RPC Client. If this is a Natural RPC Client the Natural program gets an error which can be handled in a ON ERROR statement.


    #EntireX
    #Mainframe-Integration
    #webMethods


  • 3.  RE: Can Natural capture the SOAP FAULT document?

    Posted Fri April 07, 2006 07:33 PM

    All the ON ERROR can report is that there was an error in the SOAP request. The actual error cause is inside the fault document. In some cases, it would be helpful to have the error message from the SOAP Fault document available to the end user.


    #EntireX
    #Mainframe-Integration
    #webMethods


  • 4.  RE: Can Natural capture the SOAP FAULT document?

    Posted Mon April 10, 2006 10:38 AM

    The Java Tester returned:
    Error 2000 0086: Receive fault document.(Faultcode:my faultcode, Faultstring:my faultstring, Details:error detail, Faultactor:this actor)

    If you have a newer version of Natural RPC you should be able to get the same information.


    #Mainframe-Integration
    #EntireX
    #webMethods