-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHelloWorld.java
More file actions
30 lines (22 loc) · 681 Bytes
/
Copy pathHelloWorld.java
File metadata and controls
30 lines (22 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package test;
import javax.jws.WebService;
/**
* Created by zhangqq on 2016/8/26.
*/
public class HelloWorld {
public String sayTitle(String from) {
String result = "title is " + from;
System.out.println(result);
return result;
}
public String sayBody(String Other) {
String result = "-------------body is-------------- " + Other;
System.out.println(result);
return result;
}
public String sayAll(String title,String body) {
String result ="--------title:"+title+ "----------------/r/nbody:--------------------------- " + body;
System.out.println(result);
return result;
}
}