You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by "Charitha Kankanamge (JIRA)" <ji...@apache.org> on 2008/04/21 11:59:21 UTC

[jira] Created: (SYNAPSE-272) The fault code shouldn't be a mandatory option when the fault version is POX

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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Closed: (SYNAPSE-272) The fault code shouldn't be a mandatory option when the fault version is POX

Posted by "Charitha Kankanamge (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charitha Kankanamge closed SYNAPSE-272.
---------------------------------------


Closed the bug

> 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
>            Assignee: Ruwan Linton
>             Fix For: 1.2
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Assigned: (SYNAPSE-272) The fault code shouldn't be a mandatory option when the fault version is POX

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton reassigned SYNAPSE-272:
------------------------------------

    Assignee: Ruwan Linton

> 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
>            Assignee: Ruwan Linton
>             Fix For: 1.2
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Updated: (SYNAPSE-272) The fault code shouldn't be a mandatory option when the fault version is POX

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton updated SYNAPSE-272:
---------------------------------

    Fix Version/s: 1.2

changing the fix version to 1.2

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


[jira] Resolved: (SYNAPSE-272) The fault code shouldn't be a mandatory option when the fault version is POX

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SYNAPSE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ruwan Linton resolved SYNAPSE-272.
----------------------------------

    Resolution: Fixed

Fixed on the SVN trunk

> 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
>            Assignee: Ruwan Linton
>             Fix For: 1.2
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-272) The fault code shouldn't be a mandatory option when the fault version is POX

Posted by "Evanthika Amarasiri (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12596271#action_12596271 ] 

Evanthika Amarasiri commented on SYNAPSE-272:
---------------------------------------------

Allows to create a soap fault with specifying the fault code. Allows you to start Synapse without any issues. Tested on 1.2_SNAPSHOT. The issue can be closed.

> 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
>            Assignee: Ruwan Linton
>             Fix For: 1.2
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[jira] Commented: (SYNAPSE-272) The fault code shouldn't be a mandatory option when the fault version is POX

Posted by "Ruwan Linton (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/SYNAPSE-272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12591534#action_12591534 ] 

Ruwan Linton commented on SYNAPSE-272:
--------------------------------------

Yes, I think we need to release the conditions when the makeFault is making a POX fault, since POX was added later we missed this part 

> 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
>            Assignee: Ruwan Linton
>             Fix For: 1.2
>
>
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org