Hello
I have to consume a simple webservices written in Asp.net
When I call it, the error Response Error returns. Reason bad request, Response
The libraries used are: OkHttp V 1.20 OkHttpUtil V.2.61
The Webservices is :
I have to consume a simple webservices written in Asp.net
When I call it, the error Response Error returns. Reason bad request, Response
B4X:
Dim job As HttpJob
Dim Url As String="http://192.168.1.71/retailws.asmx"
job.Initialize("Job",Me)
Dim Xmla As String=$"
<?xml version="1.0" encoding="utf-8"?>
<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/">
<soap:Body>
<Login xmlns="http://192.168.1.71/" />
</soap:Body>
</soap:Envelope>
"$
job.PostString(Url,Xmla)
job.GetRequest.SetHeader("SOAPAction", "http://192.168.1.71/Login")
job.GetRequest.SetContentType("text/xml; charset=utf-8")
The Webservices is :