I ve tried to google around for a working example. I ve tried KSOAP2 and JCIFS examples but no success. The web service i m trying to connect is 3rd parties (Microsoft Dynamics NAV) and can t be modified. It uses SOAP and either SPNEGO or NTLM authentication. And I guess it s already NTLMv2 but I m not sure on that. Can anybody please suggest me a full code for the following SOAP request?
$<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:item="urn:microsoft-dynamics-schemas/page/items">
$ <soapenv:Header/>
$ <soapenv:Body>
$ <item:ReadMultiple>
$ <!--1 or more repetitions:-->
$ <item:filter>
$ <item:Field>No</item:Field>
$ <item:Criteria>1000</item:Criteria>
$ </item:filter>
$ <item:setSize>500</item:setSize>
$ </item:ReadMultiple>
$ </soapenv:Body>
$</soapenv:Envelope>
I ve validated this request with soapUI and it works fine. But when I tried to run it with KSOAP2 and JCIFS I get an error message "Connection refused". Important to note I am a beginner in Java and Android.