From 7e3e18c2447355b02dd00cbe5f010cd9c272e546 Mon Sep 17 00:00:00 2001 From: ShazaAli Date: Tue, 3 Dec 2024 10:38:56 -0500 Subject: Replica 1 function between servers working --- src/main/java/derms/replica1/DERMSServerPublisher.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/main/java/derms/replica1/DERMSServerPublisher.java') diff --git a/src/main/java/derms/replica1/DERMSServerPublisher.java b/src/main/java/derms/replica1/DERMSServerPublisher.java index 3edf16c..44ee879 100644 --- a/src/main/java/derms/replica1/DERMSServerPublisher.java +++ b/src/main/java/derms/replica1/DERMSServerPublisher.java @@ -4,13 +4,13 @@ import javax.xml.ws.Endpoint; public class DERMSServerPublisher { public static void main(String[] args) { - try { - Endpoint.publish("http://localhost:8387/ws/derms", new DERMSServer("MTL")); - Endpoint.publish("http://localhost:8081/ws/derms", new DERMSServer("QUE")); - Endpoint.publish("http://localhost:8082/ws/derms", new DERMSServer("SHE")); - } catch (InterruptedException e) { - throw new RuntimeException(e); - } - System.out.println("DERMS Web Service is published at http://localhost:8387/ws/derms"); +// try { +// Endpoint.publish("http://localhost:8387/ws/derms", new DERMSServer("MTL")); +// Endpoint.publish("http://localhost:8081/ws/derms", new DERMSServer("QUE")); +// Endpoint.publish("http://localhost:8082/ws/derms", new DERMSServer("SHE")); +// } catch (InterruptedException e) { +// throw new RuntimeException(e); +// } +// System.out.println("DERMS Web Service is published at http://localhost:8387/ws/derms"); } } \ No newline at end of file -- cgit v1.2.3