Web service calls *FROM* Lawson
Last Post 04/07/2016 4:00 PM by Scott Nalian. 5 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
MBond
New Member
(7 points)
New Member
Posts:3


Send Message:

--
12/15/2009 8:52 AM

    How would one call a web service on another machine FROM lawson?  The call would need to be made in the background without opening a new window.   The web service can accept either a POST or GET request.  For this request, the response is not processed but future request probably would need to process the response. I think the xmlhttp request is the answer but have no documentation on it's use.

    I've seen a lot of posts on calling into Lawson web services from external applications but nothing going the other direction.

    Thanks for your help.

    Gary Davies
    Veteran Member
    (738 points)
    Veteran Member
    Posts:248


    Send Message:

    --
    12/18/2009 7:09 AM

    Depends from where you are tyring to do it.  ProcessFlow Integrator has a Web Service node that is very easy to use and handles all the parameters, if it is with a web page within Lawson a http request will do it, as long as there are no authentication requirements it is not too difficult.

    MBond
    New Member
    (7 points)
    New Member
    Posts:3


    Send Message:

    --
    12/18/2009 7:43 AM
    Thanks. Do you know where I could find any documentation on it's use or is this just pure Javascript
    and would be called the same as it would on any other web page. Normally I would be calling this from
    an .ASPX page with an ASP script manager tag that would cause the browser to download the AJAX
    libraries to handle the call. Since Lawson is handling the page, I don't know that it is capable of
    downloading foreign script files. Does anyone have a document or pdf that shows the syntax for making
    this kind of call?

    Thanks again for your help.
    MBond
    New Member
    (7 points)
    New Member
    Posts:3


    Send Message:

    --
    12/18/2009 7:44 AM
    I failed to mention that we do not have process flow integrator.
    John Henley
    Private
    Private
    Senior Member
    (9305 points)
    Senior Member
    Posts:3119


    Send Message:

    --
    12/18/2009 8:10 AM
    Well, now you have a reason to buy it :). Plus the ability to hook into databases and the file/data iterators.
    Thanks for using the LawsonGuru.com forums!
    John
    Scott Nalian
    Sr. Software Engineer
    Jack In The Box Inc
    New Member
    (3 points)
    New Member
    Posts:1


    Send Message:

    --
    04/07/2016 4:00 PM
    I have similar Question, we have only LID client with Lawson 9.0 and do have process flow integrator, Can we define a custom trigger in the Online LID Program to make a WEB call to outside of Lawson and get some data back to the Online LID application?
    Or how would you make a WEB call from an Online LID program to get some data from outside of Lawson?

    Any Sample code or documentation is really appreciated.
    Thank you in advance.
    You are not authorized to post a reply.