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
- Open the PublishWebService solution with Linx Designer.
- Click on the Settings button.
- 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.
- Click the Deploy button.
- Select the server. If no server is configured
- Select the server.
- Click Deploy.
- When deployment is finished click the server name in the notification message.
- The browser should now be on the server admin page.
- Click on PublishWebService under Solutions.
- Select the Projects tab.
- Both Processes should be visible with Run links next to them.
- The full web service url is also displayed on the right hand side.
- Click Run to test it or copy the Url to another browser tab, change the parameters to suitable values and submit.