External http (URL) call in Javascript

Sort:
You are not authorized to post a reply.
Author
Messages
Sreenivasa Komma
Basic Member
Posts: 19
Basic Member

    Hi

    Current project has a need: When a user clicks a button called "validate", it should execute an external  url http://externalServer:port/URL

    That http call executes a Java program on external system and returns a string. i would like to receive the return value in a Design Studio javascript variable and continue with remaining Lawson logic.

    Any ideas how this can be done.

    Thank you in advance..

    -Sreeni

    Dwightd
    Basic Member
    Posts: 12
    Basic Member
      Have you looked at the WebRun node? I have used it successfully to access an external site and return data to the flow...
      Gary Davies
      Veteran Member
      Posts: 248
      Veteran Member

        WebRun is ProcessFlow.  For a Design Studio formlet you can use the http request just as how AGS and DME calls do:

        var rtnData = portalWnd.httpRequest("externalserver:port/URL");

        The problem is if the external server requires authentication and is not part of the SSO configuration of Lawson.

        You are not authorized to post a reply.