Still not working WS for querinh proteochache (probably due to interaction with Spring)
[proteocache.git] / server / compbio / ws / jpred / WSPublisher.java
diff --git a/server/compbio/ws/jpred/WSPublisher.java b/server/compbio/ws/jpred/WSPublisher.java
new file mode 100644 (file)
index 0000000..f3045cd
--- /dev/null
@@ -0,0 +1,12 @@
+package compbio.ws.jpred;
+
+import javax.xml.ws.Endpoint;
+
+public class WSPublisher {
+       
+       public static void main(String[] args) {
+                  Endpoint.publish("http://localhost:1236/proteocache/services", new JpredWS());
+        
+                  System.out.println("Service is published!");
+           }
+}