Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
javab_20230928
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_20230928
Commits
cdc8c462
Commit
cdc8c462
authored
Nov 08, 2023
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SoapKlient - wygenerowanie klas na podstawie WSDL
parent
ba55c5b8
Hide whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
2604 additions
and
0 deletions
+2604
-0
polecenie.txt
PC34-SoapKlient/polecenie.txt
+1
-0
pom.xml
PC34-SoapKlient/pom.xml
+14
-0
Customer.java
PC34-SoapKlient/src/main/java/sklep/generated/Customer.java
+195
-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
GetPhoto.java
PC34-SoapKlient/src/main/java/sklep/generated/GetPhoto.java
+52
-0
GetPhotoResponse.java
...lient/src/main/java/sklep/generated/GetPhotoResponse.java
+58
-0
ObjectFactory.java
...apKlient/src/main/java/sklep/generated/ObjectFactory.java
+517
-0
OneCustomer.java
...SoapKlient/src/main/java/sklep/generated/OneCustomer.java
+60
-0
OneCustomerResponse.java
...nt/src/main/java/sklep/generated/OneCustomerResponse.java
+60
-0
OneOrder.java
PC34-SoapKlient/src/main/java/sklep/generated/OneOrder.java
+52
-0
OneOrderResponse.java
...lient/src/main/java/sklep/generated/OneOrderResponse.java
+60
-0
Order.java
PC34-SoapKlient/src/main/java/sklep/generated/Order.java
+245
-0
OrderProduct.java
...oapKlient/src/main/java/sklep/generated/OrderProduct.java
+108
-0
Product.java
PC34-SoapKlient/src/main/java/sklep/generated/Product.java
+172
-0
ReadAll.java
PC34-SoapKlient/src/main/java/sklep/generated/ReadAll.java
+32
-0
ReadAllResponse.java
...Klient/src/main/java/sklep/generated/ReadAllResponse.java
+69
-0
ReadByPrice.java
...SoapKlient/src/main/java/sklep/generated/ReadByPrice.java
+88
-0
ReadByPriceResponse.java
...nt/src/main/java/sklep/generated/ReadByPriceResponse.java
+69
-0
ReadOne.java
PC34-SoapKlient/src/main/java/sklep/generated/ReadOne.java
+52
-0
ReadOneResponse.java
...Klient/src/main/java/sklep/generated/ReadOneResponse.java
+60
-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
SavePhoto.java
PC34-SoapKlient/src/main/java/sklep/generated/SavePhoto.java
+77
-0
SavePhotoResponse.java
...ient/src/main/java/sklep/generated/SavePhotoResponse.java
+32
-0
SaveProduct.java
...SoapKlient/src/main/java/sklep/generated/SaveProduct.java
+60
-0
SaveProductResponse.java
...nt/src/main/java/sklep/generated/SaveProductResponse.java
+32
-0
Sklep.java
PC34-SoapKlient/src/main/java/sklep/generated/Sklep.java
+99
-0
SklepService.java
...oapKlient/src/main/java/sklep/generated/SklepService.java
+87
-0
Status.java
PC34-SoapKlient/src/main/java/sklep/generated/Status.java
+45
-0
package-info.java
...oapKlient/src/main/java/sklep/generated/package-info.java
+2
-0
No files found.
PC34-SoapKlient/polecenie.txt
0 → 100644
View file @
cdc8c462
/opt/java/wildfly-29.0.1.Final/bin/wsconsume.sh -k -n -s src/main/java -o target/classes -p sklep.generated http://localhost:8080/PC33-SoapSerwer/Sklep?wsdl
PC34-SoapKlient/pom.xml
View file @
cdc8c462
...
...
@@ -12,4 +12,18 @@
<maven.compiler.source>
17
</maven.compiler.source>
</properties>
<dependencies>
<dependency>
<groupId>
jakarta.xml.ws
</groupId>
<artifactId>
jakarta.xml.ws-api
</artifactId>
<version>
4.0.0
</version>
</dependency>
<dependency>
<groupId>
com.sun.xml.ws
</groupId>
<artifactId>
jaxws-rt
</artifactId>
<version>
4.0.1
</version>
<scope>
runtime
</scope>
</dependency>
</dependencies>
</project>
PC34-SoapKlient/src/main/java/sklep/generated/Customer.java
0 → 100644
View file @
cdc8c462
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 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="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="phoneNumber" 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="postalCode" 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"
,
"phoneNumber"
,
"address"
,
"postalCode"
,
"city"
})
public
class
Customer
{
protected
String
email
;
protected
String
name
;
protected
String
phoneNumber
;
protected
String
address
;
protected
String
postalCode
;
protected
String
city
;
/**
* Gets the value of the email property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getEmail
()
{
return
email
;
}
/**
* Sets the value of the email property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setEmail
(
String
value
)
{
this
.
email
=
value
;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getName
()
{
return
name
;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setName
(
String
value
)
{
this
.
name
=
value
;
}
/**
* Gets the value of the phoneNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getPhoneNumber
()
{
return
phoneNumber
;
}
/**
* Sets the value of the phoneNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setPhoneNumber
(
String
value
)
{
this
.
phoneNumber
=
value
;
}
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getAddress
()
{
return
address
;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setAddress
(
String
value
)
{
this
.
address
=
value
;
}
/**
* Gets the value of the postalCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getPostalCode
()
{
return
postalCode
;
}
/**
* Sets the value of the postalCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setPostalCode
(
String
value
)
{
this
.
postalCode
=
value
;
}
/**
* Gets the value of the city property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getCity
()
{
return
city
;
}
/**
* Sets the value of the city property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setCity
(
String
value
)
{
this
.
city
=
value
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/DBException.java
0 → 100644
View file @
cdc8c462
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/DBException_Exception.java
0 → 100644
View file @
cdc8c462
package
sklep
.
generated
;
import
jakarta.xml.ws.WebFault
;
/**
* This class was generated by Apache CXF 4.0.0
* 2023-11-08T12:24:19.716+01: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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/GetPhoto.java
0 → 100644
View file @
cdc8c462
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 getPhoto complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="getPhoto">
* <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
=
"getPhoto"
,
propOrder
=
{
"id"
})
public
class
GetPhoto
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/GetPhotoResponse.java
0 → 100644
View file @
cdc8c462
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 getPhotoResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="getPhotoResponse">
* <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
=
"getPhotoResponse"
,
propOrder
=
{
"bytes"
})
public
class
GetPhotoResponse
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/ObjectFactory.java
0 → 100644
View file @
cdc8c462
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
_GetPhoto_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"getPhoto"
);
private
final
static
QName
_GetPhotoResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"getPhotoResponse"
);
private
final
static
QName
_OneCustomer_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"oneCustomer"
);
private
final
static
QName
_OneCustomerResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"oneCustomerResponse"
);
private
final
static
QName
_OneOrder_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"oneOrder"
);
private
final
static
QName
_OneOrderResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"oneOrderResponse"
);
private
final
static
QName
_ReadAll_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"readAll"
);
private
final
static
QName
_ReadAllResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"readAllResponse"
);
private
final
static
QName
_ReadByPrice_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"readByPrice"
);
private
final
static
QName
_ReadByPriceResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"readByPriceResponse"
);
private
final
static
QName
_ReadOne_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"readOne"
);
private
final
static
QName
_ReadOneResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"readOneResponse"
);
private
final
static
QName
_SavePhoto_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"savePhoto"
);
private
final
static
QName
_SavePhotoResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"savePhotoResponse"
);
private
final
static
QName
_SaveProduct_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"saveProduct"
);
private
final
static
QName
_SaveProductResponse_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"saveProductResponse"
);
private
final
static
QName
_RecordNotFound_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"RecordNotFound"
);
private
final
static
QName
_DBException_QNAME
=
new
QName
(
"http://soap.sklep/"
,
"DBException"
);
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: sklep.generated
*
*/
public
ObjectFactory
()
{
}
/**
* Create an instance of {@link Order }
*
* @return
* the new instance of {@link Order }
*/
public
Order
createOrder
()
{
return
new
Order
();
}
/**
* Create an instance of {@link GetPhoto }
*
* @return
* the new instance of {@link GetPhoto }
*/
public
GetPhoto
createGetPhoto
()
{
return
new
GetPhoto
();
}
/**
* Create an instance of {@link GetPhotoResponse }
*
* @return
* the new instance of {@link GetPhotoResponse }
*/
public
GetPhotoResponse
createGetPhotoResponse
()
{
return
new
GetPhotoResponse
();
}
/**
* Create an instance of {@link OneCustomer }
*
* @return
* the new instance of {@link OneCustomer }
*/
public
OneCustomer
createOneCustomer
()
{
return
new
OneCustomer
();
}
/**
* Create an instance of {@link OneCustomerResponse }
*
* @return
* the new instance of {@link OneCustomerResponse }
*/
public
OneCustomerResponse
createOneCustomerResponse
()
{
return
new
OneCustomerResponse
();
}
/**
* Create an instance of {@link OneOrder }
*
* @return
* the new instance of {@link OneOrder }
*/
public
OneOrder
createOneOrder
()
{
return
new
OneOrder
();
}
/**
* Create an instance of {@link OneOrderResponse }
*
* @return
* the new instance of {@link OneOrderResponse }
*/
public
OneOrderResponse
createOneOrderResponse
()
{
return
new
OneOrderResponse
();
}
/**
* Create an instance of {@link ReadAll }
*
* @return
* the new instance of {@link ReadAll }
*/
public
ReadAll
createReadAll
()
{
return
new
ReadAll
();
}
/**
* Create an instance of {@link ReadAllResponse }
*
* @return
* the new instance of {@link ReadAllResponse }
*/
public
ReadAllResponse
createReadAllResponse
()
{
return
new
ReadAllResponse
();
}
/**
* Create an instance of {@link ReadByPrice }
*
* @return
* the new instance of {@link ReadByPrice }
*/
public
ReadByPrice
createReadByPrice
()
{
return
new
ReadByPrice
();
}
/**
* Create an instance of {@link ReadByPriceResponse }
*
* @return
* the new instance of {@link ReadByPriceResponse }
*/
public
ReadByPriceResponse
createReadByPriceResponse
()
{
return
new
ReadByPriceResponse
();
}
/**
* Create an instance of {@link ReadOne }
*
* @return
* the new instance of {@link ReadOne }
*/
public
ReadOne
createReadOne
()
{
return
new
ReadOne
();
}
/**
* Create an instance of {@link ReadOneResponse }
*
* @return
* the new instance of {@link ReadOneResponse }
*/
public
ReadOneResponse
createReadOneResponse
()
{
return
new
ReadOneResponse
();
}
/**
* Create an instance of {@link SavePhoto }
*
* @return
* the new instance of {@link SavePhoto }
*/
public
SavePhoto
createSavePhoto
()
{
return
new
SavePhoto
();
}
/**
* Create an instance of {@link SavePhotoResponse }
*
* @return
* the new instance of {@link SavePhotoResponse }
*/
public
SavePhotoResponse
createSavePhotoResponse
()
{
return
new
SavePhotoResponse
();
}
/**
* Create an instance of {@link SaveProduct }
*
* @return
* the new instance of {@link SaveProduct }
*/
public
SaveProduct
createSaveProduct
()
{
return
new
SaveProduct
();
}
/**
* Create an instance of {@link SaveProductResponse }
*
* @return
* the new instance of {@link SaveProductResponse }
*/
public
SaveProductResponse
createSaveProductResponse
()
{
return
new
SaveProductResponse
();
}
/**
* 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 Customer }
*
* @return
* the new instance of {@link Customer }
*/
public
Customer
createCustomer
()
{
return
new
Customer
();
}
/**
* 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 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 GetPhoto }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link GetPhoto }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"getPhoto"
)
public
JAXBElement
<
GetPhoto
>
createGetPhoto
(
GetPhoto
value
)
{
return
new
JAXBElement
<>(
_GetPhoto_QNAME
,
GetPhoto
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link GetPhotoResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link GetPhotoResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"getPhotoResponse"
)
public
JAXBElement
<
GetPhotoResponse
>
createGetPhotoResponse
(
GetPhotoResponse
value
)
{
return
new
JAXBElement
<>(
_GetPhotoResponse_QNAME
,
GetPhotoResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OneCustomer }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OneCustomer }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"oneCustomer"
)
public
JAXBElement
<
OneCustomer
>
createOneCustomer
(
OneCustomer
value
)
{
return
new
JAXBElement
<>(
_OneCustomer_QNAME
,
OneCustomer
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OneCustomerResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OneCustomerResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"oneCustomerResponse"
)
public
JAXBElement
<
OneCustomerResponse
>
createOneCustomerResponse
(
OneCustomerResponse
value
)
{
return
new
JAXBElement
<>(
_OneCustomerResponse_QNAME
,
OneCustomerResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OneOrder }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OneOrder }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"oneOrder"
)
public
JAXBElement
<
OneOrder
>
createOneOrder
(
OneOrder
value
)
{
return
new
JAXBElement
<>(
_OneOrder_QNAME
,
OneOrder
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link OneOrderResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link OneOrderResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"oneOrderResponse"
)
public
JAXBElement
<
OneOrderResponse
>
createOneOrderResponse
(
OneOrderResponse
value
)
{
return
new
JAXBElement
<>(
_OneOrderResponse_QNAME
,
OneOrderResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadAll }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadAll }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"readAll"
)
public
JAXBElement
<
ReadAll
>
createReadAll
(
ReadAll
value
)
{
return
new
JAXBElement
<>(
_ReadAll_QNAME
,
ReadAll
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadAllResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadAllResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"readAllResponse"
)
public
JAXBElement
<
ReadAllResponse
>
createReadAllResponse
(
ReadAllResponse
value
)
{
return
new
JAXBElement
<>(
_ReadAllResponse_QNAME
,
ReadAllResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadByPrice }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadByPrice }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"readByPrice"
)
public
JAXBElement
<
ReadByPrice
>
createReadByPrice
(
ReadByPrice
value
)
{
return
new
JAXBElement
<>(
_ReadByPrice_QNAME
,
ReadByPrice
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadByPriceResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadByPriceResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"readByPriceResponse"
)
public
JAXBElement
<
ReadByPriceResponse
>
createReadByPriceResponse
(
ReadByPriceResponse
value
)
{
return
new
JAXBElement
<>(
_ReadByPriceResponse_QNAME
,
ReadByPriceResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadOne }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadOne }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"readOne"
)
public
JAXBElement
<
ReadOne
>
createReadOne
(
ReadOne
value
)
{
return
new
JAXBElement
<>(
_ReadOne_QNAME
,
ReadOne
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link ReadOneResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link ReadOneResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"readOneResponse"
)
public
JAXBElement
<
ReadOneResponse
>
createReadOneResponse
(
ReadOneResponse
value
)
{
return
new
JAXBElement
<>(
_ReadOneResponse_QNAME
,
ReadOneResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SavePhoto }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link SavePhoto }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"savePhoto"
)
public
JAXBElement
<
SavePhoto
>
createSavePhoto
(
SavePhoto
value
)
{
return
new
JAXBElement
<>(
_SavePhoto_QNAME
,
SavePhoto
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SavePhotoResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link SavePhotoResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"savePhotoResponse"
)
public
JAXBElement
<
SavePhotoResponse
>
createSavePhotoResponse
(
SavePhotoResponse
value
)
{
return
new
JAXBElement
<>(
_SavePhotoResponse_QNAME
,
SavePhotoResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SaveProduct }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link SaveProduct }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"saveProduct"
)
public
JAXBElement
<
SaveProduct
>
createSaveProduct
(
SaveProduct
value
)
{
return
new
JAXBElement
<>(
_SaveProduct_QNAME
,
SaveProduct
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link SaveProductResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link SaveProductResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"saveProductResponse"
)
public
JAXBElement
<
SaveProductResponse
>
createSaveProductResponse
(
SaveProductResponse
value
)
{
return
new
JAXBElement
<>(
_SaveProductResponse_QNAME
,
SaveProductResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link RecordNotFound }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link RecordNotFound }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.sklep/"
,
name
=
"RecordNotFound"
)
public
JAXBElement
<
RecordNotFound
>
createRecordNotFound
(
RecordNotFound
value
)
{
return
new
JAXBElement
<>(
_RecordNotFound_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
);
}
}
PC34-SoapKlient/src/main/java/sklep/generated/OneCustomer.java
0 → 100644
View file @
cdc8c462
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 oneCustomer complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="oneCustomer">
* <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
=
"oneCustomer"
,
propOrder
=
{
"email"
})
public
class
OneCustomer
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/OneCustomerResponse.java
0 → 100644
View file @
cdc8c462
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 oneCustomerResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="oneCustomerResponse">
* <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
=
"oneCustomerResponse"
,
propOrder
=
{
"customer"
})
public
class
OneCustomerResponse
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/OneOrder.java
0 → 100644
View file @
cdc8c462
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 oneOrder complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="oneOrder">
* <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
=
"oneOrder"
,
propOrder
=
{
"id"
})
public
class
OneOrder
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/OneOrderResponse.java
0 → 100644
View file @
cdc8c462
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 oneOrderResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="oneOrderResponse">
* <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
=
"oneOrderResponse"
,
propOrder
=
{
"order"
})
public
class
OneOrderResponse
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/Order.java
0 → 100644
View file @
cdc8c462
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="customer-email" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <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="status" type="{http://soap.sklep/}status" />
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@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
;
}
/**
* <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
;
}
}
}
PC34-SoapKlient/src/main/java/sklep/generated/OrderProduct.java
0 → 100644
View file @
cdc8c462
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.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="price" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* </sequence>
* <attribute name="product-id" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"orderProduct"
,
propOrder
=
{
"quantity"
,
"price"
})
public
class
OrderProduct
{
protected
int
quantity
;
protected
BigDecimal
price
;
@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 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 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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/Product.java
0 → 100644
View file @
cdc8c462
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="product-name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="price" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <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
=
{
"productName"
,
"price"
,
"vat"
,
"description"
})
public
class
Product
{
@XmlElement
(
name
=
"product-name"
)
protected
String
productName
;
protected
BigDecimal
price
;
protected
BigDecimal
vat
;
protected
String
description
;
@XmlAttribute
(
name
=
"id"
)
protected
Integer
id
;
/**
* Gets the value of the productName property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getProductName
()
{
return
productName
;
}
/**
* Sets the value of the productName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setProductName
(
String
value
)
{
this
.
productName
=
value
;
}
/**
* Gets the value of the price property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public
BigDecimal
getPrice
()
{
return
price
;
}
/**
* Sets the value of the price property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public
void
setPrice
(
BigDecimal
value
)
{
this
.
price
=
value
;
}
/**
* Gets the value of the vat property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public
BigDecimal
getVat
()
{
return
vat
;
}
/**
* Sets the value of the vat property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public
void
setVat
(
BigDecimal
value
)
{
this
.
vat
=
value
;
}
/**
* Gets the value of the description property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getDescription
()
{
return
description
;
}
/**
* Sets the value of the description property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setDescription
(
String
value
)
{
this
.
description
=
value
;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public
Integer
getId
()
{
return
id
;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public
void
setId
(
Integer
value
)
{
this
.
id
=
value
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/ReadAll.java
0 → 100644
View file @
cdc8c462
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 readAll complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="readAll">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"readAll"
)
public
class
ReadAll
{
}
PC34-SoapKlient/src/main/java/sklep/generated/ReadAllResponse.java
0 → 100644
View file @
cdc8c462
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 readAllResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="readAllResponse">
* <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
=
"readAllResponse"
,
propOrder
=
{
"product"
})
public
class
ReadAllResponse
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/ReadByPrice.java
0 → 100644
View file @
cdc8c462
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 readByPrice complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="readByPrice">
* <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
=
"readByPrice"
,
propOrder
=
{
"min"
,
"max"
})
public
class
ReadByPrice
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/ReadByPriceResponse.java
0 → 100644
View file @
cdc8c462
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 readByPriceResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="readByPriceResponse">
* <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
=
"readByPriceResponse"
,
propOrder
=
{
"product"
})
public
class
ReadByPriceResponse
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/ReadOne.java
0 → 100644
View file @
cdc8c462
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 readOne complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="readOne">
* <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
=
"readOne"
,
propOrder
=
{
"id"
})
public
class
ReadOne
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/ReadOneResponse.java
0 → 100644
View file @
cdc8c462
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 readOneResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="readOneResponse">
* <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
=
"readOneResponse"
,
propOrder
=
{
"product"
})
public
class
ReadOneResponse
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/RecordNotFound.java
0 → 100644
View file @
cdc8c462
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/RecordNotFound_Exception.java
0 → 100644
View file @
cdc8c462
package
sklep
.
generated
;
import
jakarta.xml.ws.WebFault
;
/**
* This class was generated by Apache CXF 4.0.0
* 2023-11-08T12:24:19.653+01: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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/SavePhoto.java
0 → 100644
View file @
cdc8c462
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 savePhoto complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="savePhoto">
* <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
=
"savePhoto"
,
propOrder
=
{
"id"
,
"bytes"
})
public
class
SavePhoto
{
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
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/SavePhotoResponse.java
0 → 100644
View file @
cdc8c462
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 savePhotoResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="savePhotoResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"savePhotoResponse"
)
public
class
SavePhotoResponse
{
}
PC34-SoapKlient/src/main/java/sklep/generated/SaveProduct.java
0 → 100644
View file @
cdc8c462
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 saveProduct complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="saveProduct">
* <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
=
"saveProduct"
,
propOrder
=
{
"product"
})
public
class
SaveProduct
{
protected
Product
product
;
/**
* Gets the value of the product property.
*
* @return
* possible object is
* {@link Product }
*
*/
public
Product
getProduct
()
{
return
product
;
}
/**
* Sets the value of the product property.
*
* @param value
* allowed object is
* {@link Product }
*
*/
public
void
setProduct
(
Product
value
)
{
this
.
product
=
value
;
}
}
PC34-SoapKlient/src/main/java/sklep/generated/SaveProductResponse.java
0 → 100644
View file @
cdc8c462
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 saveProductResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="saveProductResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"saveProductResponse"
)
public
class
SaveProductResponse
{
}
PC34-SoapKlient/src/main/java/sklep/generated/Sklep.java
0 → 100644
View file @
cdc8c462
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-11-08T12:24:19.733+01:00
* Generated source version: 4.0.0
*
*/
@WebService
(
targetNamespace
=
"http://soap.sklep/"
,
name
=
"Sklep"
)
@XmlSeeAlso
({
ObjectFactory
.
class
})
public
interface
Sklep
{
@WebMethod
@RequestWrapper
(
localName
=
"oneCustomer"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.OneCustomer"
)
@ResponseWrapper
(
localName
=
"oneCustomerResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.OneCustomerResponse"
)
@WebResult
(
name
=
"customer"
,
targetNamespace
=
""
)
public
sklep
.
generated
.
Customer
oneCustomer
(
@WebParam
(
name
=
"email"
,
targetNamespace
=
""
)
java
.
lang
.
String
email
)
throws
RecordNotFound_Exception
,
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"getPhoto"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.GetPhoto"
)
@ResponseWrapper
(
localName
=
"getPhotoResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.GetPhotoResponse"
)
@WebResult
(
name
=
"bytes"
,
targetNamespace
=
""
)
public
byte
[]
getPhoto
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
)
throws
RecordNotFound_Exception
,
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"readOne"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ReadOne"
)
@ResponseWrapper
(
localName
=
"readOneResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ReadOneResponse"
)
@WebResult
(
name
=
"product"
,
targetNamespace
=
""
)
public
sklep
.
generated
.
Product
readOne
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
)
throws
RecordNotFound_Exception
,
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"savePhoto"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.SavePhoto"
)
@ResponseWrapper
(
localName
=
"savePhotoResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.SavePhotoResponse"
)
public
void
savePhoto
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
,
@WebParam
(
name
=
"bytes"
,
targetNamespace
=
""
)
byte
[]
bytes
);
@WebMethod
@RequestWrapper
(
localName
=
"readAll"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ReadAll"
)
@ResponseWrapper
(
localName
=
"readAllResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ReadAllResponse"
)
@WebResult
(
name
=
"product"
,
targetNamespace
=
""
)
public
java
.
util
.
List
<
sklep
.
generated
.
Product
>
readAll
()
throws
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"oneOrder"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.OneOrder"
)
@ResponseWrapper
(
localName
=
"oneOrderResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.OneOrderResponse"
)
@WebResult
(
name
=
"order"
,
targetNamespace
=
""
)
public
sklep
.
generated
.
Order
oneOrder
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
)
throws
RecordNotFound_Exception
,
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"saveProduct"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.SaveProduct"
)
@ResponseWrapper
(
localName
=
"saveProductResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.SaveProductResponse"
)
public
void
saveProduct
(
@WebParam
(
name
=
"product"
,
targetNamespace
=
""
)
sklep
.
generated
.
Product
product
)
throws
DBException_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"readByPrice"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ReadByPrice"
)
@ResponseWrapper
(
localName
=
"readByPriceResponse"
,
targetNamespace
=
"http://soap.sklep/"
,
className
=
"sklep.generated.ReadByPriceResponse"
)
@WebResult
(
name
=
"product"
,
targetNamespace
=
""
)
public
java
.
util
.
List
<
sklep
.
generated
.
Product
>
readByPrice
(
@WebParam
(
name
=
"min"
,
targetNamespace
=
""
)
java
.
math
.
BigDecimal
min
,
@WebParam
(
name
=
"max"
,
targetNamespace
=
""
)
java
.
math
.
BigDecimal
max
)
throws
DBException_Exception
;
}
PC34-SoapKlient/src/main/java/sklep/generated/SklepService.java
0 → 100644
View file @
cdc8c462
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-11-08T12:24:19.767+01:00
* Generated source version: 4.0.0
*
*/
@WebServiceClient
(
name
=
"SklepService"
,
wsdlLocation
=
"http://localhost:8080/PC33-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/PC33-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/PC33-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
);
}
}
PC34-SoapKlient/src/main/java/sklep/generated/Status.java
0 → 100644
View file @
cdc8c462
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
);
}
}
PC34-SoapKlient/src/main/java/sklep/generated/package-info.java
0 → 100644
View file @
cdc8c462
@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