Sei sulla pagina 1di 20

Aggiornamento interno

SWAP research group - 26 aprile 2010

lunedì 23 agosto 2010


Outline
SWOP
META
Interfaccia di rete

Interfaccia web

Web Service

2
lunedì 23 agosto 2010
SWOP
Semantic Web service Oriented Platform

lunedì 23 agosto 2010


Annotazione
Natural language To approve/reject
descriptions suggested annotations

WSDL file CODEArchitects CODEArchitects SAWSDL file


Annotation Tool Annotation Tool

lunedì 23 agosto 2010


User

Annotation Service

SAWSDL4J / WSDL4J

Pellet Reasoner
UDDI4J

SAWA
Ontology repository

UDDI

Discovery Service

5
lunedì 23 agosto 2010
META
Multi-language Text Analyzer

lunedì 23 agosto 2010


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

lunedì 23 agosto 2010


8
lunedì 23 agosto 2010
9
lunedì 23 agosto 2010
10
lunedì 23 agosto 2010
11
lunedì 23 agosto 2010
12
lunedì 23 agosto 2010
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/

lunedì 23 agosto 2010


14
lunedì 23 agosto 2010
15
lunedì 23 agosto 2010
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

lunedì 23 agosto 2010


<?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">

lunedì 23 agosto 2010


18
lunedì 23 agosto 2010
19
lunedì 23 agosto 2010
Demo

lunedì 23 agosto 2010

Potrebbero piacerti anche