Commit 2052de65 by Patryk Czarnik

Hello world w SOAP

parent 93495183
......@@ -23,4 +23,26 @@
</plugin>
</plugins>
</build>
<dependencies>
<!-- 3 zależności nie byłyby potrzebne w Javie 8.
Technologie JAX-WS oraz JAXB były częścią Java Standard Edition w wersjach od 6 do 10.
W Java 11 usunięto je ze Standard Edition i od tej pory trzeba dołączać jako biblioteki.
-->
<dependency>
<groupId>javax.jws</groupId>
<artifactId>javax.jws-api</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
</dependencies>
</project>
package hello;
import javax.jws.WebService;
@WebService
public class PierwszySerwis {
public String witaj(String imie) {
return "Witaj " + imie;
}
}
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