diff --git a/html/tutorial/tutorial5/AlignmentWSImpl.java b/html/tutorial/tutorial5/AlignmentWSImpl.java index 4abf2d5f9815573ceabf6ae5fe3e95f47ee29de7..f7027ff5f7f706f5d554088e3f458860ad8783f4 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 626b5b46a4642905c72de9da2ef9c2f95ae02053..b2db5f561b850de61b0b9791581090655397b214 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 2adc51969f613839b82ca9a705e4bce15beb730f..f77eb667508656921fac4645a3b6f4bb7070d215 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 ebf23841d2d07e5b63ce9469801ef5f629ebec59..9bec1c76e1b6a82bd998ba9a373619b8bbc6caba 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 09c6ea113021ecdabd9e35139602779991efd899..5c611b355a29635242d1f71ed5f69238c4dadeff 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>