CXF
  1. CXF
  2. CXF-2678

Codegen generates unnecessary holder

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.6
    • Fix Version/s: Invalid
    • Component/s: Tooling
    • Labels:
    • Environment:

      Windows 7

      Description

      Since 2.2.6 the codegen plugin generates unnecessary holder. The attached file CxfUnnecessaryHolderService.wsdl can be used to reproduce it:

      2.2.5
          public de.test.dekies.webservices.customer.CustomerLoyalityActionData saveCxfUnnecessaryHolderData(
              @WebParam(name = "CxfUnnecessaryHolderActionData", targetNamespace = "")
              de.test.dekies.webservices.customer.CustomerLoyalityActionData cxfUnnecessaryHolderActionData,
      
      2.2.6
          public void saveCxfUnnecessaryHolderData(
              @WebParam(mode = WebParam.Mode.INOUT, name = "CxfUnnecessaryHolderActionData", targetNamespace = "")
              javax.xml.ws.Holder<CustomerLoyalityActionData> cxfUnnecessaryHolderActionData,
      

        Activity

        Hide
        Daniel Kulp added a comment -

        This is a JAX-WS spec compliance thing. The 2.2.5 version was not spec compliant and created portability issues. If you run the wsdl in the JAX-WS RI's wsimport tool, it generates the same as 2.2.6.

        Show
        Daniel Kulp added a comment - This is a JAX-WS spec compliance thing. The 2.2.5 version was not spec compliant and created portability issues. If you run the wsdl in the JAX-WS RI's wsimport tool, it generates the same as 2.2.6.

          People

          • Assignee:
            Daniel Kulp
            Reporter:
            Dennis Kieselhorst
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development