Publish Web Service

This sample publishes web services to retrieve data from the Northwind database. You can get sample Northwind databases here.

This Linx Solution uses the Database, Utilities, and Web plugins.

To run the sample

  1. Open the PublishWebService solution with Linx Designer.
  2. Click on the Settings button.
  3. On the Settings tab change the values of the Settings to suit your environment (if you need help with the database connection string, have a look at this help topic). Be aware that using Windows Authentication in your connection string might not work when the solution runs in LinxServer because LinxServer does not run in the desktop user’s security context except if you specifically change it.
  4. Click the Deploy button.
  5. Select the server. If no server is configured
    1. Click Add Server.
    2. Fill in the properties:
      1. Server Configuration Name = local
      2. Server URL = https://localhost:8022 (default port if you did not provide one during install)
      3. User = [user name] (admin is the default user installed)
      4. Password = [your password] (provided during install or changed since)
    3. Click Save.
  6. Select the server.
  7. Click Deploy.
  8. When deployment is finished click the server name in the notification message.
  9. The browser should now be on the server admin page.
  10. Click on PublishWebService under Solutions.
  11. Select the Projects tab.
  12. Both Processes should be visible with Run links next to them.
  13. The full web service url is also displayed on the right hand side.
  14. Click Run to test it or copy the Url to another browser tab, change the parameters to suitable values and submit. Remember to check ‘Wait for finish’ when using Run or else it will execute asynchronously and you will not see the result.

If you have any problems please contact us at linx@digiata.com.

Download

https://linx.software/wp-content/uploads/2017/04/PublishWebService-5.zip

Video

Linx 5 PublishWebService