Projektstruktur vereinfacht

This commit is contained in:
2026-01-07 15:14:23 +01:00
parent a801d74d86
commit f952431eeb
68 changed files with 5 additions and 97 deletions

View File

@@ -0,0 +1,27 @@
package omdsclient;
import at.vvo.omds.client.api.SOAPConnector;
import at.vvo.omds.client.api.UnfallCalcService;
import at.vvo.omds.client.api.unfall.*;
import org.junit.jupiter.api.Test;
import java.util.logging.Logger;
public class OmdsclientApplicationTests {
Logger log = Logger.getLogger(OmdsclientApplicationTests.class.getName());
SOAPConnector soapConnector = new SOAPConnector();
UnfallCalcService serviceWst = new UnfallCalcService(soapConnector);
@Test
public void contextLoads() throws Exception {
VerkaufsproduktUnfall input = DefaultUnfallBuilder.createDefault();
log.info(input.toString());
// Berechnung
VerkaufsproduktUnfall result = serviceWst.calc(input);
// zeige Ergebnis
log.info(result.toString());
}
}