Commit f113ca2f by Patryk Czarnik

Hello world w SOAP

parent 0b248da0
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
<groupId>jakarta.xml.ws</groupId> <groupId>jakarta.xml.ws</groupId>
<artifactId>jakarta.xml.ws-api</artifactId> <artifactId>jakarta.xml.ws-api</artifactId>
<version>4.0.0</version> <version>4.0.0</version>
<scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.postgresql</groupId> <groupId>org.postgresql</groupId>
......
package hello;
import jakarta.jws.WebService;
@WebService
public class Usluga {
public String helloWorld() {
return "Hello world";
}
public String witaj(String imie) {
return "Witaj " + imie;
}
// TODO dodaj dwie metody:
// - zwracanie bieżącego czasu
// - oblicz(int x, int y, String operacja)
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment