How to configure a BW Soap Request Reply service to accept detail (with or without multiple children) in Soap Fault.

How to configure a BW Soap Request Reply service to accept detail (with or without multiple children) in Soap Fault.

book

Article ID: KB0071672

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks 5.x
Not Applicable -

Description

Resolution:
Description:
============
Currently, the BW Soap Fault default schema “defaultFaultElement” does not have a detail element defined. We have an enhancement (Fix) logged to include the detail element in “defaultFaultElement”. A user can define a custom Fault schema to accept the detail element.


Environment:
===========
ALL

Symptoms:
========
BW Soap Request Reply service is not able to accept the detail element in Soap Fault.

Cause:
=====
No detail element in the BW Soap Fault default schema “defaultFaultElement”. User does not have the custom Fault schema defined.

Resolution:
==========

1). Add a fault message in WSDL file.

2). Map it to the 'FaultDetailType' from fault schema.

3). In operation, add the fault message.

4). Go to the WSDL source and under binding => operation => add the following:
    <fault name="Fault1">
                <soap:fault name="Fault1" use="literal"/>
     </fault>

5. Reparse the WSDL and reload it in the SOAP RR.

If detail is with multiple children, add the following property in the application.tra file:

java.property.bw.plugin.soapfault.detail.allowmultiplechildren=true

See the attached sample project (Filename:WSDLFaultChild.zip) for details.

Issue/Introduction

How to configure a BW Soap Request Reply service to accept detail (with or without multiple children) in Soap Fault.

Attachments

How to configure a BW Soap Request Reply service to accept detail (with or without multiple children) in Soap Fault. get_app