Web Services On-premises

To create the URI for the LS Central Web Service, open LS Central BackOffice. Click the icon,to look for relevant links to pages.

  1. Click the icon, enter Web Service Setup, and select the relevant link.

  2. On the General FastTab, activate the Web Service is Active field.
  3. On the Server FastTab, appropriately fill in the following fields for the setup of LS Central:
    • Server Computer Name
    • Server Port
    • Server Name
    • Company Name
  4. This will generate your Web Service URI value, copy it and save it.
  5. On the Client Credentials FastTab, add login credentials for the Web Service, if needed.

Tip:You can test the LS Central Web Service by clicking Actions - Functions - Test Web Connection.

Tip: You can also test the service by copying the Web Service URL and pasting it into a web browser:

http://localhost:7047/BC190/WS/CRONUS - LS Central/Codeunit/RetailWebServices

You must publish Web Services version 2:

  1. Open the Web Request 2.0 page.
  2. Check if the Base URL points to correct URL. This should be correct after setting up the Web Service part earlier.
  3. To publish the Web Services, click Publisher in the toolbar (if not visible, click the three dots first), and when done click Publish LS Commerce Web Service or Publish Omni Wrapper (older Central) in the toolbar.

Commerce Service uses a few codeunits to communicate with LS Central.

  1. Open Web Services and check that those three codeunits have been published correctly with the correct name:

    To test if those codeunits are active, click in the SOAP URL field and you should get similar result like in the previous test above.