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

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 2.0.9, 2.1.3
    • Component/s: Tooling
    • Labels:
      None

      Description

      Originally reported in https://issues.apache.org/jira/browse/CXF-1586.

      I'm using version 2.1.2 of the cxf-codegen-plugin to generate corresponding java files of a wsdl on the local filesystem. This results in the *Impl file being annotated with @WebService.wsdlLocation pointing at the wsdl on the local filesystem. This will of course result in a failure to start up the web service when the application is deployed to any other environment.

      Ideally I'd like an option to wsdl2java to force usage of the @WebService.wsdlLocation default ("") or complete omission of the annotation attribute.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ericjohnson Eric Johnson
                Reporter:
                brian@brizz.dk Brian Plauborg
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: