Simon Fell > Its just code > 1.1 vs 1.2

Sunday, June 1, 2003

Don points to my 1.1 vs 1.2 questions and asks when stacks will start defaulting to 1.2 and degrading back to 1.1 on envelope version fault. This is something I'm currently thinking about, I'd like to make soap 1.2 the default version going forward, but depending on how its done, would probably break all existing code. not good. My current plan is to have multiple envelope objects, and to leave the existing progid/clsid assigned to a soap 1.1 envelope, and to have a new progid/clsid for a soap 1.2 envelope. (in actuality, they are the same envelope class, but a custom class factory will set the envelope version before returning the newly constructed envelope object back to the client). I'll have to think about the auto back peddle to 1.1 trick, I can see it been handy to get people up and running, but its probably something a production deployed service shouldn't be doing. Anyway given that the WSDL should indicate whether its 1.1 or 1.2 service, I'm not sure its needed.