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 "Jarek Gawor (JIRA)" <ji...@apache.org> on 2008/04/06 05:53:24 UTC

[jira] Updated: (AXIS2-3709) Improve handler-chains.xml parsing

     [ https://issues.apache.org/jira/browse/AXIS2-3709?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarek Gawor updated AXIS2-3709:
-------------------------------

    Attachment: AXIS2-3709.patch

Proposed patch for this issue. Contains a new parser for the handler-chains.xml files that uses DOM API.


> Improve handler-chains.xml parsing
> ----------------------------------
>
>                 Key: AXIS2-3709
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3709
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>            Reporter: Jarek Gawor
>            Assignee: Jarek Gawor
>         Attachments: AXIS2-3709.patch
>
>
> Right now the handler-chains.xml file is parsed using JAXB. The problem with JAXB parsing is that it returns null for an invalid qname. For example, when the namespace of the qname cannot be resolved. So for example, when the handler-chains.xml contains an invalid qname for service-name or port-name and JAXB returns null then the HandlerResolver will treat it as if the service-name/port-name was not specified at all. And therefore HandlerResolver will return a handler that it should not.

-- 
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