From b41d3ff4e482efe84e1c4558c203fbf489cd029b Mon Sep 17 00:00:00 2001 From: Haidar <16521522@mahasiswa.itb.ac.id> Date: Thu, 16 Nov 2023 11:46:34 +0700 Subject: [PATCH] feat: add buyproduct and checkCode service --- src/main/java/org/example/Main.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/example/Main.java b/src/main/java/org/example/Main.java index 7b109f0..7750bd2 100644 --- a/src/main/java/org/example/Main.java +++ b/src/main/java/org/example/Main.java @@ -2,15 +2,15 @@ package org.example; import javax.xml.ws.Endpoint; -import org.example.service.ChallengeServiceImpl; -import org.example.service.TopupServiceImpl; -import org.example.service.restCodeServiceImpl; +import org.example.service.*; public class Main { public static void main(String[] args) { try { Endpoint.publish("http://0.0.0.0:8081/topup", new TopupServiceImpl()); Endpoint.publish("http://0.0.0.0:8081/code", new restCodeServiceImpl()); + Endpoint.publish("http://0.0.0.0:8081/buyProduct", new buyProductServiceImpl()); + Endpoint.publish("http://0.0.0.0:8081/checkCode", new checkCodeServiceImpl()); System.out.println("Server started"); } catch (Exception e) { -- GitLab