Commit 4150549d by Patryk Czarnik

@MTOM

parent 200d3419
...@@ -6,6 +6,7 @@ import java.util.List; ...@@ -6,6 +6,7 @@ import java.util.List;
import javax.jws.WebParam; import javax.jws.WebParam;
import javax.jws.WebResult; import javax.jws.WebResult;
import javax.jws.WebService; import javax.jws.WebService;
import javax.xml.ws.soap.MTOM;
import sklep.db.CustomerDAO; import sklep.db.CustomerDAO;
import sklep.db.DBConnection; import sklep.db.DBConnection;
...@@ -19,6 +20,7 @@ import sklep.model.Product; ...@@ -19,6 +20,7 @@ import sklep.model.Product;
import sklep.photo.PhotoUtil; import sklep.photo.PhotoUtil;
@WebService @WebService
@MTOM
public class Sklep { public class Sklep {
@WebResult(name="product") @WebResult(name="product")
public List<Product> readAllProducts() throws DBException { public List<Product> readAllProducts() throws DBException {
......
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