Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-2819

<protocol-bindings>##SOAP12_Binding</protocol-bindings> in handler chain is not correctly matched

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.8
    • 2.2.9
    • JAX-WS Runtime
    • 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>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ema Jim Ma
            ema Jim Ma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment