Http authentication from external App to Lawson 8.0.3 for AGS call

Sort:
You are not authorized to post a reply.
Author
Messages
desichet
Posts: 7

    We are creating AGS call to update GL20.7 from external App which can send data using JavaScript and COM objects.

    We did create the AGS call and tested from HTML but  need to enter userid/password evrytime we submit the external HTML form,  Is there way to create simple HTTP Authentication  from exernal app to avoid login page ?  Lookes like LSF 9.0 has Java API's. Is there some Non Java solution to connect to Lawswon 8.0.3 ?

    Thanks in advance.

    desichet
    Posts: 7

      After some research and help,we are able to send credentials  with http request  and POST the  AGS  call  to Lawson.

      /Create an instance of the XML HTTP Request object
        var oXMLHTTP = new COMCreateObject("Microsoft.XMLHTTP");

      //Prepare the XMLHTTP object for a HTTP GET to Lawson's CGI program
        oXMLHTTP.open("GET", url, false, userName, passWord);
        oXMLHTTP.setRequestHeader("content-type", "text/xml");

      You are not authorized to post a reply.