axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Rheinheimer (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-3772) improve service-name-pattern and port-name-pattern checking for file referenced by @HandlerChain
Date Tue, 13 May 2008 19:53:55 GMT

     [ 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


Mime
View raw message