Does TIBCO BusinessWorks support "rpc" encoded style for SOAP Fault?

Does TIBCO BusinessWorks support "rpc" encoded style for SOAP Fault?

book

Article ID: KB0093149

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
Is it possible to use RPC encoding in SOAP fault?

Symptoms:
N/A
Cause:
Per the WSDL specification.

Issue/Introduction

Does TIBCO BusinessWorks support "rpc" encoded style for SOAP Fault?

Resolution

As per the WSDl specifications, the SOAP fault can only be a DOCUMENT type. Even if the operation style is RPC, the fault may still use DOCUMENT.

This is specified under: http://www.w3.org/TR/wsdl#_soap:body

================
3.6 soap:fault

The soap:fault element specifies the contents of the contents of the SOAP Fault Details element. It is patterned after the soap:body element (see section 3.5).

<definitions .... >
    <binding .... >
        <operation .... >
           <fault>*
               <soap:fault name="nmtoken" use="literal|encoded"
                                 encodingStyle="uri-list"? namespace="uri"?>
           </fault>
        </operation>
    </binding>
</definitions>

The name attribute relates the soap:fault to the wsdl:fault defined for the operation. The fault message MUST have a single part. The use, encodingStyle and namespace attributes, are all used in the same way as with soap:body (see section 3.5). Only style="document" is assumed since faults do not contain parameters.
=================

Additional Information

http://www.w3.org/TR/wsdl#_soap:body