login about faq

I'm working on my first Chilkat/HTTP/SOAP project and I can't get past this error. From what I've found online, it seems to be caused by version 1.1 vs 1.2 and can be fixed by setting the SOAP namespace to "http://schemas.xmlsoap.org/soap/envelope/". But I can't figure out how to create or set a property to force v1.1. I hope this makes sense; I'm not even sure I can ask the question intelligently at this point.

<soap:envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <soap:header> <soap12:upgrade xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"> <soap12:supportedenvelope qname="soap:Envelope" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"/> <soap12:supportedenvelope qname="soap12:Envelope" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope"/> </soap12:upgrade> </soap:header> <soap:body> <soap:fault> <faultcode>soap:VersionMismatch</faultcode> <faultstring>Possible SOAP version mismatch: Envelope namespace was unexpected. Expecting http://schemas.xmlsoap.org/soap/envelope/.</faultstring> <detail/> </soap:fault> </soap:body> </soap:envelope>

asked Jan 18 at 12:13

aholben's gravatar image


Chilkat HTTP is not building the SOAP XML for you -- it is your application code that builds the SOAP XML. The solution is to change whatever application code is building the SOAP XML to use whatever it is you need.


answered Jan 18 at 12:48

chilkat's gravatar image

chilkat ♦♦

Thanks, I wasn't sure what was being done where. I think I'm on the right track now.


answered Jan 18 at 15:00

aholben's gravatar image


Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Jan 18 at 12:13

Seen: 533 times

Last updated: Jan 18 at 15:00

powered by OSQA