A web service is any piece of software that makes itself available over the internet and uses a standardized XML messaging system. XML is used to encode all communications to a web service. For example, a client invokes a web service by sending an XML message, then waits for a corresponding XML response.
How to Call Web Service in M5
In your application page, click Edit.
Click External Webservices.
Click Register a new Webservice.
Put a Webservice name and Webservice URL. Click Create now.
This is your Webservice after been registered.
Go to your application page then click on the form.
Click Form Behavior.
Click Create new behavior.
Put the appropriate caption. Click Action wizard.
Click Create an action.
Click Call webservice.
Select Webservice, Service Name and Webmethod Name. You may define manually for Service Name and Webmethod Name if selection not available. Click OK.
Click Save changes.
Clik View code. Add 'scribe.displaymessage(_WSReturnValue)' code to display a message returned by web service. Click Check Syntax, if no error then click Save and close.
Click Create now.
How it look in the form:
Data that returned by web service.
Comments