You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Alessio Soldano (JIRA)" <ji...@apache.org> on 2009/04/22 15:27:48 UTC

[jira] Created: (CXF-2185) Handler protocol match fails when multiple protocols are specified

Handler protocol match fails when multiple protocols are specified
------------------------------------------------------------------

                 Key: CXF-2185
                 URL: https://issues.apache.org/jira/browse/CXF-2185
             Project: CXF
          Issue Type: Sub-task
          Components: JAX-WS Runtime
    Affects Versions: 2.2
            Reporter: Alessio Soldano
            Assignee: Alessio Soldano


The boolean protocolMatches(Element el, String id) method in AnnotationHandlerChainBuilder does not support multiple protocols specified in the <protocol-bindings> element of a handler chain descriptor.
For instance one could have:
<handler-chain>
    <protocol-bindings>##SOAP11_HTTP ##SOAP12_HTTP</protocol-bindings>
		<handler>
			<handler-name> SOAPServerHandler </handler-name>
			<handler-class> org.jboss.test.ws.jaxws.handlerscope.SOAPServerHandler </handler-class>
		</handler>
</handler-chain>
which is valid considering protocol-bindings is basically an xsd:list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CXF-2185) Handler protocol match fails when multiple protocols are specified

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

Daniel Kulp reassigned CXF-2185:
--------------------------------

    Assignee: Daniel Kulp  (was: Alessio Soldano)

> Handler protocol match fails when multiple protocols are specified
> ------------------------------------------------------------------
>
>                 Key: CXF-2185
>                 URL: https://issues.apache.org/jira/browse/CXF-2185
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-WS Runtime
>    Affects Versions: 2.2
>            Reporter: Alessio Soldano
>            Assignee: Daniel Kulp
>         Attachments: CXF-2185.txt
>
>
> The boolean protocolMatches(Element el, String id) method in AnnotationHandlerChainBuilder does not support multiple protocols specified in the <protocol-bindings> element of a handler chain descriptor.
> For instance one could have:
> <handler-chain>
>     <protocol-bindings>##SOAP11_HTTP ##SOAP12_HTTP</protocol-bindings>
> 		<handler>
> 			<handler-name> SOAPServerHandler </handler-name>
> 			<handler-class> org.jboss.test.ws.jaxws.handlerscope.SOAPServerHandler </handler-class>
> 		</handler>
> </handler-chain>
> which is valid considering protocol-bindings is basically an xsd:list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CXF-2185) Handler protocol match fails when multiple protocols are specified

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

Daniel Kulp resolved CXF-2185.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.2
                   2.1.6


Patch applied.

> Handler protocol match fails when multiple protocols are specified
> ------------------------------------------------------------------
>
>                 Key: CXF-2185
>                 URL: https://issues.apache.org/jira/browse/CXF-2185
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-WS Runtime
>    Affects Versions: 2.2
>            Reporter: Alessio Soldano
>            Assignee: Daniel Kulp
>             Fix For: 2.1.6, 2.2.2
>
>         Attachments: CXF-2185.txt
>
>
> The boolean protocolMatches(Element el, String id) method in AnnotationHandlerChainBuilder does not support multiple protocols specified in the <protocol-bindings> element of a handler chain descriptor.
> For instance one could have:
> <handler-chain>
>     <protocol-bindings>##SOAP11_HTTP ##SOAP12_HTTP</protocol-bindings>
> 		<handler>
> 			<handler-name> SOAPServerHandler </handler-name>
> 			<handler-class> org.jboss.test.ws.jaxws.handlerscope.SOAPServerHandler </handler-class>
> 		</handler>
> </handler-chain>
> which is valid considering protocol-bindings is basically an xsd:list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CXF-2185) Handler protocol match fails when multiple protocols are specified

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

Alessio Soldano updated CXF-2185:
---------------------------------

    Attachment: CXF-2185.txt

Here is a patch file for fixing this issue; please consider its inclusion. Thanks.

> Handler protocol match fails when multiple protocols are specified
> ------------------------------------------------------------------
>
>                 Key: CXF-2185
>                 URL: https://issues.apache.org/jira/browse/CXF-2185
>             Project: CXF
>          Issue Type: Sub-task
>          Components: JAX-WS Runtime
>    Affects Versions: 2.2
>            Reporter: Alessio Soldano
>            Assignee: Alessio Soldano
>         Attachments: CXF-2185.txt
>
>
> The boolean protocolMatches(Element el, String id) method in AnnotationHandlerChainBuilder does not support multiple protocols specified in the <protocol-bindings> element of a handler chain descriptor.
> For instance one could have:
> <handler-chain>
>     <protocol-bindings>##SOAP11_HTTP ##SOAP12_HTTP</protocol-bindings>
> 		<handler>
> 			<handler-name> SOAPServerHandler </handler-name>
> 			<handler-class> org.jboss.test.ws.jaxws.handlerscope.SOAPServerHandler </handler-class>
> 		</handler>
> </handler-chain>
> which is valid considering protocol-bindings is basically an xsd:list.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.