I need a schema that validates both soap 1.1 and 1.2 how can I do it ?
A:
No you can't. The two versions have different namespaces (http://www.w3.org/2003/05/soap-envelope
and http://schemas.xmlsoap.org/soap/envelope/
), respectively. A schema can only have a single target namespace.
It would be better if you obtained both schemas, and then set up a parser with a schema cache or a catalogue that will pick out the right schema given the namespace.
xcut
2010-06-18 07:36:43
what about substitution group ? will it work ?
Gady
2010-06-19 10:53:24