The WireBootstrap Custom Data Connector is included in the core WireBootstrap framework. The WireBootstrap Custom Data Connector allows custom web services to be used with data sources. These are services developed by in-house teams or third party vendors hosted on-premise or in the cloud.
Provider Key
Use the custom provider key to use the service provider for this data connector with a data source.
When using this query with the custom web service provider, the following URL is constructed and used to call the web service.
GET vs POST
The previous query will result in a GET HTTP method being used for the web service call. To use a POST with custom data, change the where clause in the filter to use the custom method to send up any custom data to the method in the body of the request.
In the example below, the same query will be posted to the service.
Custom parameters to send with query requests. See details below.
testMethod
This method used to test the connection to the data service. See details below.
Params
Sometimes its helpful to be able to send custom parameters in the web service calls that are outside of any query filters. Use the provider params configuration option to set these up.
In the example above, two extra parameters called option1 and option2 will be set up in the URL and sent to the data service.
Allow
Service providers are able to tell consumers about the functionality they support through an allow property. Below is a list of the functionality that the custom service provider supports.
Name
Supports
delete
true
discover
false
storedProcedure
false
tableQuery
true
tableQuery.orderBy
false
tableQuery.groupBy
false
test
true
write
true
Test Method
The custom service provider supports testing if the service is available. However, the method to be used for this needs to be specified in the testMethod configuration option.