You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Ruwan Linton (JIRA)" <ji...@apache.org> on 2007/10/18 07:12:50 UTC

[jira] Resolved: (SYNAPSE-99) When makefault version is set to soap12 the fault detail gets printed twice

     [ https://issues.apache.org/jira/browse/SYNAPSE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton resolved SYNAPSE-99.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.QA.B.2

This is fixed now on the AXIOM

> 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
>             Fix For: 1.1.QA.B.2
>
>
> 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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org