Products | Versions |
---|---|
TIBCO ActiveMatrix BusinessWorks | - |
Not Applicable | - |
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:
<env: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.