I need a schema that validates both soap 1.1 and 1.2
how can I do it ?
I need a schema that validates both soap 1.1 and 1.2 how can I
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No you can’t. The two versions have different namespaces (
http://www.w3.org/2003/05/soap-envelopeandhttp://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.