You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Miyuru Wanninayaka (JIRA)" <ji...@apache.org> on 2011/07/07 13:58:16 UTC
[jira] [Created] (SYNAPSE-787) Fault mediator creates an invalid
SOAP 1.2 SOAP fault
Fault mediator creates an invalid SOAP 1.2 SOAP fault
-----------------------------------------------------
Key: SYNAPSE-787
URL: https://issues.apache.org/jira/browse/SYNAPSE-787
Project: Synapse
Issue Type: Bug
Reporter: Miyuru Wanninayaka
Following configuration segment
<property name="ERROR_CODE" value="Receiver"/>
<property name="ERROR_MESSAGE" value="systemError"/>
<makefault version="soap12">
<code expression="get-property('ERROR_CODE')"/>
<reason expression="get-property('ERROR_MESSAGE')"/>
<detail expression="get-property('ERROR_DETAIL')"/>
</makefault>
creates a following SOAP fault
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<soapenv:Fault>
<soapenv:Code>
<soapenv:Value>axis2ns7:Receiver</soapenv:Value>
</soapenv:Code>
<soapenv:Reason>
<soapenv:Text>customerNotExist</soapenv:Text>
</soapenv:Reason>
<soapenv:Detail>System out of resources</soapenv:Detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
which has 2 errors.
axis2ns7 is not defined
soapenv:Text element does not has mandatory lang attribute [1]
[1] http://www.w3.org/TR/soap12-part1/#reasontextelement
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] [Updated] (SYNAPSE-787) Fault mediator creates an invalid
SOAP 1.2 SOAP fault
Posted by "Miyuru Wanninayaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miyuru Wanninayaka updated SYNAPSE-787:
---------------------------------------
Attachment: SYNAPSE-787.diff
patch for synapse-trunk/modules/core
> Fault mediator creates an invalid SOAP 1.2 SOAP fault
> -----------------------------------------------------
>
> Key: SYNAPSE-787
> URL: https://issues.apache.org/jira/browse/SYNAPSE-787
> Project: Synapse
> Issue Type: Bug
> Reporter: Miyuru Wanninayaka
> Attachments: SYNAPSE-787.diff
>
>
> Following configuration segment
> <property name="ERROR_CODE" value="Receiver"/>
> <property name="ERROR_MESSAGE" value="systemError"/>
> <makefault version="soap12">
> <code expression="get-property('ERROR_CODE')"/>
> <reason expression="get-property('ERROR_MESSAGE')"/>
> <detail expression="get-property('ERROR_DETAIL')"/>
> </makefault>
>
> creates a following SOAP fault
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <soapenv:Body>
> <soapenv:Fault>
> <soapenv:Code>
> <soapenv:Value>axis2ns7:Receiver</soapenv:Value>
> </soapenv:Code>
> <soapenv:Reason>
> <soapenv:Text>customerNotExist</soapenv:Text>
> </soapenv:Reason>
> <soapenv:Detail>System out of resources</soapenv:Detail>
> </soapenv:Fault>
> </soapenv:Body>
> </soapenv:Envelope>
>
> which has 2 errors.
> axis2ns7 is not defined
> soapenv:Text element does not has mandatory lang attribute [1]
> [1] http://www.w3.org/TR/soap12-part1/#reasontextelement
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] [Resolved] (SYNAPSE-787) Fault mediator creates an invalid
SOAP 1.2 SOAP fault
Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Heshan Suriyaarachchi resolved SYNAPSE-787.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 2.1
Committed to the trunk(revision 1145123).
Thanks Miyuru for the contribution.
> Fault mediator creates an invalid SOAP 1.2 SOAP fault
> -----------------------------------------------------
>
> Key: SYNAPSE-787
> URL: https://issues.apache.org/jira/browse/SYNAPSE-787
> Project: Synapse
> Issue Type: Bug
> Reporter: Miyuru Wanninayaka
> Assignee: Heshan Suriyaarachchi
> Fix For: 2.1
>
> Attachments: SYNAPSE-787.diff
>
>
> Following configuration segment
> <property name="ERROR_CODE" value="Receiver"/>
> <property name="ERROR_MESSAGE" value="systemError"/>
> <makefault version="soap12">
> <code expression="get-property('ERROR_CODE')"/>
> <reason expression="get-property('ERROR_MESSAGE')"/>
> <detail expression="get-property('ERROR_DETAIL')"/>
> </makefault>
>
> creates a following SOAP fault
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <soapenv:Body>
> <soapenv:Fault>
> <soapenv:Code>
> <soapenv:Value>axis2ns7:Receiver</soapenv:Value>
> </soapenv:Code>
> <soapenv:Reason>
> <soapenv:Text>customerNotExist</soapenv:Text>
> </soapenv:Reason>
> <soapenv:Detail>System out of resources</soapenv:Detail>
> </soapenv:Fault>
> </soapenv:Body>
> </soapenv:Envelope>
>
> which has 2 errors.
> axis2ns7 is not defined
> soapenv:Text element does not has mandatory lang attribute [1]
> [1] http://www.w3.org/TR/soap12-part1/#reasontextelement
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] [Assigned] (SYNAPSE-787) Fault mediator creates an invalid
SOAP 1.2 SOAP fault
Posted by "Heshan Suriyaarachchi (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Heshan Suriyaarachchi reassigned SYNAPSE-787:
---------------------------------------------
Assignee: Heshan Suriyaarachchi
> Fault mediator creates an invalid SOAP 1.2 SOAP fault
> -----------------------------------------------------
>
> Key: SYNAPSE-787
> URL: https://issues.apache.org/jira/browse/SYNAPSE-787
> Project: Synapse
> Issue Type: Bug
> Reporter: Miyuru Wanninayaka
> Assignee: Heshan Suriyaarachchi
> Attachments: SYNAPSE-787.diff
>
>
> Following configuration segment
> <property name="ERROR_CODE" value="Receiver"/>
> <property name="ERROR_MESSAGE" value="systemError"/>
> <makefault version="soap12">
> <code expression="get-property('ERROR_CODE')"/>
> <reason expression="get-property('ERROR_MESSAGE')"/>
> <detail expression="get-property('ERROR_DETAIL')"/>
> </makefault>
>
> creates a following SOAP fault
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <soapenv:Body>
> <soapenv:Fault>
> <soapenv:Code>
> <soapenv:Value>axis2ns7:Receiver</soapenv:Value>
> </soapenv:Code>
> <soapenv:Reason>
> <soapenv:Text>customerNotExist</soapenv:Text>
> </soapenv:Reason>
> <soapenv:Detail>System out of resources</soapenv:Detail>
> </soapenv:Fault>
> </soapenv:Body>
> </soapenv:Envelope>
>
> which has 2 errors.
> axis2ns7 is not defined
> soapenv:Text element does not has mandatory lang attribute [1]
> [1] http://www.w3.org/TR/soap12-part1/#reasontextelement
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org
[jira] [Commented] (SYNAPSE-787) Fault mediator creates an invalid
SOAP 1.2 SOAP fault
Posted by "Miyuru Wanninayaka (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SYNAPSE-787?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061237#comment-13061237 ]
Miyuru Wanninayaka commented on SYNAPSE-787:
--------------------------------------------
SOAP fault generated after applying patch
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
<soapenv:Body>
<soapenv:Fault>
<soapenv:Code>
<soapenv:Value>soapenv:Receiver</soapenv:Value>
</soapenv:Code>
<soapenv:Reason>
<soapenv:Text xml:lang="en">systemError</soapenv:Text>
</soapenv:Reason>
<soapenv:Detail>System out of resources</soapenv:Detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
> Fault mediator creates an invalid SOAP 1.2 SOAP fault
> -----------------------------------------------------
>
> Key: SYNAPSE-787
> URL: https://issues.apache.org/jira/browse/SYNAPSE-787
> Project: Synapse
> Issue Type: Bug
> Reporter: Miyuru Wanninayaka
> Attachments: SYNAPSE-787.diff
>
>
> Following configuration segment
> <property name="ERROR_CODE" value="Receiver"/>
> <property name="ERROR_MESSAGE" value="systemError"/>
> <makefault version="soap12">
> <code expression="get-property('ERROR_CODE')"/>
> <reason expression="get-property('ERROR_MESSAGE')"/>
> <detail expression="get-property('ERROR_DETAIL')"/>
> </makefault>
>
> creates a following SOAP fault
> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope">
> <soapenv:Body>
> <soapenv:Fault>
> <soapenv:Code>
> <soapenv:Value>axis2ns7:Receiver</soapenv:Value>
> </soapenv:Code>
> <soapenv:Reason>
> <soapenv:Text>customerNotExist</soapenv:Text>
> </soapenv:Reason>
> <soapenv:Detail>System out of resources</soapenv:Detail>
> </soapenv:Fault>
> </soapenv:Body>
> </soapenv:Envelope>
>
> which has 2 errors.
> axis2ns7 is not defined
> soapenv:Text element does not has mandatory lang attribute [1]
> [1] http://www.w3.org/TR/soap12-part1/#reasontextelement
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org