Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
javab_20230617
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Patryk Czarnik
javab_20230617
Commits
39e5a12f
Commit
39e5a12f
authored
Aug 19, 2023
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Wygenerowanie klas na podstawie WSDL
parent
ece31547
Hide whitespace changes
Inline
Side-by-side
Showing
36 changed files
with
3189 additions
and
0 deletions
+3189
-0
polecenie.txt
PC31-SoapKlient/polecenie.txt
+1
-0
Customer.java
PC31-SoapKlient/src/main/java/sklep/generated/Customer.java
+198
-0
DBException.java
...SoapKlient/src/main/java/sklep/generated/DBException.java
+60
-0
DBException_Exception.java
.../src/main/java/sklep/generated/DBException_Exception.java
+43
-0
Foto.java
PC31-SoapKlient/src/main/java/sklep/generated/Foto.java
+52
-0
FotoResponse.java
...oapKlient/src/main/java/sklep/generated/FotoResponse.java
+58
-0
Hello.java
PC31-SoapKlient/src/main/java/sklep/generated/Hello.java
+60
-0
HelloResponse.java
...apKlient/src/main/java/sklep/generated/HelloResponse.java
+62
-0
JedenKlient.java
...SoapKlient/src/main/java/sklep/generated/JedenKlient.java
+60
-0
JedenKlientResponse.java
...nt/src/main/java/sklep/generated/JedenKlientResponse.java
+60
-0
JedenProdukt.java
...oapKlient/src/main/java/sklep/generated/JedenProdukt.java
+52
-0
JedenProduktResponse.java
...t/src/main/java/sklep/generated/JedenProduktResponse.java
+60
-0
JednoZamowienia.java
...Klient/src/main/java/sklep/generated/JednoZamowienia.java
+52
-0
JednoZamowieniaResponse.java
...rc/main/java/sklep/generated/JednoZamowieniaResponse.java
+60
-0
KtoraGodzina.java
...oapKlient/src/main/java/sklep/generated/KtoraGodzina.java
+32
-0
KtoraGodzinaResponse.java
...t/src/main/java/sklep/generated/KtoraGodzinaResponse.java
+60
-0
ObjectFactory.java
...apKlient/src/main/java/sklep/generated/ObjectFactory.java
+661
-0
Oblicz.java
PC31-SoapKlient/src/main/java/sklep/generated/Oblicz.java
+98
-0
ObliczResponse.java
...pKlient/src/main/java/sklep/generated/ObliczResponse.java
+52
-0
Order.java
PC31-SoapKlient/src/main/java/sklep/generated/Order.java
+244
-0
OrderProduct.java
...oapKlient/src/main/java/sklep/generated/OrderProduct.java
+137
-0
Product.java
PC31-SoapKlient/src/main/java/sklep/generated/Product.java
+173
-0
ProduktyWgCeny.java
...pKlient/src/main/java/sklep/generated/ProduktyWgCeny.java
+88
-0
ProduktyWgCenyResponse.java
...src/main/java/sklep/generated/ProduktyWgCenyResponse.java
+69
-0
RecordNotFound.java
...pKlient/src/main/java/sklep/generated/RecordNotFound.java
+60
-0
RecordNotFound_Exception.java
...c/main/java/sklep/generated/RecordNotFound_Exception.java
+43
-0
Sklep.java
PC31-SoapKlient/src/main/java/sklep/generated/Sklep.java
+130
-0
SklepService.java
...oapKlient/src/main/java/sklep/generated/SklepService.java
+87
-0
Status.java
PC31-SoapKlient/src/main/java/sklep/generated/Status.java
+45
-0
WszystkieProdukty.java
...ient/src/main/java/sklep/generated/WszystkieProdukty.java
+32
-0
WszystkieProduktyResponse.java
.../main/java/sklep/generated/WszystkieProduktyResponse.java
+69
-0
ZapiszFoto.java
...-SoapKlient/src/main/java/sklep/generated/ZapiszFoto.java
+77
-0
ZapiszFotoResponse.java
...ent/src/main/java/sklep/generated/ZapiszFotoResponse.java
+32
-0
ZapiszProdukt.java
...apKlient/src/main/java/sklep/generated/ZapiszProdukt.java
+60
-0
ZapiszProduktResponse.java
.../src/main/java/sklep/generated/ZapiszProduktResponse.java
+60
-0
package-info.java
...oapKlient/src/main/java/sklep/generated/package-info.java
+2
-0
No files found.
PC31-SoapKlient/polecenie.txt
0 → 100644
View file @
39e5a12f
/opt/java/wildfly-28.0.1.Final/bin/wsconsume.sh -k -n -s src/main/java -o target/classes -p sklep.generated http://localhost:8080/PC30-SoapSerwer/Sklep?wsdl
PC31-SoapKlient/src/main/java/sklep/generated/Customer.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlAttribute
;
import
jakarta.xml.bind.annotation.XmlElement
;
import
jakarta.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>{@code
* <complexType name="customer">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <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>
* <attribute name="email" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"customer"
,
propOrder
=
{
"name"
,
"phone"
,
"address"
,
"postalCode"
,
"city"
})
public
class
Customer
{
protected
String
name
;
protected
String
phone
;
protected
String
address
;
@XmlElement
(
name
=
"postal-code"
)
protected
String
postalCode
;
protected
String
city
;
@XmlAttribute
(
name
=
"email"
)
protected
String
email
;
/**
* 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
;
}
/**
* 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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/DBException.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.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>{@code
* <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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/DBException_Exception.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.ws.WebFault
;
/**
* This class was generated by Apache CXF 4.0.0
* 2023-08-19T14:54:48.951+02:00
* Generated source version: 4.0.0
*/
@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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/Foto.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.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>{@code
* <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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/FotoResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.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>{@code
* <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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/Hello.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for hello complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="hello">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="arg0" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"hello"
,
propOrder
=
{
"arg0"
})
public
class
Hello
{
protected
String
arg0
;
/**
* Gets the value of the arg0 property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getArg0
()
{
return
arg0
;
}
/**
* Sets the value of the arg0 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setArg0
(
String
value
)
{
this
.
arg0
=
value
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/HelloResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlElement
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for helloResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="helloResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="return" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"helloResponse"
,
propOrder
=
{
"_return"
})
public
class
HelloResponse
{
@XmlElement
(
name
=
"return"
)
protected
String
_return
;
/**
* Gets the value of the return property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getReturn
()
{
return
_return
;
}
/**
* Sets the value of the return property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setReturn
(
String
value
)
{
this
.
_return
=
value
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/JedenKlient.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for jedenKlient complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="jedenKlient">
* <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
=
"jedenKlient"
,
propOrder
=
{
"email"
})
public
class
JedenKlient
{
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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/JedenKlientResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for jedenKlientResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="jedenKlientResponse">
* <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
=
"jedenKlientResponse"
,
propOrder
=
{
"customer"
})
public
class
JedenKlientResponse
{
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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/JedenProdukt.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for jedenProdukt complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="jedenProdukt">
* <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
=
"jedenProdukt"
,
propOrder
=
{
"id"
})
public
class
JedenProdukt
{
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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/JedenProduktResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for jedenProduktResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="jedenProduktResponse">
* <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
=
"jedenProduktResponse"
,
propOrder
=
{
"product"
})
public
class
JedenProduktResponse
{
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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/JednoZamowienia.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for jednoZamowienia complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="jednoZamowienia">
* <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
=
"jednoZamowienia"
,
propOrder
=
{
"id"
})
public
class
JednoZamowienia
{
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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/JednoZamowieniaResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for jednoZamowieniaResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="jednoZamowieniaResponse">
* <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
=
"jednoZamowieniaResponse"
,
propOrder
=
{
"order"
})
public
class
JednoZamowieniaResponse
{
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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/KtoraGodzina.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for ktoraGodzina complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="ktoraGodzina">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"ktoraGodzina"
)
public
class
KtoraGodzina
{
}
PC31-SoapKlient/src/main/java/sklep/generated/KtoraGodzinaResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for ktoraGodzinaResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="ktoraGodzinaResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="dt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"ktoraGodzinaResponse"
,
propOrder
=
{
"dt"
})
public
class
KtoraGodzinaResponse
{
protected
String
dt
;
/**
* Gets the value of the dt property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getDt
()
{
return
dt
;
}
/**
* Sets the value of the dt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setDt
(
String
value
)
{
this
.
dt
=
value
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/ObjectFactory.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
javax.xml.namespace.QName
;
import
jakarta.xml.bind.JAXBElement
;
import
jakarta.xml.bind.annotation.XmlElementDecl
;
import
jakarta.xml.bind.annotation.XmlRegistry
;
/**
* This object contains factory methods for each
* Java content interface and Java element interface
* generated in the sklep.generated package.
* <p>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
_Hello_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"hello"
);
private
final
static
QName
_HelloResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"helloResponse"
);
private
final
static
QName
_JedenKlient_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"jedenKlient"
);
private
final
static
QName
_JedenKlientResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"jedenKlientResponse"
);
private
final
static
QName
_JedenProdukt_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"jedenProdukt"
);
private
final
static
QName
_JedenProduktResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"jedenProduktResponse"
);
private
final
static
QName
_JednoZamowienia_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"jednoZamowienia"
);
private
final
static
QName
_JednoZamowieniaResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"jednoZamowieniaResponse"
);
private
final
static
QName
_KtoraGodzina_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"ktoraGodzina"
);
private
final
static
QName
_KtoraGodzinaResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"ktoraGodzinaResponse"
);
private
final
static
QName
_Oblicz_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"oblicz"
);
private
final
static
QName
_ObliczResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"obliczResponse"
);
private
final
static
QName
_ProduktyWgCeny_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"produktyWgCeny"
);
private
final
static
QName
_ProduktyWgCenyResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"produktyWgCenyResponse"
);
private
final
static
QName
_WszystkieProdukty_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"wszystkieProdukty"
);
private
final
static
QName
_WszystkieProduktyResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"wszystkieProduktyResponse"
);
private
final
static
QName
_ZapiszFoto_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"zapiszFoto"
);
private
final
static
QName
_ZapiszFotoResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"zapiszFotoResponse"
);
private
final
static
QName
_ZapiszProdukt_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"zapiszProdukt"
);
private
final
static
QName
_ZapiszProduktResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"zapiszProduktResponse"
);
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 }
*
* @return
* the new instance of {@link Order }
*/
public
Order
createOrder
()
{
return
new
Order
();
}
/**
* Create an instance of {@link Foto }
*
* @return
* the new instance of {@link Foto }
*/
public
Foto
createFoto
()
{
return
new
Foto
();
}
/**
* Create an instance of {@link FotoResponse }
*
* @return
* the new instance of {@link FotoResponse }
*/
public
FotoResponse
createFotoResponse
()
{
return
new
FotoResponse
();
}
/**
* Create an instance of {@link Hello }
*
* @return
* the new instance of {@link Hello }
*/
public
Hello
createHello
()
{
return
new
Hello
();
}
/**
* Create an instance of {@link HelloResponse }
*
* @return
* the new instance of {@link HelloResponse }
*/
public
HelloResponse
createHelloResponse
()
{
return
new
HelloResponse
();
}
/**
* Create an instance of {@link JedenKlient }
*
* @return
* the new instance of {@link JedenKlient }
*/
public
JedenKlient
createJedenKlient
()
{
return
new
JedenKlient
();
}
/**
* Create an instance of {@link JedenKlientResponse }
*
* @return
* the new instance of {@link JedenKlientResponse }
*/
public
JedenKlientResponse
createJedenKlientResponse
()
{
return
new
JedenKlientResponse
();
}
/**
* Create an instance of {@link JedenProdukt }
*
* @return
* the new instance of {@link JedenProdukt }
*/
public
JedenProdukt
createJedenProdukt
()
{
return
new
JedenProdukt
();
}
/**
* Create an instance of {@link JedenProduktResponse }
*
* @return
* the new instance of {@link JedenProduktResponse }
*/
public
JedenProduktResponse
createJedenProduktResponse
()
{
return
new
JedenProduktResponse
();
}
/**
* Create an instance of {@link JednoZamowienia }
*
* @return
* the new instance of {@link JednoZamowienia }
*/
public
JednoZamowienia
createJednoZamowienia
()
{
return
new
JednoZamowienia
();
}
/**
* Create an instance of {@link JednoZamowieniaResponse }
*
* @return
* the new instance of {@link JednoZamowieniaResponse }
*/
public
JednoZamowieniaResponse
createJednoZamowieniaResponse
()
{
return
new
JednoZamowieniaResponse
();
}
/**
* Create an instance of {@link KtoraGodzina }
*
* @return
* the new instance of {@link KtoraGodzina }
*/
public
KtoraGodzina
createKtoraGodzina
()
{
return
new
KtoraGodzina
();
}
/**
* Create an instance of {@link KtoraGodzinaResponse }
*
* @return
* the new instance of {@link KtoraGodzinaResponse }
*/
public
KtoraGodzinaResponse
createKtoraGodzinaResponse
()
{
return
new
KtoraGodzinaResponse
();
}
/**
* Create an instance of {@link Oblicz }
*
* @return
* the new instance of {@link Oblicz }
*/
public
Oblicz
createOblicz
()
{
return
new
Oblicz
();
}
/**
* Create an instance of {@link ObliczResponse }
*
* @return
* the new instance of {@link ObliczResponse }
*/
public
ObliczResponse
createObliczResponse
()
{
return
new
ObliczResponse
();
}
/**
* Create an instance of {@link ProduktyWgCeny }
*
* @return
* the new instance of {@link ProduktyWgCeny }
*/
public
ProduktyWgCeny
createProduktyWgCeny
()
{
return
new
ProduktyWgCeny
();
}
/**
* Create an instance of {@link ProduktyWgCenyResponse }
*
* @return
* the new instance of {@link ProduktyWgCenyResponse }
*/
public
ProduktyWgCenyResponse
createProduktyWgCenyResponse
()
{
return
new
ProduktyWgCenyResponse
();
}
/**
* Create an instance of {@link WszystkieProdukty }
*
* @return
* the new instance of {@link WszystkieProdukty }
*/
public
WszystkieProdukty
createWszystkieProdukty
()
{
return
new
WszystkieProdukty
();
}
/**
* Create an instance of {@link WszystkieProduktyResponse }
*
* @return
* the new instance of {@link WszystkieProduktyResponse }
*/
public
WszystkieProduktyResponse
createWszystkieProduktyResponse
()
{
return
new
WszystkieProduktyResponse
();
}
/**
* Create an instance of {@link ZapiszFoto }
*
* @return
* the new instance of {@link ZapiszFoto }
*/
public
ZapiszFoto
createZapiszFoto
()
{
return
new
ZapiszFoto
();
}
/**
* Create an instance of {@link ZapiszFotoResponse }
*
* @return
* the new instance of {@link ZapiszFotoResponse }
*/
public
ZapiszFotoResponse
createZapiszFotoResponse
()
{
return
new
ZapiszFotoResponse
();
}
/**
* Create an instance of {@link ZapiszProdukt }
*
* @return
* the new instance of {@link ZapiszProdukt }
*/
public
ZapiszProdukt
createZapiszProdukt
()
{
return
new
ZapiszProdukt
();
}
/**
* Create an instance of {@link ZapiszProduktResponse }
*
* @return
* the new instance of {@link ZapiszProduktResponse }
*/
public
ZapiszProduktResponse
createZapiszProduktResponse
()
{
return
new
ZapiszProduktResponse
();
}
/**
* Create an instance of {@link RecordNotFound }
*
* @return
* the new instance of {@link RecordNotFound }
*/
public
RecordNotFound
createRecordNotFound
()
{
return
new
RecordNotFound
();
}
/**
* Create an instance of {@link DBException }
*
* @return
* the new instance of {@link DBException }
*/
public
DBException
createDBException
()
{
return
new
DBException
();
}
/**
* Create an instance of {@link Product }
*
* @return
* the new instance of {@link Product }
*/
public
Product
createProduct
()
{
return
new
Product
();
}
/**
* Create an instance of {@link OrderProduct }
*
* @return
* the new instance of {@link OrderProduct }
*/
public
OrderProduct
createOrderProduct
()
{
return
new
OrderProduct
();
}
/**
* Create an instance of {@link Customer }
*
* @return
* the new instance of {@link Customer }
*/
public
Customer
createCustomer
()
{
return
new
Customer
();
}
/**
* Create an instance of {@link Order.Products }
*
* @return
* the new 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_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_QNAME
,
FotoResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Hello }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Hello }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"hello"
)
public
JAXBElement
<
Hello
>
createHello
(
Hello
value
)
{
return
new
JAXBElement
<>(
_Hello_QNAME
,
Hello
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link HelloResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link HelloResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"helloResponse"
)
public
JAXBElement
<
HelloResponse
>
createHelloResponse
(
HelloResponse
value
)
{
return
new
JAXBElement
<>(
_HelloResponse_QNAME
,
HelloResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link JedenKlient }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link JedenKlient }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"jedenKlient"
)
public
JAXBElement
<
JedenKlient
>
createJedenKlient
(
JedenKlient
value
)
{
return
new
JAXBElement
<>(
_JedenKlient_QNAME
,
JedenKlient
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link JedenKlientResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link JedenKlientResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"jedenKlientResponse"
)
public
JAXBElement
<
JedenKlientResponse
>
createJedenKlientResponse
(
JedenKlientResponse
value
)
{
return
new
JAXBElement
<>(
_JedenKlientResponse_QNAME
,
JedenKlientResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link JedenProdukt }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link JedenProdukt }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"jedenProdukt"
)
public
JAXBElement
<
JedenProdukt
>
createJedenProdukt
(
JedenProdukt
value
)
{
return
new
JAXBElement
<>(
_JedenProdukt_QNAME
,
JedenProdukt
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link JedenProduktResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link JedenProduktResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"jedenProduktResponse"
)
public
JAXBElement
<
JedenProduktResponse
>
createJedenProduktResponse
(
JedenProduktResponse
value
)
{
return
new
JAXBElement
<>(
_JedenProduktResponse_QNAME
,
JedenProduktResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link JednoZamowienia }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link JednoZamowienia }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"jednoZamowienia"
)
public
JAXBElement
<
JednoZamowienia
>
createJednoZamowienia
(
JednoZamowienia
value
)
{
return
new
JAXBElement
<>(
_JednoZamowienia_QNAME
,
JednoZamowienia
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link JednoZamowieniaResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link JednoZamowieniaResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"jednoZamowieniaResponse"
)
public
JAXBElement
<
JednoZamowieniaResponse
>
createJednoZamowieniaResponse
(
JednoZamowieniaResponse
value
)
{
return
new
JAXBElement
<>(
_JednoZamowieniaResponse_QNAME
,
JednoZamowieniaResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link KtoraGodzina }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link KtoraGodzina }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"ktoraGodzina"
)
public
JAXBElement
<
KtoraGodzina
>
createKtoraGodzina
(
KtoraGodzina
value
)
{
return
new
JAXBElement
<>(
_KtoraGodzina_QNAME
,
KtoraGodzina
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link KtoraGodzinaResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link KtoraGodzinaResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"ktoraGodzinaResponse"
)
public
JAXBElement
<
KtoraGodzinaResponse
>
createKtoraGodzinaResponse
(
KtoraGodzinaResponse
value
)
{
return
new
JAXBElement
<>(
_KtoraGodzinaResponse_QNAME
,
KtoraGodzinaResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Oblicz }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Oblicz }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"oblicz"
)
public
JAXBElement
<
Oblicz
>
createOblicz
(
Oblicz
value
)
{
return
new
JAXBElement
<>(
_Oblicz_QNAME
,
Oblicz
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ObliczResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ObliczResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"obliczResponse"
)
public
JAXBElement
<
ObliczResponse
>
createObliczResponse
(
ObliczResponse
value
)
{
return
new
JAXBElement
<>(
_ObliczResponse_QNAME
,
ObliczResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ProduktyWgCeny }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ProduktyWgCeny }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"produktyWgCeny"
)
public
JAXBElement
<
ProduktyWgCeny
>
createProduktyWgCeny
(
ProduktyWgCeny
value
)
{
return
new
JAXBElement
<>(
_ProduktyWgCeny_QNAME
,
ProduktyWgCeny
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ProduktyWgCenyResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ProduktyWgCenyResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"produktyWgCenyResponse"
)
public
JAXBElement
<
ProduktyWgCenyResponse
>
createProduktyWgCenyResponse
(
ProduktyWgCenyResponse
value
)
{
return
new
JAXBElement
<>(
_ProduktyWgCenyResponse_QNAME
,
ProduktyWgCenyResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link WszystkieProdukty }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link WszystkieProdukty }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"wszystkieProdukty"
)
public
JAXBElement
<
WszystkieProdukty
>
createWszystkieProdukty
(
WszystkieProdukty
value
)
{
return
new
JAXBElement
<>(
_WszystkieProdukty_QNAME
,
WszystkieProdukty
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link WszystkieProduktyResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link WszystkieProduktyResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"wszystkieProduktyResponse"
)
public
JAXBElement
<
WszystkieProduktyResponse
>
createWszystkieProduktyResponse
(
WszystkieProduktyResponse
value
)
{
return
new
JAXBElement
<>(
_WszystkieProduktyResponse_QNAME
,
WszystkieProduktyResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ZapiszFoto }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ZapiszFoto }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"zapiszFoto"
)
public
JAXBElement
<
ZapiszFoto
>
createZapiszFoto
(
ZapiszFoto
value
)
{
return
new
JAXBElement
<>(
_ZapiszFoto_QNAME
,
ZapiszFoto
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ZapiszFotoResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ZapiszFotoResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"zapiszFotoResponse"
)
public
JAXBElement
<
ZapiszFotoResponse
>
createZapiszFotoResponse
(
ZapiszFotoResponse
value
)
{
return
new
JAXBElement
<>(
_ZapiszFotoResponse_QNAME
,
ZapiszFotoResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ZapiszProdukt }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ZapiszProdukt }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"zapiszProdukt"
)
public
JAXBElement
<
ZapiszProdukt
>
createZapiszProdukt
(
ZapiszProdukt
value
)
{
return
new
JAXBElement
<>(
_ZapiszProdukt_QNAME
,
ZapiszProdukt
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ZapiszProduktResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ZapiszProduktResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"zapiszProduktResponse"
)
public
JAXBElement
<
ZapiszProduktResponse
>
createZapiszProduktResponse
(
ZapiszProduktResponse
value
)
{
return
new
JAXBElement
<>(
_ZapiszProduktResponse_QNAME
,
ZapiszProduktResponse
.
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_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_QNAME
,
DBException
.
class
,
null
,
value
);
}
}
PC31-SoapKlient/src/main/java/sklep/generated/Oblicz.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for oblicz complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="oblicz">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="liczba1" type="{http://www.w3.org/2001/XMLSchema}double"/>
* <element name="liczba2" type="{http://www.w3.org/2001/XMLSchema}double"/>
* <element name="dzialanie" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"oblicz"
,
propOrder
=
{
"liczba1"
,
"liczba2"
,
"dzialanie"
})
public
class
Oblicz
{
protected
double
liczba1
;
protected
double
liczba2
;
protected
String
dzialanie
;
/**
* Gets the value of the liczba1 property.
*
*/
public
double
getLiczba1
()
{
return
liczba1
;
}
/**
* Sets the value of the liczba1 property.
*
*/
public
void
setLiczba1
(
double
value
)
{
this
.
liczba1
=
value
;
}
/**
* Gets the value of the liczba2 property.
*
*/
public
double
getLiczba2
()
{
return
liczba2
;
}
/**
* Sets the value of the liczba2 property.
*
*/
public
void
setLiczba2
(
double
value
)
{
this
.
liczba2
=
value
;
}
/**
* Gets the value of the dzialanie property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getDzialanie
()
{
return
dzialanie
;
}
/**
* Sets the value of the dzialanie property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setDzialanie
(
String
value
)
{
this
.
dzialanie
=
value
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/ObliczResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for obliczResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="obliczResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="wynik" type="{http://www.w3.org/2001/XMLSchema}double"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"obliczResponse"
,
propOrder
=
{
"wynik"
})
public
class
ObliczResponse
{
protected
double
wynik
;
/**
* Gets the value of the wynik property.
*
*/
public
double
getWynik
()
{
return
wynik
;
}
/**
* Sets the value of the wynik property.
*
*/
public
void
setWynik
(
double
value
)
{
this
.
wynik
=
value
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/Order.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
java.util.ArrayList
;
import
java.util.List
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlAttribute
;
import
jakarta.xml.bind.annotation.XmlElement
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for order complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="order">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="order-date" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="products" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="product" type="{http://soap.sklep/}orderProduct" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="customer-email" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="status" type="{http://soap.sklep/}status" />
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@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
;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="product" type="{http://soap.sklep/}orderProduct" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
""
,
propOrder
=
{
"product"
})
public
static
class
Products
{
protected
List
<
OrderProduct
>
product
;
/**
* Gets the value of the product property.
*
* <p>
* 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the product property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProduct().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link OrderProduct }
*
*
* @return
* The value of the product property.
*/
public
List
<
OrderProduct
>
getProduct
()
{
if
(
product
==
null
)
{
product
=
new
ArrayList
<>();
}
return
this
.
product
;
}
}
}
PC31-SoapKlient/src/main/java/sklep/generated/OrderProduct.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
java.math.BigDecimal
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlAttribute
;
import
jakarta.xml.bind.annotation.XmlElement
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for orderProduct complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="orderProduct">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="actual-price" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* </sequence>
* <attribute name="order-id" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="product-id" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/Product.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
java.math.BigDecimal
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlAttribute
;
import
jakarta.xml.bind.annotation.XmlElement
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for product complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="product">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
* <element name="vat" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"product"
,
propOrder
=
{
"name"
,
"price"
,
"vat"
,
"description"
})
public
class
Product
{
@XmlElement
(
required
=
true
)
protected
String
name
;
@XmlElement
(
required
=
true
)
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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/ProduktyWgCeny.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
java.math.BigDecimal
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for produktyWgCeny complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="produktyWgCeny">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="min" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="max" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/ProduktyWgCenyResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
java.util.ArrayList
;
import
java.util.List
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for produktyWgCenyResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="produktyWgCenyResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="product" type="{http://soap.sklep/}product" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"produktyWgCenyResponse"
,
propOrder
=
{
"product"
})
public
class
ProduktyWgCenyResponse
{
protected
List
<
Product
>
product
;
/**
* Gets the value of the product property.
*
* <p>
* 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the product property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProduct().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Product }
*
*
* @return
* The value of the product property.
*/
public
List
<
Product
>
getProduct
()
{
if
(
product
==
null
)
{
product
=
new
ArrayList
<>();
}
return
this
.
product
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/RecordNotFound.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for RecordNotFound complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="RecordNotFound">
* <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
=
"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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/RecordNotFound_Exception.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.ws.WebFault
;
/**
* This class was generated by Apache CXF 4.0.0
* 2023-08-19T14:54:48.888+02:00
* Generated source version: 4.0.0
*/
@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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/Sklep.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.jws.WebMethod
;
import
jakarta.jws.WebParam
;
import
jakarta.jws.WebResult
;
import
jakarta.jws.WebService
;
import
jakarta.xml.bind.annotation.XmlSeeAlso
;
import
jakarta.xml.ws.RequestWrapper
;
import
jakarta.xml.ws.ResponseWrapper
;
/**
* This class was generated by Apache CXF 4.0.0
* 2023-08-19T14:54:48.963+02:00
* Generated source version: 4.0.0
*
*/
@WebService
(
targetNamespace
=
"http://soap.sklep/"
,
name
=
"Sklep"
)
@XmlSeeAlso
({
ObjectFactory
.
class
})
public
interface
Sklep
{
@WebMethod
@RequestWrapper
(
localName
=
"oblicz"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.Oblicz"
)
@ResponseWrapper
(
localName
=
"obliczResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ObliczResponse"
)
@WebResult
(
name
=
"wynik"
,
targetNamespace
=
""
)
public
double
oblicz
(
@WebParam
(
name
=
"liczba1"
,
targetNamespace
=
""
)
double
liczba1
,
@WebParam
(
name
=
"liczba2"
,
targetNamespace
=
""
)
double
liczba2
,
@WebParam
(
name
=
"dzialanie"
,
targetNamespace
=
""
)
java
.
lang
.
String
dzialanie
);
@WebMethod
@RequestWrapper
(
localName
=
"foto"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.Foto"
)
@ResponseWrapper
(
localName
=
"fotoResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.FotoResponse"
)
@WebResult
(
name
=
"bytes"
,
targetNamespace
=
""
)
public
byte
[]
foto
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
)
throws
RecordNotFound_Exception
,
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"jedenProdukt"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.JedenProdukt"
)
@ResponseWrapper
(
localName
=
"jedenProduktResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.JedenProduktResponse"
)
@WebResult
(
name
=
"product"
,
targetNamespace
=
""
)
public
sklep
.
generated
.
Product
jedenProdukt
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
)
throws
RecordNotFound_Exception
,
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"jednoZamowienia"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.JednoZamowienia"
)
@ResponseWrapper
(
localName
=
"jednoZamowieniaResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.JednoZamowieniaResponse"
)
@WebResult
(
name
=
"order"
,
targetNamespace
=
""
)
public
sklep
.
generated
.
Order
jednoZamowienia
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
)
throws
RecordNotFound_Exception
,
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"wszystkieProdukty"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.WszystkieProdukty"
)
@ResponseWrapper
(
localName
=
"wszystkieProduktyResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.WszystkieProduktyResponse"
)
@WebResult
(
name
=
"product"
,
targetNamespace
=
""
)
public
java
.
util
.
List
<
sklep
.
generated
.
Product
>
wszystkieProdukty
()
throws
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"zapiszProdukt"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ZapiszProdukt"
)
@ResponseWrapper
(
localName
=
"zapiszProduktResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ZapiszProduktResponse"
)
public
void
zapiszProdukt
(
@WebParam
(
mode
=
WebParam
.
Mode
.
INOUT
,
name
=
"product"
,
targetNamespace
=
""
)
jakarta
.
xml
.
ws
.
Holder
<
Product
>
product
)
throws
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"zapiszFoto"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ZapiszFoto"
)
@ResponseWrapper
(
localName
=
"zapiszFotoResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ZapiszFotoResponse"
)
public
void
zapiszFoto
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
,
@WebParam
(
name
=
"bytes"
,
targetNamespace
=
""
)
byte
[]
bytes
);
@WebMethod
@RequestWrapper
(
localName
=
"jedenKlient"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.JedenKlient"
)
@ResponseWrapper
(
localName
=
"jedenKlientResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.JedenKlientResponse"
)
@WebResult
(
name
=
"customer"
,
targetNamespace
=
""
)
public
sklep
.
generated
.
Customer
jedenKlient
(
@WebParam
(
name
=
"email"
,
targetNamespace
=
""
)
java
.
lang
.
String
email
)
throws
RecordNotFound_Exception
,
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"ktoraGodzina"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.KtoraGodzina"
)
@ResponseWrapper
(
localName
=
"ktoraGodzinaResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.KtoraGodzinaResponse"
)
@WebResult
(
name
=
"dt"
,
targetNamespace
=
""
)
public
java
.
lang
.
String
ktoraGodzina
()
;
@WebMethod
@RequestWrapper
(
localName
=
"hello"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.Hello"
)
@ResponseWrapper
(
localName
=
"helloResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.HelloResponse"
)
@WebResult
(
name
=
"return"
,
targetNamespace
=
""
)
public
java
.
lang
.
String
hello
(
@WebParam
(
name
=
"arg0"
,
targetNamespace
=
""
)
java
.
lang
.
String
arg0
);
@WebMethod
@RequestWrapper
(
localName
=
"produktyWgCeny"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ProduktyWgCeny"
)
@ResponseWrapper
(
localName
=
"produktyWgCenyResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ProduktyWgCenyResponse"
)
@WebResult
(
name
=
"product"
,
targetNamespace
=
""
)
public
java
.
util
.
List
<
sklep
.
generated
.
Product
>
produktyWgCeny
(
@WebParam
(
name
=
"min"
,
targetNamespace
=
""
)
java
.
math
.
BigDecimal
min
,
@WebParam
(
name
=
"max"
,
targetNamespace
=
""
)
java
.
math
.
BigDecimal
max
)
throws
DBException_Exception
;
}
PC31-SoapKlient/src/main/java/sklep/generated/SklepService.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
java.net.MalformedURLException
;
import
java.net.URL
;
import
javax.xml.namespace.QName
;
import
jakarta.xml.ws.WebEndpoint
;
import
jakarta.xml.ws.WebServiceClient
;
import
jakarta.xml.ws.WebServiceFeature
;
import
jakarta.xml.ws.Service
;
/**
* This class was generated by Apache CXF 4.0.0
* 2023-08-19T14:54:48.984+02:00
* Generated source version: 4.0.0
*
*/
@WebServiceClient
(
name
=
"SklepService"
,
wsdlLocation
=
"http://localhost:8080/PC30-SoapSerwer/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/PC30-SoapSerwer/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/PC30-SoapSerwer/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 jakarta.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
);
}
}
PC31-SoapKlient/src/main/java/sklep/generated/Status.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlEnum
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for status.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <pre>{@code
* <simpleType name="status">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="NEW"/>
* <enumeration value="CONFIRMED"/>
* <enumeration value="PAID"/>
* <enumeration value="SHIPPED"/>
* <enumeration value="CLOSED"/>
* <enumeration value="RETURNED"/>
* </restriction>
* </simpleType>
* }</pre>
*
*/
@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
);
}
}
PC31-SoapKlient/src/main/java/sklep/generated/WszystkieProdukty.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for wszystkieProdukty complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="wszystkieProdukty">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"wszystkieProdukty"
)
public
class
WszystkieProdukty
{
}
PC31-SoapKlient/src/main/java/sklep/generated/WszystkieProduktyResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
java.util.ArrayList
;
import
java.util.List
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for wszystkieProduktyResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="wszystkieProduktyResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="product" type="{http://soap.sklep/}product" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"wszystkieProduktyResponse"
,
propOrder
=
{
"product"
})
public
class
WszystkieProduktyResponse
{
protected
List
<
Product
>
product
;
/**
* Gets the value of the product property.
*
* <p>
* 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the product property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getProduct().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Product }
*
*
* @return
* The value of the product property.
*/
public
List
<
Product
>
getProduct
()
{
if
(
product
==
null
)
{
product
=
new
ArrayList
<>();
}
return
this
.
product
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/ZapiszFoto.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for zapiszFoto complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="zapiszFoto">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="bytes" type="{http://www.w3.org/2001/XMLSchema}base64Binary" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"zapiszFoto"
,
propOrder
=
{
"id"
,
"bytes"
})
public
class
ZapiszFoto
{
protected
int
id
;
protected
byte
[]
bytes
;
/**
* 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
;
}
/**
* 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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/ZapiszFotoResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for zapiszFotoResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="zapiszFotoResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"zapiszFotoResponse"
)
public
class
ZapiszFotoResponse
{
}
PC31-SoapKlient/src/main/java/sklep/generated/ZapiszProdukt.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for zapiszProdukt complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="zapiszProdukt">
* <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
=
"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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/ZapiszProduktResponse.java
0 → 100644
View file @
39e5a12f
package
sklep
.
generated
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for zapiszProduktResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="zapiszProduktResponse">
* <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
=
"zapiszProduktResponse"
,
propOrder
=
{
"product"
})
public
class
ZapiszProduktResponse
{
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
;
}
}
PC31-SoapKlient/src/main/java/sklep/generated/package-info.java
0 → 100644
View file @
39e5a12f
@jakarta
.
xml
.
bind
.
annotation
.
XmlSchema
(
namespace
=
"http://soap.sklep/"
)
package
sklep
.
generated
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment