Hi, We have defined several WSDLs that import the same XSD. Within each WSDL, the name of the imported XSD is the same (Common.xsd), but each time with a different namespace (http://www.mycompany.com/NS1 and http://www.mycompany.com/NS2).
When deploying the different WSDLs into 1 AAR, I've remarked that the common XSDs are mixed. When looking in the browser at the generated WDSL (http://www.mycompany.com/axis2/services/MyFirstService?wsdl), I see the XSD-import statements from the NS1 namespace. When using the import statement as browser URL (http://www.mycompany.com/axis2/services/MyFirstService?xsd=Common.xsd), I get the common XSD of the other WSDL (i.e. with the namespace NS2). When generating a client based on the generated WSDL, I'm receiving error message about wrong namespaces. It seems that Axis2 uses the filename of the imported XSDs and does not care about the defined namespace :o(. Can this be corrected in one or another way or is this a bug in Axis2 ? Regards, Stefan Lecho. -- View this message in context: http://www.nabble.com/Imported-common-XSDs-are-mixed-when-deploying-several-WDSLs-in-1-AAR-tp21653606p21653606.html Sent from the Axis - User mailing list archive at Nabble.com.
