The fault code shouldn't be a mandatory option when the fault version is POX
----------------------------------------------------------------------------
Key: SYNAPSE-272
URL: https://issues.apache.org/jira/browse/SYNAPSE-272
Project: Synapse
Issue Type: Improvement
Components: Core
Affects Versions: NIGHTLY
Environment: ubuntu, jdk15
Reporter: Charitha Kankanamge
There is no purpose of defining a fault code for a POX fault. However, synapse
does not allow you to leave it blank and complains that the fault code is a
required attribute for the makefault mediator. (You cannot start synapse with
such configuration)
Please allow users to use POX faults without specifying fault code.
Steps to reproduce:
================
1. Define a sequence as given below and start synapse
<sequence name="soap11_fault">
<makefault version="pox">
<reason value="Exception occurred when transforming the
request/response"/>
</makefault>
<header name="To" action="remove"/>
<property name="RESPONSE" value="true"/>
<log level="full" separator=","/>
<send/>
</sequence>
--
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]