You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (JIRA)" <ji...@apache.org> on 2010/05/21 08:47:16 UTC

[jira] Created: (CXF-2819) Generated transportId for SOAP12Binding service class is not correct

Generated transportId for SOAP12Binding service class is not correct
--------------------------------------------------------------------

                 Key: CXF-2819
                 URL: https://issues.apache.org/jira/browse/CXF-2819
             Project: CXF
          Issue Type: Bug
          Components: Service Model
    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 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/"


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


[jira] Updated: (CXF-2819) ##SOAP12_Binding in handler chain is not correctly matched

Posted by "jimma (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Updated: (CXF-2819) ##SOAP12_Binding in handler chain is not correctly matched

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

Alessio Soldano updated CXF-2819:
---------------------------------

    Summary: <protocol-bindings>##SOAP12_Binding</protocol-bindings> in handler chain is not correctly matched    (was: <protocl-bindings>##SOAP12_Binding <protocl-bindings> in handler chain is not correctly matched  )

> <protocol-bindings>##SOAP12_Binding</protocol-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.


[jira] Resolved: (CXF-2819) ##SOAP12_Binding in handler chain is not correctly matched

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

jimma resolved CXF-2819.
------------------------

    Resolution: Fixed

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