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

wsdltojava accepts targetnamespace with ':' in the name but generate code that does not compile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.0.4
    • Tooling
    • None

    Description

      When using following target namespace with ':' in it ("targetNamespace of http://blahblah:8080/nasoap/services/urn:nasoap-server2), the generated code by "wsdltojava" will contain a java package name with ':' on it, which will fail at compilation.

      "The reason I am saying it is a bug is that schemavalidator does not complain about it, even if it is an invalid URL format.
      Even wsdltojava does not complain, but generates uncompilable code.
      So I think the fix should be put in schemavalidator to flag this as an error. "

      Attachments

        Issue Links

          Activity

            People

              maomaode maomaode
              maomaode maomaode
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: