How can I validate a Web Services Description Language (WSDL) document that references GJXDM or NIEM schemas?
There are several tools available for validation of WSDL that imports a GJXDM or NIEM subset. WSDL stands for Web Services Description Language.
WSDL is a document written in XML. The document describes a Web service. It specifies the location of the service and the operations (or methods) the service exposes. Both xsdvalid and the built-in schema validator in XMLBeans (where the validator is a part of the schema object model) can be used in validating subsets generated by the SSGT (and the entire GJXDM or NIEM distribution itself). Similar tools work for this purpose in the .NET environment as well.
If one wants to validate the schema that defines the types used by elements in the WSDL document, then a schema validation tool like xsdvalid should work fine. However, if one is looking to validate the WSDL document as well, but can't find a tool that will do it, then one workaround would be to generate client stubs using something like Apache Axis' wsdl2java utility and look for errors in that process. The process is not elegant, and one would wind up with the client stub code. Yet Axis wsdl2java has very high fidelity to the WSDL spec, and it would definitely do the job.
It is not a good idea to workaround the problem by pasting all of the GJXDM or NIEM subset schema elements into a single schema, since that would necessarily mean collapsing everything into a single namespace. Altering the namespace in which schema elements appear is a violation of the rules for GJXDM and NIEM subsets.