WebserviceResource

<< Click to Display Table of Contents >>

Navigation:  Development > Project Artifacts >

WebserviceResource

 

WebserviceResources model configurations for DTS resources as it pertains to their inclusion in designed Webservices.

 

{

 "connector" : "",

 "remoteName" : "",

 "name" : "",

 "streamPathPrefix" : "",

 "methsMetadata" : {}

}

 

Attribute

Value

Note

connector

The _id of the connector the resource belongs to.

 

remoteName

The native identifier of the resource.

 

name

The custom name given to the resource inside the webservice, if any.

Only applies to remote call resources.

For REST webservices it is reflected in the operation's URL, while for SOAP webservices it becomes the operation's name.

streamPathPrefix

The URL prefix that will be used for streaming operations on the resource.

Only applies to streaming resources in REST webservices.

methsMetadata

An map of the settings for streaming operations on this resource.

Only applies to streaming resources.

 

 

Streaming Operation Settings

 

The methsMetadata attribute contains a map whose keys represent the identifiers for the possible streaming operations on a resource. The presence of an item implies its inclusion in the Webservice.

All entries can have a name attribute which sets a custom operation name (SOAP) or a custom URL suffix (REST).

Information-icon_16px For more information on Webservice streaming operations, please see Webservices - Access.