[
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]