Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
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".