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

option in wsdl2java generation to NOT create a @Webservice.wsdlLocation

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.6
    • Fix Version/s: 2.1.1, 2.0.7
    • Component/s: Tooling
    • Labels:
      None

      Description

      Using <jaxws:endpoint/> CXF tries to load the wsd set in @WebService.wsdlLocation.

      As my service implementation is generated from wsdl2java maven plugin, the location is hardcoded to my local path (D:/workspace/...) and fails when running the application on unix.

      I have to set the wsdlLocation in <jaxws:endpoint> or generate with the "-wsdlLocation WEB-INF/wsdl/x" extraargs.

      I expected CXF to run without requirement to the original WSDL, and only use the @Webservice annotations in generated code. The only way to get this behaviour is to remove the annotation attribute in generated code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dkulp Daniel Kulp
                Reporter:
                ndeloof nicolas de loof
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: