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

wsdl2java: failed to create "action" attribute under annotation @WebMethod

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.5
    • Fix Version/s: 2.0.9, 2.1.3
    • Component/s: Tooling
    • Labels:
      None
    • Environment:

      Apache CXF-2.0.5-Incubator

      Description

      A client is invoking a soap 1.2 .NET webservice. The issue we're having is that the remote service requires soap action headers and cxf's wsdl2java is not generating action parameters for each WebMethod annotation automatically.

      For example, wsdl2java will generate this annotation:

      @WebMethod(operationName = "GetCustomerData")

      but we need it to generate this one:

      @WebMethod(operationName = "GetCustomerData",action = "http://tempuri.org/IAceRewardsService/GetCustomerData")

        Attachments

        1. sampleservice.zip
          3 kB
          Ryan Chee

          Activity

            People

            • Assignee:
              dkulp Daniel Kulp
              Reporter:
              ryan.kschee Ryan Chee
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: