summaryrefslogtreecommitdiffstats
path: root/src/main/java/derms/replica1/DERMSServerPublisher.java
blob: 44ee879d0b9932bfd4748455a01a0597eca3031d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package derms.replica1;

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");
    }
}