Web services allows to invoke allow invoking methods and fetch fetching data on external web services that supports which support the WSDL standard.
- To add a new service click plus ( + ) symbol in the web services list from the process designer dashboard.
- Enter the web service address in the URL field. (Example: http://www.webservicex.net/globalweather.asmx?WSDL )
- Currently only WSDL standard is supported, but other service types will be added in the next releases.
- After clicking on 'Ok' button, service is automatically discovered in couple seconds, and service methods are displayed on screen.
Rest based services are does do not have any meta description and there is no need to register or discovery before using. You can directly call the any rest service with $Rest object.
Service discovery scans the available methods on service and automatically registers the web service xml data types in "External Xml Schemas". Web service data types can also can be directly used in the process data model.
In example, "GetWeather" is a method in service and expects the "CityName", "CountryName" fields to invoke and returns return GetWeatherResult type. Gray box contains the example of a usage for scripting. Return value of the method may be a basic value or a complex data type. You may need to inspect the data type from external xml schemas.
Test Mode URL
This field is optional, you may leave it blank. If you want to use another service for testing environment, you can specify the URL of service. If the workflow instance is in test mode, this address is used automatically. Test and live service definition must be identical, otherwise unpredictable errors may be occur.
Consuming SOAP Service
...