DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14818>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14818

WSDL generated by Axis does not properly generate references to schemas

           Summary: WSDL generated by Axis does not properly generate
                    references to schemas
           Product: Axis
           Version: 1.0
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
                CC: [EMAIL PROTECTED]


The document http://wavendon.dsdata.co.uk/axis/services/CarRentalQuotes?wsdl 
which is generated by Axis does not follow XSD specifications. Furthermore Axis 
WSDL2Java will quite happily import this generated document although it does 
not meet XSD specifications. So:

1) Axis generates incorrect WSDL
2) Axis WSDL2Java quite happily accepts this incorrect WSDL

The problem with this document is that it contains two schemas where the second 
schema references the first schema without properly importing it. 

The WSDL 1.1 specifications states that it follows XSD specifications

In the XSD specification section 4.2.3 http://www.w3.org/TR/2001/REC-xmlschema-
1-20010502/#composition-schemaImport in the first sentence after the table it 
is stated that a schema from a different namespace should always be imported in 
order to reference to it.

Reply via email to