You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Evanthika Amarasiri (JIRA)" <ji...@apache.org> on 2007/05/07 05:08:15 UTC
[jira] Created: (SYNAPSE-99) When makefault version is set to
soap12 the fault detail gets printed twice
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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org
[jira] Commented: (SYNAPSE-99) When makefault version is set to
soap12 the fault detail gets printed twice
Posted by "Evanthika Amarasiri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12538999 ]
Evanthika Amarasiri commented on SYNAPSE-99:
--------------------------------------------
The detail is not printed twice now. The issue will be closed. Fixed in 1.1-QA-B3
> 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-B2
>
>
> 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
[jira] Resolved: (SYNAPSE-99) When makefault version is set to
soap12 the fault detail gets printed twice
Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
[ 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
[jira] Closed: (SYNAPSE-99) When makefault version is set to soap12
the fault detail gets printed twice
Posted by "Evanthika Amarasiri (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Evanthika Amarasiri closed SYNAPSE-99.
--------------------------------------
> 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-B2
>
>
> 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
[jira] Commented: (SYNAPSE-99) When makefault version is set to
soap12 the fault detail gets printed twice
Posted by "Chathura Ekanayake (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12495553 ]
Chathura Ekanayake commented on SYNAPSE-99:
-------------------------------------------
This is not a bug in Synapse. This is caused by the Axiom bug https://issues.apache.org/jira/browse/WSCOMMONS-202, which serializes the fault detail twice.
However this is fixed in the current Axiom release and will be availabe to Synapse, when Synapse starts using next Axis2 version.
> 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: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org