Possible SOAP version mismatch: Envelope namespace
We have implemented a Web Service (Using Visual Studio .asmx file) and when we try to POST the client given XML (With Firefox Poster) we get the error:
soap:VersionMismatchSystem.Web.Services.Protocols.SoapException: Possible SOAP version mismatch: Envelope namespace client.Namespace was unexpected. Expecting http://schemas.xmlsoap.org/soap/envelope/.
Is there a way in Visual Studio webservices to change the validation xsd or to ignore the validation at all? Is there a way to change the Webservice line below through Visual Studio?
soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
Keep in mind that the client cannot change the xml request….
链接地址: http://www.djcxy.com/p/35314.html