When makefault version is set to soap12 the fault detail gets printed twice
---------------------------------------------------------------------------

                 Key: SYNAPSE-99
                 URL: https://issues.apache.org/jira/browse/SYNAPSE-99
             Project: Synapse
          Issue Type: Bug
         Environment: Windows XP, JDK1.5, synapse-1.0-RC2-SNAPSHOT
            Reporter: Evanthika Amarasiri


When the version of the makefault mediator is set to soap12 and if the tag 
<detail> is specified, it is printed twice. The configuration is as follows.
**********************************************************************************************************
<definitions xmlns="http://ws.apache.org/ns/synapse";>
    <sequence name="myFaultHandler">
        <makefault version="soap11">
            <code value="tns:Receiver" 
xmlns:tns="http://www.w3.org/2003/05/soap-envelope"/>
            <reason expression="get-property('ERROR_MESSAGE')"/>
                <detail>This is the detail section of the makefault 
mediator</detail>
        </makefault>
        .
        .
        .
</definitions>
**********************************************************************************************************

and the following is the soap fault which is returned

************************************************************************************************************************************************************
<soapenv:Fault xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope";>
        <soapenv:Code>
                <soapenv:Value 
xmlns:tns="http://www.w3.org/2003/05/soap-envelope";>tns:Receiver</soapenv:Value>
        </soapenv:Code>
        <soapenv:Reason>
                <soapenv:Text>
                        <soapenv:Fault 
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
                                <faultcode>soapenv:Client</faultcode>
                                <faultstring>java.net.UnknownHostException: 
bogus</faultstring>
                                <detail />
                        </soapenv:Fault>
                </soapenv:Text>
        </soapenv:Reason>
        <soapenv:Detail>This is the detail section of the makefault 
mediatorThis is the detail section of the makefault mediator</soapenv:Detail>
</soapenv:Fault>
************************************************************************************************************************************************************

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to