Skip to Content
avatar image
Former Member

SOAPFault Body details for SOAP lookup failed calls(in a UDF)

Hi all,

Our scenario is on SOAP lookup channels that when any

call fails we are getting a 500 HTTP exception in the TRACES (NWA). We need to know how we can get that SOAPFault Body

for that kind of calls.

To summarize the scenario.

1. JDBC sender is polling the data from a database and sends it to Integration Engine.

2. The message arrives to mapping.

3. Mapping use channel(defined in Integration Directory) lookups to consume external webservices.

3.1 The webservice Server returns an HTTP 500 error(this is an internal server error which can be caused by many reasons, the details of the error are sent in SOAPFault Body).

3.2 We go to traces and log to check the error and t here is no details about the exact error in the server(It shows only the generic http 500 error). It is not showing the SOAPFault Body content(which contains the exact error details).

Any help will be really appreciated.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • Jan 06, 2012 at 09:53 PM

    This is the downside of using SOAP Calls in the UDF. Hard to maintain. You might want to write logic to retrieve error information (like prinstacktrace if the exception occurs in the catch block. The response logic should cover errror details if the exception occurs. Also discuss with the webservice team to provide valid exceptions or errors.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 07, 2012 at 11:19 AM

    Hi Ivan,

    you can use the "do Not Use SOAP Envelope" option in the soap channel and "XMBWS.NoSOAPIgnoreStatusCode = true" in module tab -> Module configuration. The module Key will be "soap". Like Neetesh Raj recommended in thread How to capture SOAP fault when using "Do not use SOAP envelope" parameter



    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 24, 2012 at 09:59 PM


    Add comment
    10|10000 characters needed characters exceeded