From 1dc571c89314c00700835c73c684596545358aa6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1ssia=20Trojahn=20dos=20Santos?= <cassia.trojahn@irit.fr> Date: Fri, 11 Jun 2010 07:08:19 +0000 Subject: [PATCH] --- html/tutorial/tutorial5/AlignmentWSImpl.java | 2 +- html/tutorial/tutorial5/AlignmentWSPublisher.java | 2 +- html/tutorial/tutorial5/MyAlignment.java | 2 +- html/tutorial/tutorial5/MyAlignmentWS.java | 5 +++-- html/tutorial/tutorial5/index.html | 12 +++++------- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/html/tutorial/tutorial5/AlignmentWSImpl.java b/html/tutorial/tutorial5/AlignmentWSImpl.java index 4abf2d5f..f7027ff5 100644 --- a/html/tutorial/tutorial5/AlignmentWSImpl.java +++ b/html/tutorial/tutorial5/AlignmentWSImpl.java @@ -1,4 +1,4 @@ -package x.y.z; +package example.ws.matcher; import eu.sealsproject.omt.ws.matcher.AlignmentWS; diff --git a/html/tutorial/tutorial5/AlignmentWSPublisher.java b/html/tutorial/tutorial5/AlignmentWSPublisher.java index 626b5b46..b2db5f56 100644 --- a/html/tutorial/tutorial5/AlignmentWSPublisher.java +++ b/html/tutorial/tutorial5/AlignmentWSPublisher.java @@ -1,4 +1,4 @@ -package x.y.z; +package example.ws.matcher; import javax.xml.ws.Endpoint; import eu.sealsproject.omt.ws.matcher.AlignmentWS; diff --git a/html/tutorial/tutorial5/MyAlignment.java b/html/tutorial/tutorial5/MyAlignment.java index 2adc5196..f77eb667 100644 --- a/html/tutorial/tutorial5/MyAlignment.java +++ b/html/tutorial/tutorial5/MyAlignment.java @@ -1,4 +1,4 @@ -package x.y.z; +package example.ws.matcher; import java.net.URI; import java.util.Properties; diff --git a/html/tutorial/tutorial5/MyAlignmentWS.java b/html/tutorial/tutorial5/MyAlignmentWS.java index ebf23841..9bec1c76 100644 --- a/html/tutorial/tutorial5/MyAlignmentWS.java +++ b/html/tutorial/tutorial5/MyAlignmentWS.java @@ -1,4 +1,4 @@ -package x.y.z; +package example.ws.matcher; import java.io.BufferedWriter; import java.io.OutputStreamWriter; @@ -10,11 +10,12 @@ import javax.jws.WebService; import org.semanticweb.owl.align.Alignment; import org.semanticweb.owl.align.AlignmentException; -import org.semanticweb.owl.align.AlignmentProcess; import org.semanticweb.owl.align.AlignmentVisitor; import fr.inrialpes.exmo.align.impl.renderer.RDFRendererVisitor; +import eu.sealsproject.omt.ws.matcher.AlignmentWS; + @WebService(endpointInterface="eu.sealsproject.omt.ws.matcher.AlignmentWS") public class MyAlignmentWS extends MyAlignment implements AlignmentWS { diff --git a/html/tutorial/tutorial5/index.html b/html/tutorial/tutorial5/index.html index 09c6ea11..5c611b35 100644 --- a/html/tutorial/tutorial5/index.html +++ b/html/tutorial/tutorial5/index.html @@ -97,7 +97,7 @@ which takes as parameters the URIs of the two ontologies to be aligned and retur <div class="fragment"> -package x.y.z; +package example.ws.matcher; import javax.jws.WebService; @@ -118,7 +118,7 @@ The easiest way to do this is to implement the <a href="http://alignapi.gforge.i </p> <div class="fragment"> -package x.y.z; +package example.ws.matcher; import java.net.URI; import java.util.Properties; @@ -142,7 +142,7 @@ public class MyAlignment extends URIAlignment implements AlignmentProcess { <p>Then, it is simple to expose <tt>MyAlignment</tt> as a web service (<a href="MyAlignmentWS.java">MyAlignmentWS.java</a>):</p> <div class="fragment"> -package x.y.z; +package example.ws.matcher; import java.io.BufferedWriter; import java.io.OutputStreamWriter; @@ -198,7 +198,7 @@ In the second case, the publisher can use the method <tt>publish</tt> to publish its address to the <tt>Endpoint</tt> (<a href="AlignmentWSPublisher.java">AlignmentWSPublisher.java</a>): <div class="fragment"> -package x.y.z; +package example.ws.matcher; import javax.xml.ws.Endpoint; import eu.sealsproject.omt.ws.matcher.AlignmentWS; @@ -226,9 +226,7 @@ public class AlignmentWSPublisher { </ul> <p> The qualified name of the service consists -of the namespace "http://z.y.x/" (because the webservice is - -part of package x.y.z) and a local name that stands for the service +of the namespace "http://example.ws.matcher/" (because the webservice is part of package example.ws.matcher) and a local name that stands for the service wrapping your matcher, which is in our example MyAlignmentWSService (= classname + "Service"). The service can be accessed at via the URL http://134.155.86.66:8080/matcherWS and its WSDL - describing its methods - can be found at http://134.155.86.66:8080/matcherWS?wsdl. </p> -- GitLab