Skip to content

Commit af24bd9

Browse files
committed
creando la interface del servicio web
1 parent 60f2f69 commit af24bd9

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package com.mycompany.calculonotas.service;
2+
3+
import javax.jws.WebParam;
4+
import javax.jws.WebService;
5+
6+
@SuppressWarnings("restriction")
7+
@WebService
8+
public interface NotaService {
9+
10+
public double calcularNotaFinalDSD(@WebParam(name = "pc1") double pc1,
11+
@WebParam(name = "pc2") double pc2,
12+
@WebParam(name = "pa1") double pa1,
13+
@WebParam(name = "tp") double tp,
14+
@WebParam(name = "tf") double tf);
15+
16+
public double calcularTFParaAprobarDSD(@WebParam(name = "pc1") double pc1,
17+
@WebParam(name = "pc2") double pc2,
18+
@WebParam(name = "pa1") double pa1,
19+
@WebParam(name = "tp") double tp,
20+
@WebParam(name = "tf") double tf,
21+
@WebParam(name = "nf") double nf
22+
);
23+
24+
25+
}
Binary file not shown.

calculonotas/target/m2e-wtp/web-resources/META-INF/maven/com.mycompany/calculonotas/pom.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#Generated by Maven Integration for Eclipse
2-
#Sat Aug 18 17:59:29 PET 2012
2+
#Sat Aug 18 18:06:20 PET 2012
33
version=1.0
44
groupId=com.mycompany
55
m2e.projectName=calculonotas

0 commit comments

Comments
 (0)