You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Mike Rheinheimer (JIRA)" <ji...@apache.org> on 2008/04/29 16:37:56 UTC
[jira] Created: (AXIS2-3772) improve service-name-pattern and
port-name-pattern checking for file referenced by @HandlerChain
improve service-name-pattern and port-name-pattern checking for file referenced by @HandlerChain
------------------------------------------------------------------------------------------------
Key: AXIS2-3772
URL: https://issues.apache.org/jira/browse/AXIS2-3772
Project: Axis 2.0 (Axis2)
Issue Type: Improvement
Components: jaxws
Reporter: Mike Rheinheimer
@HandlerChain annotation refers to a file defined by the schema:
http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd
In this schema, there is a regular expression defined for pattern matching the service-name-pattern and port-name-pattern. The reg ex is:
\*|([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*\*?
We should be using this pattern to validate the pattern defined in service-name-pattern and port-name-pattern in:
org.apache.axis2.jaxws.spi.handler.BaseHandlerResolver.doesPatternMatch
Then use a StringTokenizer split on ':' then '*' to perform the matching algorithm.
--
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Resolved: (AXIS2-3772) improve service-name-pattern and
port-name-pattern checking for file referenced by @HandlerChain
Posted by "Mike Rheinheimer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Rheinheimer resolved AXIS2-3772.
-------------------------------------
Resolution: Fixed
Resolved in 655988. I used the equivalent Java regular expression and the reg ex library to perform the match instead of our own matching algorithm; reduced 150 lines of code down to about 20.
> improve service-name-pattern and port-name-pattern checking for file referenced by @HandlerChain
> ------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3772
> URL: https://issues.apache.org/jira/browse/AXIS2-3772
> Project: Axis 2.0 (Axis2)
> Issue Type: Improvement
> Components: jaxws
> Reporter: Mike Rheinheimer
> Assignee: Mike Rheinheimer
>
> @HandlerChain annotation refers to a file defined by the schema:
> http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd
> In this schema, there is a regular expression defined for pattern matching the service-name-pattern and port-name-pattern. The reg ex is:
> \*|([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*\*?
> We should be using this pattern to validate the pattern defined in service-name-pattern and port-name-pattern in:
> org.apache.axis2.jaxws.spi.handler.BaseHandlerResolver.doesPatternMatch
> Then use a StringTokenizer split on ':' then '*' to perform the matching algorithm.
--
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org
[jira] Assigned: (AXIS2-3772) improve service-name-pattern and
port-name-pattern checking for file referenced by @HandlerChain
Posted by "Mike Rheinheimer (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/AXIS2-3772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Rheinheimer reassigned AXIS2-3772:
---------------------------------------
Assignee: Mike Rheinheimer
> improve service-name-pattern and port-name-pattern checking for file referenced by @HandlerChain
> ------------------------------------------------------------------------------------------------
>
> Key: AXIS2-3772
> URL: https://issues.apache.org/jira/browse/AXIS2-3772
> Project: Axis 2.0 (Axis2)
> Issue Type: Improvement
> Components: jaxws
> Reporter: Mike Rheinheimer
> Assignee: Mike Rheinheimer
>
> @HandlerChain annotation refers to a file defined by the schema:
> http://java.sun.com/xml/ns/javaee/javaee_web_services_1_2.xsd
> In this schema, there is a regular expression defined for pattern matching the service-name-pattern and port-name-pattern. The reg ex is:
> \*|([\i-[:]][\c-[:]]*:)?[\i-[:]][\c-[:]]*\*?
> We should be using this pattern to validate the pattern defined in service-name-pattern and port-name-pattern in:
> org.apache.axis2.jaxws.spi.handler.BaseHandlerResolver.doesPatternMatch
> Then use a StringTokenizer split on ':' then '*' to perform the matching algorithm.
--
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-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org