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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.5
    • 2.0.9, 2.1.3
    • Tooling
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: