« Back to University of Vienna - OMILAB

Web Service Calls using SOAP

Combination View Flat View Tree View
Threads [ Previous | Next ]
Web Service Calls using SOAP
Answer
2/9/15 5:35 PM
As ADOxx provides a great infrastructure for accessing it over the web, these functionalities have been made available also in the SeMFIS toolkit that is based on ADOxx 1.5. I have prepared a short tutorial that illustrates how SOAP calls can be made to SeMFIS - see the tutorial page of SeMFIS.

I used the following applications:
In addition the following SOAP stub is used:
 1
 2<?xml version="1.0" encoding="UTF-8"?>
 3<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
 4xmlns:xsd="http://www.w3.org/2001/XMLSchema"
 5xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 6<soapenv:Body>
 7<ns1:execute soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
 8xmlns:ns1="urn:AdoWS">
 9    <script xsi:type="xsd:string">
10
11   
12    SETG result:()
13    </script>
14<resultVar xsi:type="xsd:string">result</resultVar>
15</ns1:execute>
16</soapenv:Body>
17</soapenv:Envelope>

And the following ADOscript:
1
2# Sample ADOscript File
3CC "Core" GET_MODEL_ID modelname:"Semantic Annotation Model" modeltype:"Semantic Annotation Model"
4CC "Core" LOAD_MODEL modelid:(modelid)
5CC "Core" debug GET_ALL_OBJS_OF_CLASSNAME modelid:(modelid) classname:"Model reference"
6CC "Core" DISCARD_MODEL modelid:(modelid)