LAMW: jHttpClient - how to make soap call? (http POST) - little workaround lazarus / 43-Android ---------------------------------------------------------------------- Bazic · 2017-09-22 12:08 First of all: to all LAMW group members: Your work is GREAT !!!! I try to use android as a client of my soap server app as I used to on wince target. It seems on android target this is very, very different. I coud not achieve jHttpClient making calls to soap server. (Maybe I was completely wrong in a way doing that - if so - please lighten me up) I tried to do raw POST, but xml part was always mangled. Server replied with an error. I looked under the hood and I figured out workaround. Below is little example code: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i   jHttpClient1.ClearNameValueData;  jHttpClient1.AddClientHeader('Content-Type','text/xml; charset=utf-8');  jHttpClient1.AddClientHeader('SOAPAction', '"urn:OSWIntf-IOSW#Wersja"');   content:=''#13#10  +''  +'';   jHttpClient1.AddNameValueData('BODY',content);   jHttpClient1.PostNameValueDataAsync('http://192.168.1.3/soap/IOSW');  "Wersja" is function name I try to call at the server side. Of course in my POST instead of expected raw xml data was: BODY= Online Package Manager - LAMW --> Update?