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

publish wsdl first service which contain multiple binding with same porttype always publish first binding.

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

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.4.5
    • None
    • Simple Frontend
    • None
    • Unknown

    Description

      using samples for example,

      1) update samples\wsdl_first_dynamic_client\src\main\java\org\apache\cxf\demo\complex\ComplexImpl.java, change the portname to "Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_PrtSoap12"

      2) update samples\wsdl_first_dynamic_client\src\main\java\demo\hw\server\Server.java change the publish code to:

              Endpoint ep =Endpoint.create("http://www.w3.org/2003/05/soap/bindings/HTTP/", complexImpl);
              ep.publish(address);

      3) mvn install 

      4) mvn -Pserver

      5) go to http://localhost:9000/Complex?wsdl, then you will find the tns:Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_PrtSoap will be implemented, instead of tns:Company_ESB_Application_Biztalk_AgentDetails_4405_AgentDetails_PrtSoap12.

      this issue can be reproduced since 3.1.12.

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            qwan Qunsheng Wan

            Dates

              Created:
              Updated:

              Slack

                Issue deployment