Y yashwant Member Licensed User Longtime User Dec 30, 2014 #1 Hi I am using HTTPUTILS2 for web services and I am getting Job.Success=fail and showing Invalid Query String My code is as follows <code> Dim Stest As String Stest="<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Body><ns1:get_details xmlns:ns1='http://www.xxxxxxxxxxx.org/getDetai.../ns1:get_details></soap:Body></soap:Envelope>" job2.Initialize("Job2", Me) job2.PostString("http://xxx.xx.xx.xx:xxx/soa-infra/s...on/xxxxxccbandroidintegrationbpel_client_ep?=", Stest) Log("JobName = " & Job.JobName & ", Success = " & Job.Success) Log("Error: " & Job.ErrorMessage) </code> I am getting Log Error: Internal Server Error have any body experience the same problem. Your response is highly appreciated. Yashwant
Hi I am using HTTPUTILS2 for web services and I am getting Job.Success=fail and showing Invalid Query String My code is as follows <code> Dim Stest As String Stest="<soap:Envelope xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'><soap:Body><ns1:get_details xmlns:ns1='http://www.xxxxxxxxxxx.org/getDetai.../ns1:get_details></soap:Body></soap:Envelope>" job2.Initialize("Job2", Me) job2.PostString("http://xxx.xx.xx.xx:xxx/soa-infra/s...on/xxxxxccbandroidintegrationbpel_client_ep?=", Stest) Log("JobName = " & Job.JobName & ", Success = " & Job.Success) Log("Error: " & Job.ErrorMessage) </code> I am getting Log Error: Internal Server Error have any body experience the same problem. Your response is highly appreciated. Yashwant
Erel B4X founder Staff member Licensed User Longtime User Dec 31, 2014 #2 You probably need to set some headers as done here: https://www.b4x.com/android/forum/t...-and-internal-server-error.34375/#post-201604 Upvote 0
You probably need to set some headers as done here: https://www.b4x.com/android/forum/t...-and-internal-server-error.34375/#post-201604
Y yashwant Member Licensed User Longtime User Dec 31, 2014 #3 Thank you Very Much Erel you are like angel. Wish you a Happy New Year in Advance Upvote 0
Uitenhage Member Licensed User Longtime User Jan 14, 2015 #4 yashwant, did you solve this? Jim Upvote 0
Y yashwant Member Licensed User Longtime User Jan 15, 2015 #5 Hi Uitenhage Yes I have resolve this issue by adding following line while posting the string htJob.GetRequest.SetHeader("SOAPAction", """http://Server/SoapAction""") htJob.GetRequest.SetContentType("text/xml; charset=utf-8") Upvote 0
Hi Uitenhage Yes I have resolve this issue by adding following line while posting the string htJob.GetRequest.SetHeader("SOAPAction", """http://Server/SoapAction""") htJob.GetRequest.SetContentType("text/xml; charset=utf-8")