Basically my SOA tool does a schema validation on importing a wsdl but I discovered just now when I import the wsdl the the XML schema of the external schema is also imported implicitly without any error. But when I try to explicitly import the external schema by pointing to exactly that file which is located under http://localhost:81/soap.xsd my SOAP tool generates an error.
null
java.net.MalformedURLException
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at emds.epi.decl.modell.schema.FileSchemaResolver.buildURL(FileSchemaResolver.java:41)
My suspicion now points to the soap.xsd schema. But I downloaded it from the w3c (http://schemas.xmlsoap.org/wsdl/soap/2003-02-11.xsd), an official site.
But just discoverd this schema contains another import statement to a further schema (http://schemas.xmlsoap.org/wsdl/).
Basically I just want to refer the "fault" type in my wsdl which is declared in the soap.xsd.
... Not thought that it can be so tricky :-)
An explicit XML valdation tool I don't have. I think I will download and install a test version of xml spy. Hope I will get it working. wait and see what xml spy will have to say.