cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jimma (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-2819) <protocl-bindings>##SOAP12_Binding <protocl-bindings> in handler chain is not correctly matched
Date Fri, 21 May 2010 07:37:16 GMT

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

jimma updated CXF-2819:
-----------------------

        Summary: <protocl-bindings>##SOAP12_Binding <protocl-bindings> in handler
chain is not correctly matched    (was: Generated transportId for SOAP12Binding service class
is not correct)
    Description: 
When the service class is annotated with SOAP12 binding type :
@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
public interface SOAPEndpoint
{
   @WebMethod
   public String echo(String msg);
}

The  handler defined with SOAP12 Binding protocol pattern can not be attached to this  endpoint,
it wrongly attache the soap11 protocol binding handler :
	<handler-chain>
    <protocol-bindings>##SOAP11_HTTP</protocol-bindings>
		<handler>
			<handler-name> SOAP11ClientHandler </handler-name>
			<handler-class> org.apache.cxf.SOAP11ClientHandler </handler-class>
		</handler>
	</handler-chain>
  
	<handler-chain>
    <protocol-bindings>##SOAP12_HTTP</protocol-bindings>
		<handler>
			<handler-name> SOAP12ClientHandler </handler-name>
			<handler-class> org.apache.cxf.SOAP12ClientHandler </handler-class>
		</handler>
	</handler-chain>

 


  was:
When the service class is annotated with SOAP12 binding type :
@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
public interface SOAPEndpoint
{
   @WebMethod
   public String echo(String msg);
}

The generated soap12 transportId in wsdl file is : " http://schemas.xmlsoap.org/soap/http".
 It is not correct. As per SOAP12 spec , the generated transportId for the SOAP12Binding service
class should be :transport="http://www.w3.org/2003/05/soap/bindings/HTTP/"


    Component/s: JAX-WS Runtime
                     (was: Service Model)

> <protocl-bindings>##SOAP12_Binding <protocl-bindings> in handler chain is
not correctly matched  
> -------------------------------------------------------------------------------------------------
>
>                 Key: CXF-2819
>                 URL: https://issues.apache.org/jira/browse/CXF-2819
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-WS Runtime
>    Affects Versions: 2.2.8
>            Reporter: jimma
>            Assignee: jimma
>             Fix For: 2.2.9
>
>
> When the service class is annotated with SOAP12 binding type :
> @BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
> public interface SOAPEndpoint
> {
>    @WebMethod
>    public String echo(String msg);
> }
> The  handler defined with SOAP12 Binding protocol pattern can not be attached to this
 endpoint, it wrongly attache the soap11 protocol binding handler :
> 	<handler-chain>
>     <protocol-bindings>##SOAP11_HTTP</protocol-bindings>
> 		<handler>
> 			<handler-name> SOAP11ClientHandler </handler-name>
> 			<handler-class> org.apache.cxf.SOAP11ClientHandler </handler-class>
> 		</handler>
> 	</handler-chain>
>   
> 	<handler-chain>
>     <protocol-bindings>##SOAP12_HTTP</protocol-bindings>
> 		<handler>
> 			<handler-name> SOAP12ClientHandler </handler-name>
> 			<handler-class> org.apache.cxf.SOAP12ClientHandler </handler-class>
> 		</handler>
> 	</handler-chain>
>  

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


Mime
View raw message