I am trying to use XML catalogs with WSDL to resolve a schema. The xml
editor is resolving the schema and giving me code completion but the WSDL
validator is not resolving the schema and showing errors.
First off, the fact that you're getting different behaviour from the XML
editor and WSDL validator makes me think there's at least a problem with
the consistency of these tools.
There is one issue that sticks out to me in your example. As I recall, a
schemaLocation is treated by the tools as a reference to a system
location. In your catalog entry you've specified the location as a
publicId, which corresponds with a namespace. Try changing the catalog
entry to use a systemId instead and see if the WSDL validator can locate
the schema in this case.