My project requirement needs the SOAP FAULT message to have multiple elements under “detail” section of the message, why is BW not able to handle it?

My project requirement needs the SOAP FAULT message to have multiple elements under “detail” section of the message, why is BW not able to handle it?

book

Article ID: KB0091464

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Resolution:
Description:

Customer has defined the fault structure with list of fields in WSDL but the whole structure not visible to map the values in Send SOAP Fault activity, only first element is visible out of three.

For ex:
&ltenv:Detail>
             </ProgramID>
              </SessionID>
              </ErrorCode>
</env:Detail>
Only first element is visible in mapping (i.e ProgramID)

Expalanation & workaround:

It is  WSDL Specification limits that soap:fault message can only have one part. Please refer to http://www.w3.org/TR/wsdl#_soap:fault for details, it says:"... The fault message MUST have a single part.  ..."
  
So even if the message has multiple parts, but when it is used in soap:fault, only the first part can be viewed.

The workaround is that create a fault message that refers to an xml schema(complex element), you will see the fully qualified element along with all the defined fields.

Issue/Introduction

My project requirement needs the SOAP FAULT message to have multiple elements under “detail” section of the message, why is BW not able to handle it?