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

Port getter method not renamed in the generated Service class

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

Details

    • Unknown

    Description

      I have the following WSDL service definition:

      ...
      <wsdl:service name="SOAPService">
          <wsdl:port name="SoapPort" binding="tns:Greeter_SOAPBinding">
              <soap:address location="http://localhost:8080" />
          </wsdl:port>
      </wsdl:service>
      ...
      

      During the class generation (using apache maven cxf plugin) I want to change the port getter method with this custom binding code fragment:

      ...
      <jaxws:bindings node="wsdl:definitions/wsdl:service[@name='SOAPService']/wsdl:port[@name='SoapPort']">
          <jaxws:method name="getMyCustomPort" />
      </jaxws:bindings>
      ...
      

      But in the generated code the method name does not change, the default getSoapPort() remains.

      Attachments

        Activity

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

          People

            dkulp Daniel Kulp
            ralex Sandor Racz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment