You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "Senaka Fernando (JIRA)" <ji...@apache.org> on 2008/02/01 18:55:14 UTC

[jira] Created: (AXIS2C-954) Ability to map several aliases to a single operation using '*'

Ability to map several aliases to a single operation using '*'
--------------------------------------------------------------

                 Key: AXIS2C-954
                 URL: https://issues.apache.org/jira/browse/AXIS2C-954
             Project: Axis2-C
          Issue Type: Improvement
          Components: core/engine
            Reporter: Senaka Fernando
            Assignee: Senaka Fernando
             Fix For: Current (Nightly)


Ability to map several aliases to a single operation using '*' needs to be added. The SOAP action based dispatcher must be able to find the desired operation based on the alias.

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


[jira] Closed: (AXIS2C-954) Ability to map several aliases to a single operation using '*'

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

Senaka Fernando closed AXIS2C-954.
----------------------------------


Closed Issue

> Ability to map several aliases to a single operation using '*'
> --------------------------------------------------------------
>
>                 Key: AXIS2C-954
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-954
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: core/engine
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>             Fix For: Current (Nightly)
>
>
> Ability to map several aliases to a single operation using '*' needs to be added. The SOAP action based dispatcher must be able to find the desired operation based on the alias.

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


[jira] Resolved: (AXIS2C-954) Ability to map several aliases to a single operation using '*'

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

Senaka Fernando resolved AXIS2C-954.
------------------------------------

    Resolution: Fixed

I Fixed this issue on the head.

I have supported all three requests made by Dave. However, I simply ignore any mapping that has two '*'. Because, it doesn't make sense to have two optional parts. If there be such a requirement, you are supposed to,

1. Replace "const1*const2*const3" with "const1*const3". (Please note that each 'const' part represent zero or more characters)
2. Use the msg_ctx to get the soap_action/wsa_action in your logic, and do required processing.

In addition to Dave's requests,

1. You can include a "<actionMapping>*</actionMapping>" so that anything would be matched to that operation.
2. Order of execution allows you to first lookup for mappings that do not contain '*' and then check for mappings that contain a '*' for matches.
3. A '*' may match to zero or more characters.
4. You may also include '*' in wsamapping parameters.

Limitations:
    * We store operation/action mappings on a hash, and therefore when matching a FCFS approach has been used, since order doesn't make sense.

Regards,
Senaka

> Ability to map several aliases to a single operation using '*'
> --------------------------------------------------------------
>
>                 Key: AXIS2C-954
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-954
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: core/engine
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>             Fix For: Current (Nightly)
>
>
> Ability to map several aliases to a single operation using '*' needs to be added. The SOAP action based dispatcher must be able to find the desired operation based on the alias.

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


[jira] Commented: (AXIS2C-954) Ability to map several aliases to a single operation using '*'

Posted by "Dave Meier (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2C-954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12564905#action_12564905 ] 

Dave Meier commented on AXIS2C-954:
-----------------------------------

Please support having the "*" in beginning, middle or end (e.g. "*Update", "Update*" or "Update*Item").  Thanks!

> Ability to map several aliases to a single operation using '*'
> --------------------------------------------------------------
>
>                 Key: AXIS2C-954
>                 URL: https://issues.apache.org/jira/browse/AXIS2C-954
>             Project: Axis2-C
>          Issue Type: Improvement
>          Components: core/engine
>            Reporter: Senaka Fernando
>            Assignee: Senaka Fernando
>             Fix For: Current (Nightly)
>
>
> Ability to map several aliases to a single operation using '*' needs to be added. The SOAP action based dispatcher must be able to find the desired operation based on the alias.

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