Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
2
20230403
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
20230403
Commits
f113ca2f
Commit
f113ca2f
authored
May 24, 2023
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hello world w SOAP
parent
0b248da0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
pom.xml
PC31-SoapSerwer/pom.xml
+1
-0
Usluga.java
PC31-SoapSerwer/src/main/java/hello/Usluga.java
+21
-0
No files found.
PC31-SoapSerwer/pom.xml
View file @
f113ca2f
...
@@ -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>
...
...
PC31-SoapSerwer/src/main/java/hello/Usluga.java
0 → 100644
View file @
f113ca2f
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)
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment