blob: 3edf16c0749669fe9ffc33bc0bd5be7e5c220ed9 (
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");
}
}
|