# HG changeset patch
# User casties
# Date 1304605143 -7200
# Node ID 6a163b1bcd4d083fa2f6daba363597caa5ab945c
first checkin
diff -r 000000000000 -r 6a163b1bcd4d .hgignore
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore Thu May 05 16:19:03 2011 +0200
@@ -0,0 +1,7 @@
+
+syntax: regexp
+^target$
+syntax: regexp
+^\.classpath$
+syntax: regexp
+^\.project$
\ No newline at end of file
diff -r 000000000000 -r 6a163b1bcd4d pom.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/pom.xml Thu May 05 16:19:03 2011 +0200
@@ -0,0 +1,70 @@
+
+ 4.0.0
+ info.textgrid
+ digilibservice
+ war
+ 1.0-SNAPSHOT
+ digilibservice Maven Webapp
+ http://maven.apache.org
+
+ UTF-8
+ 2.3.3
+6.1.15
+
+
+
+ junit
+ junit
+ 3.8.1
+ test
+
+
+ org.apache.cxf
+ cxf
+ ${cxf.version}
+ pom
+
+
+ org.apache.cxf
+ cxf-rt-frontend-jaxrs
+ ${cxf.version}
+
+
+ org.apache.cxf
+ cxf-rt-frontend-jaxws
+ ${cxf.version}
+
+
+ org.apache.cxf
+ cxf-rt-transports-http
+ ${cxf.version}
+
+
+
+ digilibservice
+
+
+ org.apache.cxf
+ cxf-codegen-plugin
+ ${cxf.version}
+
+
+ generate-digilibservice-sources
+ generate-sources
+
+
+
+ src/main/webapp/WEB-INF/DigilibService.wsdl
+
+
+
+
+ wsdl2java
+
+
+
+
+
+
+
diff -r 000000000000 -r 6a163b1bcd4d src/main/java/info/textgrid/rest.java
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/java/info/textgrid/rest.java Thu May 05 16:19:03 2011 +0200
@@ -0,0 +1,33 @@
+package info.textgrid;
+
+import info.textgrid.namespaces.middleware.digilib.services.digilibservice.DigilibService;
+
+import javax.jws.WebService;
+import javax.ws.rs.GET;
+import javax.ws.rs.Path;
+import javax.ws.rs.Produces;
+import javax.xml.ws.Holder;
+
+@WebService(targetNamespace = "http://textgrid.info/namespaces/middleware/digilib/services/DigilibService",
+ serviceName="DigilibService", portName="DigilibServiceSOAP",
+ endpointInterface="info.textgrid.namespaces.middleware.digilib.services.digilibservice.DigilibService")
+public class rest implements DigilibService {
+
+
+
+ @GET
+ @Path("/hello")
+ @Produces("text/plain")
+ public String getVersion() {
+ return "hello";
+ }
+
+ @Override
+ public void getScaledImage(String sessionId, String uri,
+ String logParameter, Holder mimeType,
+ Holder imageData) {
+ // TODO Auto-generated method stub
+
+ }
+
+}
\ No newline at end of file
diff -r 000000000000 -r 6a163b1bcd4d src/main/webapp/WEB-INF/DigilibService.wsdl
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/WEB-INF/DigilibService.wsdl Thu May 05 16:19:03 2011 +0200
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 6a163b1bcd4d src/main/webapp/WEB-INF/beans.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/WEB-INF/beans.xml Thu May 05 16:19:03 2011 +0200
@@ -0,0 +1,39 @@
+
+
+
+
+ Configuration digilibservice
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff -r 000000000000 -r 6a163b1bcd4d src/main/webapp/WEB-INF/web.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/WEB-INF/web.xml Thu May 05 16:19:03 2011 +0200
@@ -0,0 +1,32 @@
+
+
+
+
+ TGSearch Webservice - public instance
+
+
+ contextConfigLocation
+ WEB-INF/beans.xml
+
+
+
+ org.springframework.web.context.ContextLoaderListener
+
+
+
+
+ CXFServlet
+ CXF Servlet
+
+ org.apache.cxf.transport.servlet.CXFServlet
+
+ 1
+
+
+
+ CXFServlet
+ /*
+
+
diff -r 000000000000 -r 6a163b1bcd4d src/main/webapp/index.jsp
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/main/webapp/index.jsp Thu May 05 16:19:03 2011 +0200
@@ -0,0 +1,5 @@
+
+
+Hello World!
+
+