01: package org.objectweb.celtix.systest.handlers;
02:
03: // import java.util.ArrayList;
04: // import java.util.List;
05: import javax.xml.ws.Endpoint; // import javax.xml.ws.handler.Handler;
06:
07: import org.objectweb.celtix.systest.common.TestServerBase;
08:
09: public class Server extends TestServerBase {
10:
11: protected void run() {
12: Object implementor = new HandlerTestImpl();
13: String address = "http://localhost:9005/HandlerTest/SoapPort";
14: Endpoint.publish(address, implementor);
15: }
16:
17: public static void main(String[] args) {
18: try {
19: Server s = new Server();
20: s.start();
21: } catch (Exception ex) {
22: ex.printStackTrace();
23: System.exit(-1);
24: } finally {
25: System.out.println("done!");
26: }
27: }
28: }
|