package sklep.generated;

import jakarta.jws.WebMethod;
import jakarta.jws.WebParam;
import jakarta.jws.WebResult;
import jakarta.jws.WebService;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.ws.RequestWrapper;
import jakarta.xml.ws.ResponseWrapper;

/**
 * This class was generated by Apache CXF 4.0.0
 * 2023-08-19T14:54:48.963+02:00
 * Generated source version: 4.0.0
 *
 */
@WebService(targetNamespace = "http://soap.sklep/", name = "Sklep")
@XmlSeeAlso({ObjectFactory.class})
public interface Sklep {

    @WebMethod
    @RequestWrapper(localName = "oblicz", targetNamespace = "http://soap.sklep/", className = "sklep.generated.Oblicz")
    @ResponseWrapper(localName = "obliczResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ObliczResponse")
    @WebResult(name = "wynik", targetNamespace = "")
    public double oblicz(

        @WebParam(name = "liczba1", targetNamespace = "")
        double liczba1,
        @WebParam(name = "liczba2", targetNamespace = "")
        double liczba2,
        @WebParam(name = "dzialanie", targetNamespace = "")
        java.lang.String dzialanie
    );

    @WebMethod
    @RequestWrapper(localName = "foto", targetNamespace = "http://soap.sklep/", className = "sklep.generated.Foto")
    @ResponseWrapper(localName = "fotoResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.FotoResponse")
    @WebResult(name = "bytes", targetNamespace = "")
    public byte[] foto(

        @WebParam(name = "id", targetNamespace = "")
        int id
    ) throws RecordNotFound_Exception, DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "jedenProdukt", targetNamespace = "http://soap.sklep/", className = "sklep.generated.JedenProdukt")
    @ResponseWrapper(localName = "jedenProduktResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.JedenProduktResponse")
    @WebResult(name = "product", targetNamespace = "")
    public sklep.generated.Product jedenProdukt(

        @WebParam(name = "id", targetNamespace = "")
        int id
    ) throws RecordNotFound_Exception, DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "jednoZamowienia", targetNamespace = "http://soap.sklep/", className = "sklep.generated.JednoZamowienia")
    @ResponseWrapper(localName = "jednoZamowieniaResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.JednoZamowieniaResponse")
    @WebResult(name = "order", targetNamespace = "")
    public sklep.generated.Order jednoZamowienia(

        @WebParam(name = "id", targetNamespace = "")
        int id
    ) throws RecordNotFound_Exception, DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "wszystkieProdukty", targetNamespace = "http://soap.sklep/", className = "sklep.generated.WszystkieProdukty")
    @ResponseWrapper(localName = "wszystkieProduktyResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.WszystkieProduktyResponse")
    @WebResult(name = "product", targetNamespace = "")
    public java.util.List<sklep.generated.Product> wszystkieProdukty()
 throws DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "zapiszProdukt", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZapiszProdukt")
    @ResponseWrapper(localName = "zapiszProduktResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZapiszProduktResponse")
    public void zapiszProdukt(

        @WebParam(mode = WebParam.Mode.INOUT, name = "product", targetNamespace = "")
        jakarta.xml.ws.Holder<Product> product
    ) throws DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "zapiszFoto", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZapiszFoto")
    @ResponseWrapper(localName = "zapiszFotoResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZapiszFotoResponse")
    public void zapiszFoto(

        @WebParam(name = "id", targetNamespace = "")
        int id,
        @WebParam(name = "bytes", targetNamespace = "")
        byte[] bytes
    );

    @WebMethod
    @RequestWrapper(localName = "jedenKlient", targetNamespace = "http://soap.sklep/", className = "sklep.generated.JedenKlient")
    @ResponseWrapper(localName = "jedenKlientResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.JedenKlientResponse")
    @WebResult(name = "customer", targetNamespace = "")
    public sklep.generated.Customer jedenKlient(

        @WebParam(name = "email", targetNamespace = "")
        java.lang.String email
    ) throws RecordNotFound_Exception, DBException_Exception;

    @WebMethod
    @RequestWrapper(localName = "ktoraGodzina", targetNamespace = "http://soap.sklep/", className = "sklep.generated.KtoraGodzina")
    @ResponseWrapper(localName = "ktoraGodzinaResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.KtoraGodzinaResponse")
    @WebResult(name = "dt", targetNamespace = "")
    public java.lang.String ktoraGodzina()
;

    @WebMethod
    @RequestWrapper(localName = "hello", targetNamespace = "http://soap.sklep/", className = "sklep.generated.Hello")
    @ResponseWrapper(localName = "helloResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.HelloResponse")
    @WebResult(name = "return", targetNamespace = "")
    public java.lang.String hello(

        @WebParam(name = "arg0", targetNamespace = "")
        java.lang.String arg0
    );

    @WebMethod
    @RequestWrapper(localName = "produktyWgCeny", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ProduktyWgCeny")
    @ResponseWrapper(localName = "produktyWgCenyResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ProduktyWgCenyResponse")
    @WebResult(name = "product", targetNamespace = "")
    public java.util.List<sklep.generated.Product> produktyWgCeny(

        @WebParam(name = "min", targetNamespace = "")
        java.math.BigDecimal min,
        @WebParam(name = "max", targetNamespace = "")
        java.math.BigDecimal max
    ) throws DBException_Exception;
}
