WSDL2Java generates invalid WSDL due to missing soap12 schema file
------------------------------------------------------------------
Key: AXIS2-680
URL: http://issues.apache.org/jira/browse/AXIS2-680
Project: Apache Axis 2.0 (Axis2)
Type: Bug
Components: Tools
Versions: 1.0
Environment: WinXP Pro, JDK 1.4, Tomcat 5.5
Reporter: Ali Sadik Kumlali
Priority: Minor
WSDL2Java generates a WSDL file under resources folder. But, neither Eclipse
WTP's WSDL editor nor XMLSpy validates this.
I've found that the problem occurs because
"http://schemas.xmlsoap.org/wsdl/soap12/" address does not refer to actual xsd
file. When I changed "xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
to "xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap/" it passed the
validation.
According to the instructions found in
"http://schemas.xmlsoap.org/wsdl/soap12/", actual schema files are here:
- Latest version:
http://schemas.xmlsoap.org/wsdl/soap12/wsdl11soap12.xsd
- Dated version (2 March 2006):
http://schemas.xmlsoap.org/wsdl/soap12/wsdl11soap12-20060302.xsd
- Dated version (26 October 2005):
http://schemas.xmlsoap.org/wsdl/soap12/wsdl11soap12-20051026.xsd
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira