|
@@ -17,10 +17,11 @@ public class StartSoap {
|
|
|
|
|
|
@SneakyThrows
|
|
|
public static void main(String[] args) {
|
|
|
- String wsUrl = "http://0.0.0.0:9999/wms/api";
|
|
|
- Endpoint.publish(wsUrl, new WMSServiceImpl());
|
|
|
ApplicationContext ctx = SpringApplication.run(StartSoap.class, args);
|
|
|
log.info("### Prod服务启动完成 === " + ctx);
|
|
|
+
|
|
|
+ String wsUrl = "http://0.0.0.0:9999/wms/api";
|
|
|
+ Endpoint.publish(wsUrl, new WMSServiceImpl());
|
|
|
Runtime.getRuntime().addShutdownHook(new Thread(() -> running.set(false)));
|
|
|
while (running.get()) {
|
|
|
// noinspection BusyWait
|