esercizi webservices wsdl
This commit is contained in:
18
exercise2_ws/BookWebService.java
Normal file
18
exercise2_ws/BookWebService.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package exercise2_ws;
|
||||
|
||||
|
||||
import javax.jws.WebService;
|
||||
|
||||
/**
|
||||
* Created by Giovanni on 13/06/2015.
|
||||
*/
|
||||
|
||||
@WebService(endpointInterface ="exercise2_ws.wsinterface")
|
||||
public class BookWebService implements wsinterface {
|
||||
|
||||
public boolean checkbook(Book b) {
|
||||
if (b.getIsbn() == null)
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user