More Related Content Similar to SWOP project and META software Similar to SWOP project and META software (20) More from Michele Filannino More from Michele Filannino (13) SWOP project and META software2. Outline
SWOP
META
Interfaccia di rete
Interfaccia web
Web Service
2
4. Annotazione
Natural language To approve/reject
descriptions suggested annotations
WSDL file CODEArchitects CODEArchitects SAWSDL file
Annotation Tool Annotation Tool
5. User
Annotation Service
SAWSDL4J / WSDL4J
Pellet Reasoner
UDDI4J
SAWA
Ontology repository
UDDI
Discovery Service
5
7. 7 Interfaccia di rete
Comunicazione via Socket con thread
META server & META client (Windows, Linux, OS X)
Protocollo hard-coded
Input: identificativo operazione, vettore di stringhe
Output: risultato di META
13. 13 Interfaccia web
Comunicazione via Web
Apache Tomcat + XHTML1.1, CSS2
Input: stringa in linguaggio naturale
Output: risultato di META
Non si possono selezionare le operazioni
http://localhost:8080/meta/
16. 16 Web service
Comunicazione via HTTP
Apache Tomcat + Apache Axis2
Input: vettore di stringhe
Output: risultato di META
Un’unica operazione come l’interfaccia web
http://localhost:8080/axis2/Meta?wsdl
17. <?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns1="http://org.apache.axis2/xsd" xmlns:ns="http://
webservice.meta" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:soap="http://
schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" targetNamespace="http://
webservice.meta">
<wsdl:documentation>Meta</wsdl:documentation>
<wsdl:types>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://webservice.meta">
<xs:element name="result">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="param" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="resultResponse">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:message name="resultRequest">
<wsdl:part name="parameters" element="ns:result"/>
</wsdl:message>
<wsdl:message name="resultResponse">
<wsdl:part name="parameters" element="ns:resultResponse"/>
</wsdl:message>
<wsdl:portType name="MetaPortType">
<wsdl:operation name="result">
<wsdl:input message="ns:resultRequest" wsaw:Action="urn:result"/>
<wsdl:output message="ns:resultResponse" wsaw:Action="urn:resultResponse"/>
</wsdl:operation>
17
</wsdl:portType>
<wsdl:binding name="MetaSoap11Binding" type="ns:MetaPortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<wsdl:operation name="result">