Commit 32662751 by Patryk Czarnik

Wygenerowanie klas na podstawie WSDL narzędziem wsconsume

parent 2c658b16
C:\Tools\wildfly-26.1.2.Final\bin\wsconsume -k -s src/main/java -o target/classes -p sklep.generated "http://localhost:8080/PC32-SoapSerwer-1.0/Sklep?wsdl"
public class Hello {
public static void main(String[] args) {
}
}
package sklep.generated;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for customer complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="customer">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="phone" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="address" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="postal-code" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="city" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "customer", propOrder = {
"email",
"name",
"phone",
"address",
"postalCode",
"city"
})
public class Customer {
protected String email;
protected String name;
protected String phone;
protected String address;
@XmlElement(name = "postal-code")
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 phone property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPhone() {
return phone;
}
/**
* Sets the value of the phone property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPhone(String value) {
this.phone = 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;
/**
* <p>Java class for DBException complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="DBException">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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-10-06T14:00:38.050+02: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;
/**
* <p>Java class for foto complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="foto">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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;
/**
* <p>Java class for fotoResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="fotoResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="bytes" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for odczytajJedenProdukt complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="odczytajJedenProdukt">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajJedenProdukt", propOrder = {
"id"
})
public class OdczytajJedenProdukt {
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;
/**
* <p>Java class for odczytajJedenProduktResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="odczytajJedenProduktResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="product" type="{http://soap.sklep/}product" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "odczytajJedenProduktResponse", propOrder = {
"product"
})
public class OdczytajJedenProduktResponse {
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;
/**
* <p>Java class for odczytajJednegoKlienta complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="odczytajJednegoKlienta">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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;
/**
* <p>Java class for odczytajJednegoKlientaResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="odczytajJednegoKlientaResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="customer" type="{http://soap.sklep/}customer" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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;
/**
* <p>Java class for odczytajJednoZamowienie complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="odczytajJednoZamowienie">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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;
/**
* <p>Java class for odczytajJednoZamowienieResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="odczytajJednoZamowienieResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="order" type="{http://soap.sklep/}order" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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;
/**
* <p>Java class for odczytajWszystkichKlientow complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="odczytajWszystkichKlientow">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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;
/**
* <p>Java class for odczytajWszystkichKlientowResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="odczytajWszystkichKlientowResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="customer" type="{http://soap.sklep/}customer" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@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 odczytajWszystkieProdukty complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajWszystkieProdukty"&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 = "odczytajWszystkieProdukty")
public class OdczytajWszystkieProdukty {
}
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 odczytajWszystkieProduktyResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="odczytajWszystkieProduktyResponse"&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 = "odczytajWszystkieProduktyResponse", propOrder = {
"product"
})
public class OdczytajWszystkieProduktyResponse {
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 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="customer-email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&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="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 = {
"customerEmail",
"orderDate",
"products"
})
public class Order {
@XmlElement(name = "customer-email")
protected String customerEmail;
@XmlElement(name = "order-date")
protected String orderDate;
protected Order.Products products;
@XmlAttribute(name = "id")
protected Integer id;
@XmlAttribute(name = "status")
protected Status status;
/**
* 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 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 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.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="orderId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/&amp;gt;
* &amp;lt;element name="productId" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/&amp;gt;
* &amp;lt;element name="quantity" type="{http://www.w3.org/2001/XMLSchema}int"/&amp;gt;
* &amp;lt;element name="actualPrice" 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 = "orderProduct", propOrder = {
"orderId",
"productId",
"quantity",
"actualPrice"
})
public class OrderProduct {
protected Integer orderId;
protected Integer productId;
protected int quantity;
protected BigDecimal actualPrice;
/**
* 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;
}
/**
* 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;
}
}
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.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="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 = {
"name",
"price",
"vat",
"description"
})
public class Product {
protected String name;
protected BigDecimal price;
protected BigDecimal vat;
protected String description;
@XmlAttribute(name = "id")
protected Integer id;
/**
* 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 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 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 produktyWgCeny complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="produktyWgCeny"&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 = "produktyWgCeny", propOrder = {
"min",
"max"
})
public class ProduktyWgCeny {
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 produktyWgCenyResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="produktyWgCenyResponse"&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 = "produktyWgCenyResponse", propOrder = {
"product"
})
public class ProduktyWgCenyResponse {
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-10-06T14:00:38.098+02: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.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-10-06T14:00:38.108+02:00
* Generated source version: 3.4.7
*
*/
@WebService(targetNamespace = "http://soap.sklep/", name = "Sklep")
@XmlSeeAlso({ObjectFactory.class})
public interface Sklep {
@WebMethod
@RequestWrapper(localName = "odczytajWszystkieProdukty", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajWszystkieProdukty")
@ResponseWrapper(localName = "odczytajWszystkieProduktyResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajWszystkieProduktyResponse")
@WebResult(name = "product", targetNamespace = "")
public java.util.List<sklep.generated.Product> odczytajWszystkieProdukty()
throws 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 = "zapiszProdukt", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZapiszProdukt")
@ResponseWrapper(localName = "zapiszProduktResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.ZapiszProduktResponse")
public void zapiszProdukt(
@WebParam(name = "product", targetNamespace = "")
sklep.generated.Product product
) 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 = "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;
@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;
@WebMethod
@RequestWrapper(localName = "odczytajJedenProdukt", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajJedenProdukt")
@ResponseWrapper(localName = "odczytajJedenProduktResponse", targetNamespace = "http://soap.sklep/", className = "sklep.generated.OdczytajJedenProduktResponse")
@WebResult(name = "product", targetNamespace = "")
public sklep.generated.Product odczytajJedenProdukt(
@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-10-06T14:00:38.131+02:00
* Generated source version: 3.4.7
*
*/
@WebServiceClient(name = "SklepService",
wsdlLocation = "http://localhost:8080/PC32-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/PC32-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/PC32-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);
}
}
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 zapiszProdukt complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="zapiszProdukt"&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 = "zapiszProdukt", propOrder = {
"product"
})
public class ZapiszProdukt {
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 zapiszProduktResponse complex type.
*
* &lt;p&gt;The following schema fragment specifies the expected content contained within this class.
*
* &lt;pre&gt;
* &amp;lt;complexType name="zapiszProduktResponse"&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 = "zapiszProduktResponse")
public class ZapiszProduktResponse {
}
@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