Uploaded image for project: 'Axis2-C'
  1. Axis2-C
  2. AXIS2C-327

trailing slash in namespace uri causes service load error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.95
    • woden, wsdl, wsdl2c tool
    • None

    Description

      I was given some WSDL with the following namespace declaration:

      xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"

      and running it through w2c would produce the message "Error in loading Services".
      Removing the trailing slash from the namespace URI allows w2c to proceed. This problem
      affects other parts of Axis2/C as well. It appears to be due to the match against the
      namespace URIs defined in woden/src/wsdl10/woden_wsdl10_constants.h and elsewhere.

      It would be nice if the trailing slash (which seems to be generated by other, non-Axis2/C tools) could be ignored; failing that, a better warning message that helps users to diagnose the problem would be much better than "Error in loading Services".

      Attachments

        Activity

          People

            xydinesh Dinesh Weerapurage
            cdarroch Chris Darroch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: