Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.8
-
None
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>