- From: FUJISAWA Jun <fujisawa.jun@canon.co.jp>
- Date: Mon, 15 Jun 2009 14:18:14 +0900
- To: xmlp-comments@w3.org
- Cc: Jean-Jacques Moreau <jean-jacques.moreau@crf.canon.fr>
Hello XML Protocol WG, Here is a copy of Example 8 from SOAP 1.2 2nd edition. <http://www.w3.org/TR/soap12-part1/#version> <?xml version="1.0" ?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header> <env:Upgrade> <env:SupportedEnvelope qname="ns1:Envelope" xmlns:ns1="http://www.w3.org/2003/05/soap-envelope"/> </env:Upgrade> </env:Header> <env:Body> <env:Fault> <faultcode>env:VersionMismatch</faultcode> <faultstring>Version Mismatch</faultstring> </env:Fault> </env:Body> </env:Envelope> Does the use of SOAP 1.1 namespace for Update and SupportedEnvelope elements in this example correct? These elements are defined in SOAP 1.2, and should not be part of SOAP 1.1 vocabulary. Therefore, my understanding is that we should use SOAP 1.2 namespace for both Update and SupportedEnvelope elements like the following modified example. <?xml version="1.0" ?> <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header> <env12:Upgrade xmlns:env12="http://www.w3.org/2003/05/soap-envelope"> <env12:SupportedEnvelope qname="ns1:Envelope" xmlns:ns1="http://www.w3.org/2003/05/soap-envelope"/> </env12:Upgrade> </env:Header> <env:Body> <env:Fault> <faultcode>env:VersionMismatch</faultcode> <faultstring>Version Mismatch</faultstring> </env:Fault> </env:Body> </env:Envelope> -- Jun Fujisawa <mailto:fujisawa.jun@canon.co.jp>
Received on Monday, 15 June 2009 05:18:59 UTC