Prerequisites for Semantic SDK
The Semantic SDK Perspective consists of the following views.
is a menu to open directly semantic SDK perspective.
Figure: Semantic SDK perspective layout
In the Service Explorer, a user can input a keyword and search services related to the given keyword. The results are classified into 3rd party web services or and Samsung SDK library APIs and displayed in the table format. The two ways of searching are provided as follows:
The service can be searched by specifying a particular service attribute, or using the keyword value selected from the tag cloud.
See more details in Semantic Service Discovery and Semantic Service Matching.
A user can select one service API among the results of searching, he can see more detail information about the service API in Properties View. The detail information includes authentication, category, description, language, goal, input, output, protocol, service_name, service_provider, service_url, and usage_url. When a user double-clicks the usage_url listed in the View, the web URL opens into an internal web browser.
Figure: Properties View screen
Matching View provides the matching function for more than two services to support Semantic Service Mashup. The following two matching functions are supported:
The subsequent interoperable service will be searched for the service selected in the search results, and the relation between them will be calculated. The relational diagram among services will be calculated by comparing the functional, non-functional, and I/O information of each service. When the user searches the web service or Samsung SDK API in Service Explorer and selects either Interoperable Matching or Compatible Matching for the found service, the related information will be displayed on screen.
Figure: Matching View screen
The matching information will be displayed in table format in Matching View, and the evaluation of matching will be displayed with a percent and bar graph. In addition, the property of the service shown in Target services will be displayed in Properties View when it is selected. The sample code snippet of the service in black can be dragged and dropped into the editor.
In Validation View, a user can invoke the 3 rd party service and shows the execution results. Validation view is available only for 3 rd party service. SDK 4.0 doesn’t support this view. There are four I/O fields as follows:
When values are entered into the Target, Body, and Authentication fields and then press Submit (5), the results is displayed in the Response field.
Figure: Validation View