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

cxf-java2ws-plugin - Generating Wrapper Bean does not produce class names based on the WebMethod annotation.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.10
    • 2.2.11
    • Tooling
    • None
    • Running on Windows 7, with JDK 1.6, in STS

    • Unknown

    Description

      I have the following method in my SEI:

      @WebMethod(operationName = "updateContactPoint")
      @WebResult(targetNamespace = "http://foo.com/model", name = "contactPoint")
      ContactPoint update(
      @WebParam(targetNamespace = "http://foo.com/model", name = "criteria") ContactPoint cp);

      And when this runs through the code generator, the request wrapper class and the response wrapper class are update and updateResponse instead of updateContactPoint and updateContactPointResponse.

      http://cxf.547215.n5.nabble.com/Problem-with-java2ws-and-genWrapperbean-not-honoring-operationName-td2834289.html#a2834289

      Attachments

        1. sample-model-impl.zip
          23 kB
          Jay Blanton

        Activity

          People

            dkulp Daniel Kulp
            jaybytez Jay Blanton
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: