Commit 30fc4457 by Patryk Czarnik

SoapKlient - generowanie klas na podstawie WSDL

parent 4150549d
/target/
/.settings/
/.classpath
/.project
/*.iml
/.idea/
C:\Tools\wildfly-26.1.2.Final\bin\wsconsume -k -s src/main/java -o target/classes -p sklep.generated "http://localhost:8080/PC33-SoapSerwer-1.0/Sklep?wsdl"
/opt/java/wildfly-26.1.2.Final/bin/wsconsume.sh -k -o target/classes -s src/main/java -p sklep.generated "http://localhost:8080/PC33-SoapSerwer-1.0/Sklep?wsdl"
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>pl.alx.kjava</groupId>
<artifactId>PC34-SoapKlient</artifactId>
<version>1.0</version>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<dependencies>
<dependency>
<groupId>javax.jws</groupId>
<artifactId>javax.jws-api</artifactId>
<version>1.1</version>
</dependency>
<dependency>
<groupId>javax.xml.ws</groupId>
<artifactId>jaxws-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
<version>2.3.1</version>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<version>2.3.6</version>
</dependency>
<dependency>
<groupId>com.sun.xml.ws</groupId>
<artifactId>rt</artifactId>
<version>2.3.3</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</project>
\ No newline at end of file
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for customer complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="customer"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;element name="phoneNumber" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;element name="address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;element name="postalCode" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;element name="city" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "customer", propOrder = {
"email",
"name",
"phoneNumber",
"address",
"postalCode",
"city"
})
public class Customer {
protected String email;
protected String name;
protected String phoneNumber;
protected String address;
protected String postalCode;
protected String city;
/**
* Gets the value of the email property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEmail() {
return email;
}
/**
* Sets the value of the email property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEmail(String value) {
this.email = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setName(String value) {
this.name = value;
}
/**
* Gets the value of the phoneNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPhoneNumber() {
return phoneNumber;
}
/**
* Sets the value of the phoneNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPhoneNumber(String value) {
this.phoneNumber = value;
}
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAddress(String value) {
this.address = value;
}
/**
* Gets the value of the postalCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPostalCode() {
return postalCode;
}
/**
* Sets the value of the postalCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPostalCode(String value) {
this.postalCode = value;
}
/**
* Gets the value of the city property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCity() {
return city;
}
/**
* Sets the value of the city property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCity(String value) {
this.city = value;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for DBException complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="DBException"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DBException", propOrder = {
"message"
})
public class DBException {
protected String message;
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
}
package sklep.generated;
import javax.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.4.7
* 2022-12-10T14:52:10.811+01:00
* Generated source version: 3.4.7
*/
@WebFault(name = "DBException", targetNamespace = "http://soap.sklep/")
public class DBException_Exception extends Exception {
private sklep.generated.DBException faultInfo;
public DBException_Exception() {
super();
}
public DBException_Exception(String message) {
super(message);
}
public DBException_Exception(String message, java.lang.Throwable cause) {
super(message, cause);
}
public DBException_Exception(String message, sklep.generated.DBException dbException) {
super(message);
this.faultInfo = dbException;
}
public DBException_Exception(String message, sklep.generated.DBException dbException, java.lang.Throwable cause) {
super(message, cause);
this.faultInfo = dbException;
}
public sklep.generated.DBException getFaultInfo() {
return this.faultInfo;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for foto complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="foto"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "foto", propOrder = {
"id"
})
public class Foto {
protected int id;
/**
* Gets the value of the id property.
*
*/
public int getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(int value) {
this.id = value;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for fotoResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="fotoResponse"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="bytes" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "fotoResponse", propOrder = {
"bytes"
})
public class FotoResponse {
protected byte[] bytes;
/**
* Gets the value of the bytes property.
*
* @return
* possible object is
* byte[]
*/
public byte[] getBytes() {
return bytes;
}
/**
* Sets the value of the bytes property.
*
* @param value
* allowed object is
* byte[]
*/
public void setBytes(byte[] value) {
this.bytes = value;
}
}
package sklep.generated;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlElementDecl;
import javax.xml.bind.annotation.XmlRegistry;
import javax.xml.namespace.QName;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the sklep.generated package.
* &lt;p&gt;An ObjectFactory allows you to programatically
* construct new instances of the Java representation
* for XML content. The Java representation of XML
* content can consist of schema derived interfaces
* and classes representing the binding of schema
* type definitions, element declarations and model
* groups. Factory methods for each of these are
* provided in this class.
*
*/
@XmlRegistry
public class ObjectFactory {
private final static QName _Foto_QNAME = new QName("http://soap.sklep/", "foto");
private final static QName _FotoResponse_QNAME = new QName("http://soap.sklep/", "fotoResponse");
private final static QName _OdczytajJednegoKlienta_QNAME = new QName("http://soap.sklep/", "odczytajJednegoKlienta");
private final static QName _OdczytajJednegoKlientaResponse_QNAME = new QName("http://soap.sklep/", "odczytajJednegoKlientaResponse");
private final static QName _OdczytajJednoZamowienie_QNAME = new QName("http://soap.sklep/", "odczytajJednoZamowienie");
private final static QName _OdczytajJednoZamowienieResponse_QNAME = new QName("http://soap.sklep/", "odczytajJednoZamowienieResponse");
private final static QName _OdczytajWszystkichKlientow_QNAME = new QName("http://soap.sklep/", "odczytajWszystkichKlientow");
private final static QName _OdczytajWszystkichKlientowResponse_QNAME = new QName("http://soap.sklep/", "odczytajWszystkichKlientowResponse");
private final static QName _OdczytajWszystkieZamowienia_QNAME = new QName("http://soap.sklep/", "odczytajWszystkieZamowienia");
private final static QName _OdczytajWszystkieZamowieniaResponse_QNAME = new QName("http://soap.sklep/", "odczytajWszystkieZamowieniaResponse");
private final static QName _ReadAllProducts_QNAME = new QName("http://soap.sklep/", "readAllProducts");
private final static QName _ReadAllProductsResponse_QNAME = new QName("http://soap.sklep/", "readAllProductsResponse");
private final static QName _ReadOneProduct_QNAME = new QName("http://soap.sklep/", "readOneProduct");
private final static QName _ReadOneProductResponse_QNAME = new QName("http://soap.sklep/", "readOneProductResponse");
private final static QName _ReadProductsByPrice_QNAME = new QName("http://soap.sklep/", "readProductsByPrice");
private final static QName _ReadProductsByPriceResponse_QNAME = new QName("http://soap.sklep/", "readProductsByPriceResponse");
private final static QName _SaveProduct_QNAME = new QName("http://soap.sklep/", "saveProduct");
private final static QName _SaveProductResponse_QNAME = new QName("http://soap.sklep/", "saveProductResponse");
private final static QName _RecordNotFound_QNAME = new QName("http://soap.sklep/", "RecordNotFound");
private final static QName _DBException_QNAME = new QName("http://soap.sklep/", "DBException");
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: sklep.generated
*
*/
public ObjectFactory() {
}
/**
* Create an instance of {@link Order }
*
*/
public Order createOrder() {
return new Order();
}
/**
* Create an instance of {@link Foto }
*
*/
public Foto createFoto() {
return new Foto();
}
/**
* Create an instance of {@link FotoResponse }
*
*/
public FotoResponse createFotoResponse() {
return new FotoResponse();
}
/**
* Create an instance of {@link OdczytajJednegoKlienta }
*
*/
public OdczytajJednegoKlienta createOdczytajJednegoKlienta() {
return new OdczytajJednegoKlienta();
}
/**
* Create an instance of {@link OdczytajJednegoKlientaResponse }
*
*/
public OdczytajJednegoKlientaResponse createOdczytajJednegoKlientaResponse() {
return new OdczytajJednegoKlientaResponse();
}
/**
* Create an instance of {@link OdczytajJednoZamowienie }
*
*/
public OdczytajJednoZamowienie createOdczytajJednoZamowienie() {
return new OdczytajJednoZamowienie();
}
/**
* Create an instance of {@link OdczytajJednoZamowienieResponse }
*
*/
public OdczytajJednoZamowienieResponse createOdczytajJednoZamowienieResponse() {
return new OdczytajJednoZamowienieResponse();
}
/**
* Create an instance of {@link OdczytajWszystkichKlientow }
*
*/
public OdczytajWszystkichKlientow createOdczytajWszystkichKlientow() {
return new OdczytajWszystkichKlientow();
}
/**
* Create an instance of {@link OdczytajWszystkichKlientowResponse }
*
*/
public OdczytajWszystkichKlientowResponse createOdczytajWszystkichKlientowResponse() {
return new OdczytajWszystkichKlientowResponse();
}
/**
* Create an instance of {@link OdczytajWszystkieZamowienia }
*
*/
public OdczytajWszystkieZamowienia createOdczytajWszystkieZamowienia() {
return new OdczytajWszystkieZamowienia();
}
/**
* Create an instance of {@link OdczytajWszystkieZamowieniaResponse }
*
*/
public OdczytajWszystkieZamowieniaResponse createOdczytajWszystkieZamowieniaResponse() {
return new OdczytajWszystkieZamowieniaResponse();
}
/**
* Create an instance of {@link ReadAllProducts }
*
*/
public ReadAllProducts createReadAllProducts() {
return new ReadAllProducts();
}
/**
* Create an instance of {@link ReadAllProductsResponse }
*
*/
public ReadAllProductsResponse createReadAllProductsResponse() {
return new ReadAllProductsResponse();
}
/**
* Create an instance of {@link ReadOneProduct }
*
*/
public ReadOneProduct createReadOneProduct() {
return new ReadOneProduct();
}
/**
* Create an instance of {@link ReadOneProductResponse }
*
*/
public ReadOneProductResponse createReadOneProductResponse() {
return new ReadOneProductResponse();
}
/**
* Create an instance of {@link ReadProductsByPrice }
*
*/
public ReadProductsByPrice createReadProductsByPrice() {
return new ReadProductsByPrice();
}
/**
* Create an instance of {@link ReadProductsByPriceResponse }
*
*/
public ReadProductsByPriceResponse createReadProductsByPriceResponse() {
return new ReadProductsByPriceResponse();
}
/**
* Create an instance of {@link SaveProduct }
*
*/
public SaveProduct createSaveProduct() {
return new SaveProduct();
}
/**
* Create an instance of {@link SaveProductResponse }
*
*/
public SaveProductResponse createSaveProductResponse() {
return new SaveProductResponse();
}
/**
* Create an instance of {@link RecordNotFound }
*
*/
public RecordNotFound createRecordNotFound() {
return new RecordNotFound();
}
/**
* Create an instance of {@link DBException }
*
*/
public DBException createDBException() {
return new DBException();
}
/**
* Create an instance of {@link Product }
*
*/
public Product createProduct() {
return new Product();
}
/**
* Create an instance of {@link Customer }
*
*/
public Customer createCustomer() {
return new Customer();
}
/**
* Create an instance of {@link OrderProduct }
*
*/
public OrderProduct createOrderProduct() {
return new OrderProduct();
}
/**
* Create an instance of {@link Order.Products }
*
*/
public Order.Products createOrderProducts() {
return new Order.Products();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Foto }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Foto }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "foto")
public JAXBElement<Foto> createFoto(Foto value) {
return new JAXBElement<Foto>(_Foto_QNAME, Foto.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link FotoResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link FotoResponse }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "fotoResponse")
public JAXBElement<FotoResponse> createFotoResponse(FotoResponse value) {
return new JAXBElement<FotoResponse>(_FotoResponse_QNAME, FotoResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OdczytajJednegoKlienta }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OdczytajJednegoKlienta }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "odczytajJednegoKlienta")
public JAXBElement<OdczytajJednegoKlienta> createOdczytajJednegoKlienta(OdczytajJednegoKlienta value) {
return new JAXBElement<OdczytajJednegoKlienta>(_OdczytajJednegoKlienta_QNAME, OdczytajJednegoKlienta.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OdczytajJednegoKlientaResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OdczytajJednegoKlientaResponse }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "odczytajJednegoKlientaResponse")
public JAXBElement<OdczytajJednegoKlientaResponse> createOdczytajJednegoKlientaResponse(OdczytajJednegoKlientaResponse value) {
return new JAXBElement<OdczytajJednegoKlientaResponse>(_OdczytajJednegoKlientaResponse_QNAME, OdczytajJednegoKlientaResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OdczytajJednoZamowienie }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OdczytajJednoZamowienie }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "odczytajJednoZamowienie")
public JAXBElement<OdczytajJednoZamowienie> createOdczytajJednoZamowienie(OdczytajJednoZamowienie value) {
return new JAXBElement<OdczytajJednoZamowienie>(_OdczytajJednoZamowienie_QNAME, OdczytajJednoZamowienie.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OdczytajJednoZamowienieResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OdczytajJednoZamowienieResponse }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "odczytajJednoZamowienieResponse")
public JAXBElement<OdczytajJednoZamowienieResponse> createOdczytajJednoZamowienieResponse(OdczytajJednoZamowienieResponse value) {
return new JAXBElement<OdczytajJednoZamowienieResponse>(_OdczytajJednoZamowienieResponse_QNAME, OdczytajJednoZamowienieResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OdczytajWszystkichKlientow }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OdczytajWszystkichKlientow }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "odczytajWszystkichKlientow")
public JAXBElement<OdczytajWszystkichKlientow> createOdczytajWszystkichKlientow(OdczytajWszystkichKlientow value) {
return new JAXBElement<OdczytajWszystkichKlientow>(_OdczytajWszystkichKlientow_QNAME, OdczytajWszystkichKlientow.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OdczytajWszystkichKlientowResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OdczytajWszystkichKlientowResponse }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "odczytajWszystkichKlientowResponse")
public JAXBElement<OdczytajWszystkichKlientowResponse> createOdczytajWszystkichKlientowResponse(OdczytajWszystkichKlientowResponse value) {
return new JAXBElement<OdczytajWszystkichKlientowResponse>(_OdczytajWszystkichKlientowResponse_QNAME, OdczytajWszystkichKlientowResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OdczytajWszystkieZamowienia }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OdczytajWszystkieZamowienia }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "odczytajWszystkieZamowienia")
public JAXBElement<OdczytajWszystkieZamowienia> createOdczytajWszystkieZamowienia(OdczytajWszystkieZamowienia value) {
return new JAXBElement<OdczytajWszystkieZamowienia>(_OdczytajWszystkieZamowienia_QNAME, OdczytajWszystkieZamowienia.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OdczytajWszystkieZamowieniaResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OdczytajWszystkieZamowieniaResponse }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "odczytajWszystkieZamowieniaResponse")
public JAXBElement<OdczytajWszystkieZamowieniaResponse> createOdczytajWszystkieZamowieniaResponse(OdczytajWszystkieZamowieniaResponse value) {
return new JAXBElement<OdczytajWszystkieZamowieniaResponse>(_OdczytajWszystkieZamowieniaResponse_QNAME, OdczytajWszystkieZamowieniaResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadAllProducts }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadAllProducts }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "readAllProducts")
public JAXBElement<ReadAllProducts> createReadAllProducts(ReadAllProducts value) {
return new JAXBElement<ReadAllProducts>(_ReadAllProducts_QNAME, ReadAllProducts.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadAllProductsResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadAllProductsResponse }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "readAllProductsResponse")
public JAXBElement<ReadAllProductsResponse> createReadAllProductsResponse(ReadAllProductsResponse value) {
return new JAXBElement<ReadAllProductsResponse>(_ReadAllProductsResponse_QNAME, ReadAllProductsResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadOneProduct }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadOneProduct }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "readOneProduct")
public JAXBElement<ReadOneProduct> createReadOneProduct(ReadOneProduct value) {
return new JAXBElement<ReadOneProduct>(_ReadOneProduct_QNAME, ReadOneProduct.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadOneProductResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadOneProductResponse }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "readOneProductResponse")
public JAXBElement<ReadOneProductResponse> createReadOneProductResponse(ReadOneProductResponse value) {
return new JAXBElement<ReadOneProductResponse>(_ReadOneProductResponse_QNAME, ReadOneProductResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadProductsByPrice }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadProductsByPrice }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "readProductsByPrice")
public JAXBElement<ReadProductsByPrice> createReadProductsByPrice(ReadProductsByPrice value) {
return new JAXBElement<ReadProductsByPrice>(_ReadProductsByPrice_QNAME, ReadProductsByPrice.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadProductsByPriceResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadProductsByPriceResponse }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "readProductsByPriceResponse")
public JAXBElement<ReadProductsByPriceResponse> createReadProductsByPriceResponse(ReadProductsByPriceResponse value) {
return new JAXBElement<ReadProductsByPriceResponse>(_ReadProductsByPriceResponse_QNAME, ReadProductsByPriceResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SaveProduct }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link SaveProduct }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "saveProduct")
public JAXBElement<SaveProduct> createSaveProduct(SaveProduct value) {
return new JAXBElement<SaveProduct>(_SaveProduct_QNAME, SaveProduct.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SaveProductResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link SaveProductResponse }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "saveProductResponse")
public JAXBElement<SaveProductResponse> createSaveProductResponse(SaveProductResponse value) {
return new JAXBElement<SaveProductResponse>(_SaveProductResponse_QNAME, SaveProductResponse.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RecordNotFound }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link RecordNotFound }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "RecordNotFound")
public JAXBElement<RecordNotFound> createRecordNotFound(RecordNotFound value) {
return new JAXBElement<RecordNotFound>(_RecordNotFound_QNAME, RecordNotFound.class, null, value);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DBException }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link DBException }{@code >}
*/
@XmlElementDecl(namespace = "http://soap.sklep/", name = "DBException")
public JAXBElement<DBException> createDBException(DBException value) {
return new JAXBElement<DBException>(_DBException_QNAME, DBException.class, null, value);
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for odczytajJednegoKlienta complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajJednegoKlienta"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajJednegoKlienta", propOrder = {
"email"
})
public class OdczytajJednegoKlienta {
protected String email;
/**
* Gets the value of the email property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getEmail() {
return email;
}
/**
* Sets the value of the email property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEmail(String value) {
this.email = value;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for odczytajJednegoKlientaResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajJednegoKlientaResponse"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="customer" type="{http://soap.sklep/}customer" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajJednegoKlientaResponse", propOrder = {
"customer"
})
public class OdczytajJednegoKlientaResponse {
protected Customer customer;
/**
* Gets the value of the customer property.
*
* @return
* possible object is
* {@link Customer }
*
*/
public Customer getCustomer() {
return customer;
}
/**
* Sets the value of the customer property.
*
* @param value
* allowed object is
* {@link Customer }
*
*/
public void setCustomer(Customer value) {
this.customer = value;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for odczytajJednoZamowienie complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajJednoZamowienie"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajJednoZamowienie", propOrder = {
"id"
})
public class OdczytajJednoZamowienie {
protected int id;
/**
* Gets the value of the id property.
*
*/
public int getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(int value) {
this.id = value;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for odczytajJednoZamowienieResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajJednoZamowienieResponse"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="order" type="{http://soap.sklep/}order" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajJednoZamowienieResponse", propOrder = {
"order"
})
public class OdczytajJednoZamowienieResponse {
protected Order order;
/**
* Gets the value of the order property.
*
* @return
* possible object is
* {@link Order }
*
*/
public Order getOrder() {
return order;
}
/**
* Sets the value of the order property.
*
* @param value
* allowed object is
* {@link Order }
*
*/
public void setOrder(Order value) {
this.order = value;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for odczytajWszystkichKlientow complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajWszystkichKlientow"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajWszystkichKlientow")
public class OdczytajWszystkichKlientow {
}
package sklep.generated;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for odczytajWszystkichKlientowResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajWszystkichKlientowResponse"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="customer" type="{http://soap.sklep/}customer" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajWszystkichKlientowResponse", propOrder = {
"customer"
})
public class OdczytajWszystkichKlientowResponse {
protected List<Customer> customer;
/**
* Gets the value of the customer property.
*
* &lt;p&gt;
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the customer property.
*
* &lt;p&gt;
* For example, to add a new item, do as follows:
* &lt;pre&gt;
* getCustomer().add(newItem);
* &lt;/pre&gt;
*
*
* &lt;p&gt;
* Objects of the following type(s) are allowed in the list
* {@link Customer }
*
*
*/
public List<Customer> getCustomer() {
if (customer == null) {
customer = new ArrayList<Customer>();
}
return this.customer;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for odczytajWszystkieZamowienia complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajWszystkieZamowienia"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajWszystkieZamowienia")
public class OdczytajWszystkieZamowienia {
}
package sklep.generated;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for odczytajWszystkieZamowieniaResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajWszystkieZamowieniaResponse"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="order" type="{http://soap.sklep/}order" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajWszystkieZamowieniaResponse", propOrder = {
"order"
})
public class OdczytajWszystkieZamowieniaResponse {
protected List<Order> order;
/**
* Gets the value of the order property.
*
* &lt;p&gt;
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the order property.
*
* &lt;p&gt;
* For example, to add a new item, do as follows:
* &lt;pre&gt;
* getOrder().add(newItem);
* &lt;/pre&gt;
*
*
* &lt;p&gt;
* Objects of the following type(s) are allowed in the list
* {@link Order }
*
*
*/
public List<Order> getOrder() {
if (order == null) {
order = new ArrayList<Order>();
}
return this.order;
}
}
package sklep.generated;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for order complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="order"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="order-date" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;element name="products" minOccurs="0"&amp;gt;
* &amp;lt;complexType&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="product" type="{http://soap.sklep/}orderProduct" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &amp;lt;/element&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" /&amp;gt;
* &amp;lt;attribute name="customer-email" type="{http://www.w3.org/2001/XMLSchema}string" /&amp;gt;
* &amp;lt;attribute name="status" type="{http://soap.sklep/}status" /&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "order", propOrder = {
"orderDate",
"products"
})
public class Order {
@XmlElement(name = "order-date")
protected String orderDate;
protected Order.Products products;
@XmlAttribute(name = "id")
protected Integer id;
@XmlAttribute(name = "customer-email")
protected String customerEmail;
@XmlAttribute(name = "status")
protected Status status;
/**
* Gets the value of the orderDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOrderDate() {
return orderDate;
}
/**
* Sets the value of the orderDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOrderDate(String value) {
this.orderDate = value;
}
/**
* Gets the value of the products property.
*
* @return
* possible object is
* {@link Order.Products }
*
*/
public Order.Products getProducts() {
return products;
}
/**
* Sets the value of the products property.
*
* @param value
* allowed object is
* {@link Order.Products }
*
*/
public void setProducts(Order.Products value) {
this.products = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setId(Integer value) {
this.id = value;
}
/**
* Gets the value of the customerEmail property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCustomerEmail() {
return customerEmail;
}
/**
* Sets the value of the customerEmail property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCustomerEmail(String value) {
this.customerEmail = value;
}
/**
* Gets the value of the status property.
*
* @return
* possible object is
* {@link Status }
*
*/
public Status getStatus() {
return status;
}
/**
* Sets the value of the status property.
*
* @param value
* allowed object is
* {@link Status }
*
*/
public void setStatus(Status value) {
this.status = value;
}
/**
* &lt;p&gt;Java class for anonymous complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="product" type="{http://soap.sklep/}orderProduct" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"product"
})
public static class Products {
protected List<OrderProduct> product;
/**
* Gets the value of the product property.
*
* &lt;p&gt;
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the product property.
*
* &lt;p&gt;
* For example, to add a new item, do as follows:
* &lt;pre&gt;
* getProduct().add(newItem);
* &lt;/pre&gt;
*
*
* &lt;p&gt;
* Objects of the following type(s) are allowed in the list
* {@link OrderProduct }
*
*
*/
public List<OrderProduct> getProduct() {
if (product == null) {
product = new ArrayList<OrderProduct>();
}
return this.product;
}
}
}
package sklep.generated;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for orderProduct complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="orderProduct"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="quantity" type="{http://www.w3.org/2001/XMLSchema}int"/&amp;gt;
* &amp;lt;element name="actual-price" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;attribute name="order-id" type="{http://www.w3.org/2001/XMLSchema}int" /&amp;gt;
* &amp;lt;attribute name="product-id" type="{http://www.w3.org/2001/XMLSchema}int" /&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "orderProduct", propOrder = {
"quantity",
"actualPrice"
})
public class OrderProduct {
protected int quantity;
@XmlElement(name = "actual-price")
protected BigDecimal actualPrice;
@XmlAttribute(name = "order-id")
protected Integer orderId;
@XmlAttribute(name = "product-id")
protected Integer productId;
/**
* Gets the value of the quantity property.
*
*/
public int getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
*/
public void setQuantity(int value) {
this.quantity = value;
}
/**
* Gets the value of the actualPrice property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getActualPrice() {
return actualPrice;
}
/**
* Sets the value of the actualPrice property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setActualPrice(BigDecimal value) {
this.actualPrice = value;
}
/**
* Gets the value of the orderId property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getOrderId() {
return orderId;
}
/**
* Sets the value of the orderId property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setOrderId(Integer value) {
this.orderId = value;
}
/**
* Gets the value of the productId property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getProductId() {
return productId;
}
/**
* Sets the value of the productId property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setProductId(Integer value) {
this.productId = value;
}
}
package sklep.generated;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for product complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="product"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="product-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/&amp;gt;
* &amp;lt;element name="vat" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/&amp;gt;
* &amp;lt;element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" /&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "product", propOrder = {
"productName",
"price",
"vat",
"description"
})
public class Product {
@XmlElement(name = "product-name")
protected String productName;
protected BigDecimal price;
protected BigDecimal vat;
protected String description;
@XmlAttribute(name = "id")
protected Integer id;
/**
* Gets the value of the productName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getProductName() {
return productName;
}
/**
* Sets the value of the productName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setProductName(String value) {
this.productName = value;
}
/**
* Gets the value of the price property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPrice() {
return price;
}
/**
* Sets the value of the price property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setPrice(BigDecimal value) {
this.price = value;
}
/**
* Gets the value of the vat property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getVat() {
return vat;
}
/**
* Sets the value of the vat property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setVat(BigDecimal value) {
this.vat = value;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDescription() {
return description;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDescription(String value) {
this.description = value;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public Integer getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public void setId(Integer value) {
this.id = value;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for readAllProducts complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="readAllProducts"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "readAllProducts")
public class ReadAllProducts {
}
package sklep.generated;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for readAllProductsResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="readAllProductsResponse"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="product" type="{http://soap.sklep/}product" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "readAllProductsResponse", propOrder = {
"product"
})
public class ReadAllProductsResponse {
protected List<Product> product;
/**
* Gets the value of the product property.
*
* &lt;p&gt;
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the product property.
*
* &lt;p&gt;
* For example, to add a new item, do as follows:
* &lt;pre&gt;
* getProduct().add(newItem);
* &lt;/pre&gt;
*
*
* &lt;p&gt;
* Objects of the following type(s) are allowed in the list
* {@link Product }
*
*
*/
public List<Product> getProduct() {
if (product == null) {
product = new ArrayList<Product>();
}
return this.product;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for readOneProduct complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="readOneProduct"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "readOneProduct", propOrder = {
"id"
})
public class ReadOneProduct {
protected int id;
/**
* Gets the value of the id property.
*
*/
public int getId() {
return id;
}
/**
* Sets the value of the id property.
*
*/
public void setId(int value) {
this.id = value;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for readOneProductResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="readOneProductResponse"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="product" type="{http://soap.sklep/}product" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "readOneProductResponse", propOrder = {
"product"
})
public class ReadOneProductResponse {
protected Product product;
/**
* Gets the value of the product property.
*
* @return
* possible object is
* {@link Product }
*
*/
public Product getProduct() {
return product;
}
/**
* Sets the value of the product property.
*
* @param value
* allowed object is
* {@link Product }
*
*/
public void setProduct(Product value) {
this.product = value;
}
}
package sklep.generated;
import java.math.BigDecimal;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for readProductsByPrice complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="readProductsByPrice"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="min" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/&amp;gt;
* &amp;lt;element name="max" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "readProductsByPrice", propOrder = {
"min",
"max"
})
public class ReadProductsByPrice {
protected BigDecimal min;
protected BigDecimal max;
/**
* Gets the value of the min property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMin() {
return min;
}
/**
* Sets the value of the min property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setMin(BigDecimal value) {
this.min = value;
}
/**
* Gets the value of the max property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMax() {
return max;
}
/**
* Sets the value of the max property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public void setMax(BigDecimal value) {
this.max = value;
}
}
package sklep.generated;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for readProductsByPriceResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="readProductsByPriceResponse"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="product" type="{http://soap.sklep/}product" maxOccurs="unbounded" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "readProductsByPriceResponse", propOrder = {
"product"
})
public class ReadProductsByPriceResponse {
protected List<Product> product;
/**
* Gets the value of the product property.
*
* &lt;p&gt;
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a &lt;CODE&gt;set&lt;/CODE&gt; method for the product property.
*
* &lt;p&gt;
* For example, to add a new item, do as follows:
* &lt;pre&gt;
* getProduct().add(newItem);
* &lt;/pre&gt;
*
*
* &lt;p&gt;
* Objects of the following type(s) are allowed in the list
* {@link Product }
*
*
*/
public List<Product> getProduct() {
if (product == null) {
product = new ArrayList<Product>();
}
return this.product;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for RecordNotFound complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="RecordNotFound"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RecordNotFound", propOrder = {
"message"
})
public class RecordNotFound {
protected String message;
/**
* Gets the value of the message property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMessage() {
return message;
}
/**
* Sets the value of the message property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMessage(String value) {
this.message = value;
}
}
package sklep.generated;
import javax.xml.ws.WebFault;
/**
* This class was generated by Apache CXF 3.4.7
* 2022-12-10T14:52:10.758+01:00
* Generated source version: 3.4.7
*/
@WebFault(name = "RecordNotFound", targetNamespace = "http://soap.sklep/")
public class RecordNotFound_Exception extends Exception {
private sklep.generated.RecordNotFound faultInfo;
public RecordNotFound_Exception() {
super();
}
public RecordNotFound_Exception(String message) {
super(message);
}
public RecordNotFound_Exception(String message, java.lang.Throwable cause) {
super(message, cause);
}
public RecordNotFound_Exception(String message, sklep.generated.RecordNotFound recordNotFound) {
super(message);
this.faultInfo = recordNotFound;
}
public RecordNotFound_Exception(String message, sklep.generated.RecordNotFound recordNotFound, java.lang.Throwable cause) {
super(message, cause);
this.faultInfo = recordNotFound;
}
public sklep.generated.RecordNotFound getFaultInfo() {
return this.faultInfo;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for saveProduct complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="saveProduct"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;element name="product" type="{http://soap.sklep/}product" minOccurs="0"/&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "saveProduct", propOrder = {
"product"
})
public class SaveProduct {
protected Product product;
/**
* Gets the value of the product property.
*
* @return
* possible object is
* {@link Product }
*
*/
public Product getProduct() {
return product;
}
/**
* Sets the value of the product property.
*
* @param value
* allowed object is
* {@link Product }
*
*/
public void setProduct(Product value) {
this.product = value;
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for saveProductResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="saveProductResponse"&amp;gt;
* &amp;lt;complexContent&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&amp;gt;
* &amp;lt;sequence&amp;gt;
* &amp;lt;/sequence&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/complexContent&amp;gt;
* &amp;lt;/complexType&amp;gt;
* &lt;/pre&gt;
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "saveProductResponse")
public class SaveProductResponse {
}
package sklep.generated;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.ws.RequestWrapper;
import javax.xml.ws.ResponseWrapper;
/**
* This class was generated by Apache CXF 3.4.7
* 2022-12-10T14:52:10.825+01:00
* Generated source version: 3.4.7
*
*/
@WebService(targetNamespace = "http://soap.sklep/", name = "Sklep")
@XmlSeeAlso({ObjectFactory.class})
public interface Sklep {
@WebMethod
@RequestWrapper(localName = "readOneProduct", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ReadOneProduct")
@ResponseWrapper(localName = "readOneProductResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ReadOneProductResponse")
@WebResult(name = "product", targetNamespace = "")
public sklep.generated.Product readOneProduct(
@WebParam(name = "id", targetNamespace = "")
int id
) throws RecordNotFound_Exception, DBException_Exception;
@WebMethod
@RequestWrapper(localName = "odczytajJednegoKlienta", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajJednegoKlienta")
@ResponseWrapper(localName = "odczytajJednegoKlientaResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajJednegoKlientaResponse")
@WebResult(name = "customer", targetNamespace = "")
public sklep.generated.Customer odczytajJednegoKlienta(
@WebParam(name = "email", targetNamespace = "")
java.lang.String email
) throws RecordNotFound_Exception, DBException_Exception;
@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 = "odczytajWszystkichKlientow", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajWszystkichKlientow")
@ResponseWrapper(localName = "odczytajWszystkichKlientowResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajWszystkichKlientowResponse")
@WebResult(name = "customer", targetNamespace = "")
public java.util.List<sklep.generated.Customer> odczytajWszystkichKlientow()
throws DBException_Exception;
@WebMethod
@RequestWrapper(localName = "odczytajWszystkieZamowienia", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajWszystkieZamowienia")
@ResponseWrapper(localName = "odczytajWszystkieZamowieniaResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajWszystkieZamowieniaResponse")
@WebResult(name = "order", targetNamespace = "")
public java.util.List<sklep.generated.Order> odczytajWszystkieZamowienia()
throws DBException_Exception;
@WebMethod
@RequestWrapper(localName = "readProductsByPrice", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ReadProductsByPrice")
@ResponseWrapper(localName = "readProductsByPriceResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ReadProductsByPriceResponse")
@WebResult(name = "product", targetNamespace = "")
public java.util.List<sklep.generated.Product> readProductsByPrice(
@WebParam(name = "min", targetNamespace = "")
java.math.BigDecimal min,
@WebParam(name = "max", targetNamespace = "")
java.math.BigDecimal max
) throws DBException_Exception;
@WebMethod
@RequestWrapper(localName = "readAllProducts", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ReadAllProducts")
@ResponseWrapper(localName = "readAllProductsResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ReadAllProductsResponse")
@WebResult(name = "product", targetNamespace = "")
public java.util.List<sklep.generated.Product> readAllProducts()
throws DBException_Exception;
@WebMethod
@RequestWrapper(localName = "saveProduct", targetNamespace = "http://soap.sklep/", className = "sklep.generated.SaveProduct")
@ResponseWrapper(localName = "saveProductResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.SaveProductResponse")
public void saveProduct(
@WebParam(name = "product", targetNamespace = "")
sklep.generated.Product product
) throws DBException_Exception;
@WebMethod
@RequestWrapper(localName = "odczytajJednoZamowienie", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajJednoZamowienie")
@ResponseWrapper(localName = "odczytajJednoZamowienieResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajJednoZamowienieResponse")
@WebResult(name = "order", targetNamespace = "")
public sklep.generated.Order odczytajJednoZamowienie(
@WebParam(name = "id", targetNamespace = "")
int id
) throws RecordNotFound_Exception, DBException_Exception;
}
package sklep.generated;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* This class was generated by Apache CXF 3.4.7
* 2022-12-10T14:52:10.845+01:00
* Generated source version: 3.4.7
*
*/
@WebServiceClient(name = "SklepService",
wsdlLocation = "http://localhost:8080/PC33-SoapSerwer-1.0/Sklep?wsdl",
targetNamespace = "http://soap.sklep/")
public class SklepService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://soap.sklep/", "SklepService");
public final static QName SklepPort = new QName("http://soap.sklep/", "SklepPort");
static {
URL url = null;
try {
url = new URL("http://localhost:8080/PC33-SoapSerwer-1.0/Sklep?wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(SklepService.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "http://localhost:8080/PC33-SoapSerwer-1.0/Sklep?wsdl");
}
WSDL_LOCATION = url;
}
public SklepService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public SklepService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public SklepService() {
super(WSDL_LOCATION, SERVICE);
}
public SklepService(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
public SklepService(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
public SklepService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns Sklep
*/
@WebEndpoint(name = "SklepPort")
public Sklep getSklepPort() {
return super.getPort(SklepPort, Sklep.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the <code>features</code> parameter will have their default values.
* @return
* returns Sklep
*/
@WebEndpoint(name = "SklepPort")
public Sklep getSklepPort(WebServiceFeature... features) {
return super.getPort(SklepPort, Sklep.class, features);
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;
/**
* &lt;p&gt;Java class for status.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
* &lt;pre&gt;
* &amp;lt;simpleType name="status"&amp;gt;
* &amp;lt;restriction base="{http://www.w3.org/2001/XMLSchema}string"&amp;gt;
* &amp;lt;enumeration value="NEW"/&amp;gt;
* &amp;lt;enumeration value="CONFIRMED"/&amp;gt;
* &amp;lt;enumeration value="PAID"/&amp;gt;
* &amp;lt;enumeration value="SHIPPED"/&amp;gt;
* &amp;lt;enumeration value="CLOSED"/&amp;gt;
* &amp;lt;enumeration value="RETURNED"/&amp;gt;
* &amp;lt;/restriction&amp;gt;
* &amp;lt;/simpleType&amp;gt;
* &lt;/pre&gt;
*
*/
@XmlType(name = "status")
@XmlEnum
public enum Status {
NEW,
CONFIRMED,
PAID,
SHIPPED,
CLOSED,
RETURNED;
public String value() {
return name();
}
public static Status fromValue(String v) {
return valueOf(v);
}
}
@javax.xml.bind.annotation.XmlSchema(namespace = "http://soap.sklep/")
package sklep.generated;
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