Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
alx_20230801
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
alx_20230801
Commits
21c32b9c
Commit
21c32b9c
authored
Aug 04, 2023
by
Patryk Czarnik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
async_binding
parent
63c74257
Show whitespace changes
Inline
Side-by-side
Showing
33 changed files
with
2930 additions
and
0 deletions
+2930
-0
async_binding.xml
OgloszeniaKlient/async_binding.xml
+10
-0
Klient9_AsyncProxy.java
...t/src/main/java/ogloszenia/klient/Klient9_AsyncProxy.java
+52
-0
Adres.java
...iaKlient/src/main/java/ogloszenia/wersja_async/Adres.java
+116
-0
BladBazyDanych.java
...src/main/java/ogloszenia/wersja_async/BladBazyDanych.java
+60
-0
BladBazyDanych_Exception.java
...ava/ogloszenia/wersja_async/BladBazyDanych_Exception.java
+43
-0
DodajImie.java
...ient/src/main/java/ogloszenia/wersja_async/DodajImie.java
+60
-0
Insert.java
...aKlient/src/main/java/ogloszenia/wersja_async/Insert.java
+60
-0
InsertResponse.java
...src/main/java/ogloszenia/wersja_async/InsertResponse.java
+54
-0
NieznanyRekord.java
...src/main/java/ogloszenia/wersja_async/NieznanyRekord.java
+60
-0
NieznanyRekord_Exception.java
...ava/ogloszenia/wersja_async/NieznanyRekord_Exception.java
+43
-0
ObjectFactory.java
.../src/main/java/ogloszenia/wersja_async/ObjectFactory.java
+541
-0
Ogloszenia.java
...ent/src/main/java/ogloszenia/wersja_async/Ogloszenia.java
+154
-0
OgloszeniaService.java
.../main/java/ogloszenia/wersja_async/OgloszeniaService.java
+87
-0
Ogloszenie.java
...ent/src/main/java/ogloszenia/wersja_async/Ogloszenie.java
+228
-0
OgloszenieSamochodowe.java
...n/java/ogloszenia/wersja_async/OgloszenieSamochodowe.java
+211
-0
Paliwo.java
...aKlient/src/main/java/ogloszenia/wersja_async/Paliwo.java
+59
-0
Photo.java
...iaKlient/src/main/java/ogloszenia/wersja_async/Photo.java
+52
-0
PhotoResponse.java
.../src/main/java/ogloszenia/wersja_async/PhotoResponse.java
+58
-0
PobierzImiona.java
.../src/main/java/ogloszenia/wersja_async/PobierzImiona.java
+32
-0
PobierzImionaResponse.java
...n/java/ogloszenia/wersja_async/PobierzImionaResponse.java
+60
-0
Poczekaj.java
...lient/src/main/java/ogloszenia/wersja_async/Poczekaj.java
+79
-0
PoczekajResponse.java
...c/main/java/ogloszenia/wersja_async/PoczekajResponse.java
+62
-0
ReadAll.java
...Klient/src/main/java/ogloszenia/wersja_async/ReadAll.java
+32
-0
ReadAllResponse.java
...rc/main/java/ogloszenia/wersja_async/ReadAllResponse.java
+69
-0
ReadByPrice.java
...nt/src/main/java/ogloszenia/wersja_async/ReadByPrice.java
+88
-0
ReadByPriceResponse.java
...ain/java/ogloszenia/wersja_async/ReadByPriceResponse.java
+69
-0
ReadOne.java
...Klient/src/main/java/ogloszenia/wersja_async/ReadOne.java
+52
-0
ReadOneResponse.java
...rc/main/java/ogloszenia/wersja_async/ReadOneResponse.java
+60
-0
Silnik.java
...aKlient/src/main/java/ogloszenia/wersja_async/Silnik.java
+116
-0
Sprzedawca.java
...ent/src/main/java/ogloszenia/wersja_async/Sprzedawca.java
+169
-0
Update.java
...aKlient/src/main/java/ogloszenia/wersja_async/Update.java
+60
-0
UpdateResponse.java
...src/main/java/ogloszenia/wersja_async/UpdateResponse.java
+32
-0
package-info.java
...t/src/main/java/ogloszenia/wersja_async/package-info.java
+2
-0
No files found.
OgloszeniaKlient/async_binding.xml
0 → 100644
View file @
21c32b9c
<bindings
xmlns:wsdl=
"http://schemas.xmlsoap.org/wsdl/"
xmlns=
"https://jakarta.ee/xml/ns/jaxws"
>
<bindings
node=
"wsdl:portType[@name='Ogloszenia']/wsdl:operation[@name='poczekaj']"
>
<enableAsyncMapping>
true
</enableAsyncMapping>
</bindings>
<bindings
node=
"wsdl:portType[@name='Ogloszenia']/wsdl:operation[@name='photo']"
>
<enableAsyncMapping>
true
</enableAsyncMapping>
</bindings>
</bindings>
OgloszeniaKlient/src/main/java/ogloszenia/klient/Klient9_AsyncProxy.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
klient
;
import
jakarta.xml.ws.Response
;
import
ogloszenia.klient_niskopoziomowy.Utils
;
import
ogloszenia.wersja_async.Ogloszenia
;
import
ogloszenia.wersja_async.OgloszeniaService
;
import
ogloszenia.wersja_async.PoczekajResponse
;
import
java.util.concurrent.ExecutionException
;
public
class
Klient9_AsyncProxy
{
// W tej wersji korzystamy z dodatkowej metody wygenerowanej jako asynchroniczna, ale robimy to poprzez obiekt proxy.
public
static
void
main
(
String
[]
args
)
{
OgloszeniaService
service
=
new
OgloszeniaService
();
Ogloszenia
proxy
=
service
.
getOgloszeniaPort
();
Utils
utils
=
new
Utils
();
System
.
out
.
println
(
"poczekaj"
);
String
wynik1
=
proxy
.
poczekaj
(
"Ala"
,
3000
);
System
.
out
.
println
(
"Gotowe1, "
+
wynik1
);
System
.
out
.
println
(
"poczekajAsync"
);
Response
<
PoczekajResponse
>
response
=
proxy
.
poczekajAsync
(
"Ela"
,
3000
);
System
.
out
.
println
(
"wysłane"
);
boolean
done
=
false
;
do
{
utils
.
czekaj
(
1000
);
done
=
response
.
isDone
();
System
.
out
.
println
(
"Czy wynik już jest? "
+
done
);
}
while
(!
done
);
try
{
String
wynik2
=
response
.
get
().
getReturn
();
System
.
out
.
println
(
"Gotowe2, "
+
wynik2
);
}
catch
(
InterruptedException
e
)
{
}
catch
(
ExecutionException
e
)
{
throw
new
RuntimeException
(
e
);
}
System
.
out
.
println
(
"poczekajAsync(handler)"
);
proxy
.
poczekajAsync
(
"Ola"
,
3000
,
res
->
{
try
{
String
wynik3
=
response
.
get
().
getReturn
();
System
.
out
.
println
(
"Gotowe3, "
+
wynik3
);
}
catch
(
InterruptedException
e
)
{
}
catch
(
ExecutionException
e
)
{
throw
new
RuntimeException
(
e
);
}
});
utils
.
czekaj
(
5000
);
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Adres.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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 adres complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="adres">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ulica" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="kod-pocztowy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="miasto" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"adres"
,
propOrder
=
{
"ulica"
,
"kodPocztowy"
,
"miasto"
})
public
class
Adres
{
protected
String
ulica
;
@XmlElement
(
name
=
"kod-pocztowy"
)
protected
String
kodPocztowy
;
protected
String
miasto
;
/**
* Gets the value of the ulica property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getUlica
()
{
return
ulica
;
}
/**
* Sets the value of the ulica property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setUlica
(
String
value
)
{
this
.
ulica
=
value
;
}
/**
* Gets the value of the kodPocztowy property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getKodPocztowy
()
{
return
kodPocztowy
;
}
/**
* Sets the value of the kodPocztowy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setKodPocztowy
(
String
value
)
{
this
.
kodPocztowy
=
value
;
}
/**
* Gets the value of the miasto property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getMiasto
()
{
return
miasto
;
}
/**
* Sets the value of the miasto property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setMiasto
(
String
value
)
{
this
.
miasto
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/BladBazyDanych.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for BladBazyDanych complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="BladBazyDanych">
* <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
=
"BladBazyDanych"
,
propOrder
=
{
"message"
})
public
class
BladBazyDanych
{
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
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/BladBazyDanych_Exception.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.ws.WebFault
;
/**
* This class was generated by Apache CXF 4.0.0
* 2023-08-04T11:35:41.684+02:00
* Generated source version: 4.0.0
*/
@WebFault
(
name
=
"BladBazyDanych"
,
targetNamespace
=
"http://soap.ogloszenia/"
)
public
class
BladBazyDanych_Exception
extends
Exception
{
private
ogloszenia
.
wersja_async
.
BladBazyDanych
faultInfo
;
public
BladBazyDanych_Exception
()
{
super
();
}
public
BladBazyDanych_Exception
(
String
message
)
{
super
(
message
);
}
public
BladBazyDanych_Exception
(
String
message
,
java
.
lang
.
Throwable
cause
)
{
super
(
message
,
cause
);
}
public
BladBazyDanych_Exception
(
String
message
,
ogloszenia
.
wersja_async
.
BladBazyDanych
bladBazyDanych
)
{
super
(
message
);
this
.
faultInfo
=
bladBazyDanych
;
}
public
BladBazyDanych_Exception
(
String
message
,
ogloszenia
.
wersja_async
.
BladBazyDanych
bladBazyDanych
,
java
.
lang
.
Throwable
cause
)
{
super
(
message
,
cause
);
this
.
faultInfo
=
bladBazyDanych
;
}
public
ogloszenia
.
wersja_async
.
BladBazyDanych
getFaultInfo
()
{
return
this
.
faultInfo
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/DodajImie.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for dodajImie complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="dodajImie">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="imie" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"dodajImie"
,
propOrder
=
{
"imie"
})
public
class
DodajImie
{
protected
String
imie
;
/**
* Gets the value of the imie property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getImie
()
{
return
imie
;
}
/**
* Sets the value of the imie property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setImie
(
String
value
)
{
this
.
imie
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Insert.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for insert complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="insert">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ogloszenie" type="{http://soap.ogloszenia/}ogloszenieSamochodowe" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"insert"
,
propOrder
=
{
"ogloszenie"
})
public
class
Insert
{
protected
OgloszenieSamochodowe
ogloszenie
;
/**
* Gets the value of the ogloszenie property.
*
* @return
* possible object is
* {@link OgloszenieSamochodowe }
*
*/
public
OgloszenieSamochodowe
getOgloszenie
()
{
return
ogloszenie
;
}
/**
* Sets the value of the ogloszenie property.
*
* @param value
* allowed object is
* {@link OgloszenieSamochodowe }
*
*/
public
void
setOgloszenie
(
OgloszenieSamochodowe
value
)
{
this
.
ogloszenie
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/InsertResponse.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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 insertResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="insertResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="new-id" type="{http://www.w3.org/2001/XMLSchema}int"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"insertResponse"
,
propOrder
=
{
"newId"
})
public
class
InsertResponse
{
@XmlElement
(
name
=
"new-id"
)
protected
int
newId
;
/**
* Gets the value of the newId property.
*
*/
public
int
getNewId
()
{
return
newId
;
}
/**
* Sets the value of the newId property.
*
*/
public
void
setNewId
(
int
value
)
{
this
.
newId
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/NieznanyRekord.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for NieznanyRekord complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="NieznanyRekord">
* <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
=
"NieznanyRekord"
,
propOrder
=
{
"message"
})
public
class
NieznanyRekord
{
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
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/NieznanyRekord_Exception.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.ws.WebFault
;
/**
* This class was generated by Apache CXF 4.0.0
* 2023-08-04T11:35:41.731+02:00
* Generated source version: 4.0.0
*/
@WebFault
(
name
=
"NieznanyRekord"
,
targetNamespace
=
"http://soap.ogloszenia/"
)
public
class
NieznanyRekord_Exception
extends
Exception
{
private
ogloszenia
.
wersja_async
.
NieznanyRekord
faultInfo
;
public
NieznanyRekord_Exception
()
{
super
();
}
public
NieznanyRekord_Exception
(
String
message
)
{
super
(
message
);
}
public
NieznanyRekord_Exception
(
String
message
,
java
.
lang
.
Throwable
cause
)
{
super
(
message
,
cause
);
}
public
NieznanyRekord_Exception
(
String
message
,
ogloszenia
.
wersja_async
.
NieznanyRekord
nieznanyRekord
)
{
super
(
message
);
this
.
faultInfo
=
nieznanyRekord
;
}
public
NieznanyRekord_Exception
(
String
message
,
ogloszenia
.
wersja_async
.
NieznanyRekord
nieznanyRekord
,
java
.
lang
.
Throwable
cause
)
{
super
(
message
,
cause
);
this
.
faultInfo
=
nieznanyRekord
;
}
public
ogloszenia
.
wersja_async
.
NieznanyRekord
getFaultInfo
()
{
return
this
.
faultInfo
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/ObjectFactory.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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 ogloszenia.wersja_async 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
_DodajImie_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"dodajImie"
);
private
final
static
QName
_Insert_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"insert"
);
private
final
static
QName
_InsertResponse_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"insertResponse"
);
private
final
static
QName
_Photo_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"photo"
);
private
final
static
QName
_PhotoResponse_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"photoResponse"
);
private
final
static
QName
_PobierzImiona_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"pobierzImiona"
);
private
final
static
QName
_PobierzImionaResponse_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"pobierzImionaResponse"
);
private
final
static
QName
_Poczekaj_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"poczekaj"
);
private
final
static
QName
_PoczekajResponse_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"poczekajResponse"
);
private
final
static
QName
_ReadAll_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"readAll"
);
private
final
static
QName
_ReadAllResponse_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"readAllResponse"
);
private
final
static
QName
_ReadByPrice_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"readByPrice"
);
private
final
static
QName
_ReadByPriceResponse_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"readByPriceResponse"
);
private
final
static
QName
_ReadOne_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"readOne"
);
private
final
static
QName
_ReadOneResponse_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"readOneResponse"
);
private
final
static
QName
_Update_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"update"
);
private
final
static
QName
_UpdateResponse_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"updateResponse"
);
private
final
static
QName
_BladBazyDanych_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"BladBazyDanych"
);
private
final
static
QName
_NieznanyRekord_QNAME
=
new
QName
(
"http://soap.ogloszenia/"
,
"NieznanyRekord"
);
/**
* Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: ogloszenia.wersja_async
*
*/
public
ObjectFactory
()
{
}
/**
* Create an instance of {@link DodajImie }
*
* @return
* the new instance of {@link DodajImie }
*/
public
DodajImie
createDodajImie
()
{
return
new
DodajImie
();
}
/**
* Create an instance of {@link Insert }
*
* @return
* the new instance of {@link Insert }
*/
public
Insert
createInsert
()
{
return
new
Insert
();
}
/**
* Create an instance of {@link InsertResponse }
*
* @return
* the new instance of {@link InsertResponse }
*/
public
InsertResponse
createInsertResponse
()
{
return
new
InsertResponse
();
}
/**
* Create an instance of {@link Photo }
*
* @return
* the new instance of {@link Photo }
*/
public
Photo
createPhoto
()
{
return
new
Photo
();
}
/**
* Create an instance of {@link PhotoResponse }
*
* @return
* the new instance of {@link PhotoResponse }
*/
public
PhotoResponse
createPhotoResponse
()
{
return
new
PhotoResponse
();
}
/**
* Create an instance of {@link PobierzImiona }
*
* @return
* the new instance of {@link PobierzImiona }
*/
public
PobierzImiona
createPobierzImiona
()
{
return
new
PobierzImiona
();
}
/**
* Create an instance of {@link PobierzImionaResponse }
*
* @return
* the new instance of {@link PobierzImionaResponse }
*/
public
PobierzImionaResponse
createPobierzImionaResponse
()
{
return
new
PobierzImionaResponse
();
}
/**
* Create an instance of {@link Poczekaj }
*
* @return
* the new instance of {@link Poczekaj }
*/
public
Poczekaj
createPoczekaj
()
{
return
new
Poczekaj
();
}
/**
* Create an instance of {@link PoczekajResponse }
*
* @return
* the new instance of {@link PoczekajResponse }
*/
public
PoczekajResponse
createPoczekajResponse
()
{
return
new
PoczekajResponse
();
}
/**
* 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 Update }
*
* @return
* the new instance of {@link Update }
*/
public
Update
createUpdate
()
{
return
new
Update
();
}
/**
* Create an instance of {@link UpdateResponse }
*
* @return
* the new instance of {@link UpdateResponse }
*/
public
UpdateResponse
createUpdateResponse
()
{
return
new
UpdateResponse
();
}
/**
* Create an instance of {@link BladBazyDanych }
*
* @return
* the new instance of {@link BladBazyDanych }
*/
public
BladBazyDanych
createBladBazyDanych
()
{
return
new
BladBazyDanych
();
}
/**
* Create an instance of {@link NieznanyRekord }
*
* @return
* the new instance of {@link NieznanyRekord }
*/
public
NieznanyRekord
createNieznanyRekord
()
{
return
new
NieznanyRekord
();
}
/**
* Create an instance of {@link OgloszenieSamochodowe }
*
* @return
* the new instance of {@link OgloszenieSamochodowe }
*/
public
OgloszenieSamochodowe
createOgloszenieSamochodowe
()
{
return
new
OgloszenieSamochodowe
();
}
/**
* Create an instance of {@link Ogloszenie }
*
* @return
* the new instance of {@link Ogloszenie }
*/
public
Ogloszenie
createOgloszenie
()
{
return
new
Ogloszenie
();
}
/**
* Create an instance of {@link Silnik }
*
* @return
* the new instance of {@link Silnik }
*/
public
Silnik
createSilnik
()
{
return
new
Silnik
();
}
/**
* Create an instance of {@link Sprzedawca }
*
* @return
* the new instance of {@link Sprzedawca }
*/
public
Sprzedawca
createSprzedawca
()
{
return
new
Sprzedawca
();
}
/**
* Create an instance of {@link Adres }
*
* @return
* the new instance of {@link Adres }
*/
public
Adres
createAdres
()
{
return
new
Adres
();
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link DodajImie }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link DodajImie }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"dodajImie"
)
public
JAXBElement
<
DodajImie
>
createDodajImie
(
DodajImie
value
)
{
return
new
JAXBElement
<>(
_DodajImie_QNAME
,
DodajImie
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Insert }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Insert }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"insert"
)
public
JAXBElement
<
Insert
>
createInsert
(
Insert
value
)
{
return
new
JAXBElement
<>(
_Insert_QNAME
,
Insert
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link InsertResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link InsertResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"insertResponse"
)
public
JAXBElement
<
InsertResponse
>
createInsertResponse
(
InsertResponse
value
)
{
return
new
JAXBElement
<>(
_InsertResponse_QNAME
,
InsertResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Photo }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Photo }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"photo"
)
public
JAXBElement
<
Photo
>
createPhoto
(
Photo
value
)
{
return
new
JAXBElement
<>(
_Photo_QNAME
,
Photo
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PhotoResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link PhotoResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"photoResponse"
)
public
JAXBElement
<
PhotoResponse
>
createPhotoResponse
(
PhotoResponse
value
)
{
return
new
JAXBElement
<>(
_PhotoResponse_QNAME
,
PhotoResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PobierzImiona }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link PobierzImiona }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"pobierzImiona"
)
public
JAXBElement
<
PobierzImiona
>
createPobierzImiona
(
PobierzImiona
value
)
{
return
new
JAXBElement
<>(
_PobierzImiona_QNAME
,
PobierzImiona
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PobierzImionaResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link PobierzImionaResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"pobierzImionaResponse"
)
public
JAXBElement
<
PobierzImionaResponse
>
createPobierzImionaResponse
(
PobierzImionaResponse
value
)
{
return
new
JAXBElement
<>(
_PobierzImionaResponse_QNAME
,
PobierzImionaResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link Poczekaj }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Poczekaj }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"poczekaj"
)
public
JAXBElement
<
Poczekaj
>
createPoczekaj
(
Poczekaj
value
)
{
return
new
JAXBElement
<>(
_Poczekaj_QNAME
,
Poczekaj
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link PoczekajResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link PoczekajResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"poczekajResponse"
)
public
JAXBElement
<
PoczekajResponse
>
createPoczekajResponse
(
PoczekajResponse
value
)
{
return
new
JAXBElement
<>(
_PoczekajResponse_QNAME
,
PoczekajResponse
.
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.ogloszenia/"
,
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.ogloszenia/"
,
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.ogloszenia/"
,
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.ogloszenia/"
,
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.ogloszenia/"
,
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.ogloszenia/"
,
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 Update }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link Update }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"update"
)
public
JAXBElement
<
Update
>
createUpdate
(
Update
value
)
{
return
new
JAXBElement
<>(
_Update_QNAME
,
Update
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link UpdateResponse }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link UpdateResponse }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"updateResponse"
)
public
JAXBElement
<
UpdateResponse
>
createUpdateResponse
(
UpdateResponse
value
)
{
return
new
JAXBElement
<>(
_UpdateResponse_QNAME
,
UpdateResponse
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link BladBazyDanych }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link BladBazyDanych }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"BladBazyDanych"
)
public
JAXBElement
<
BladBazyDanych
>
createBladBazyDanych
(
BladBazyDanych
value
)
{
return
new
JAXBElement
<>(
_BladBazyDanych_QNAME
,
BladBazyDanych
.
class
,
null
,
value
);
}
/**
* Create an instance of {@link JAXBElement }{@code <}{@link NieznanyRekord }{@code >}
*
* @param value
* Java instance representing xml element's value.
* @return
* the new instance of {@link JAXBElement }{@code <}{@link NieznanyRekord }{@code >}
*/
@XmlElementDecl
(
namespace
=
"http://soap.ogloszenia/"
,
name
=
"NieznanyRekord"
)
public
JAXBElement
<
NieznanyRekord
>
createNieznanyRekord
(
NieznanyRekord
value
)
{
return
new
JAXBElement
<>(
_NieznanyRekord_QNAME
,
NieznanyRekord
.
class
,
null
,
value
);
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Ogloszenia.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.jws.Oneway
;
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.AsyncHandler
;
import
jakarta.xml.ws.RequestWrapper
;
import
jakarta.xml.ws.Response
;
import
jakarta.xml.ws.ResponseWrapper
;
import
java.util.concurrent.Future
;
/**
* This class was generated by Apache CXF 4.0.0
* 2023-08-04T11:35:41.740+02:00
* Generated source version: 4.0.0
*
*/
@WebService
(
targetNamespace
=
"http://soap.ogloszenia/"
,
name
=
"Ogloszenia"
)
@XmlSeeAlso
({
ObjectFactory
.
class
})
public
interface
Ogloszenia
{
@WebMethod
@RequestWrapper
(
localName
=
"readAll"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.ReadAll"
)
@ResponseWrapper
(
localName
=
"readAllResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.ReadAllResponse"
)
@WebResult
(
name
=
"ogloszenie"
,
targetNamespace
=
""
)
public
java
.
util
.
List
<
ogloszenia
.
wersja_async
.
OgloszenieSamochodowe
>
readAll
()
throws
BladBazyDanych_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"readByPrice"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.ReadByPrice"
)
@ResponseWrapper
(
localName
=
"readByPriceResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.ReadByPriceResponse"
)
@WebResult
(
name
=
"ogloszenie"
,
targetNamespace
=
""
)
public
java
.
util
.
List
<
ogloszenia
.
wersja_async
.
OgloszenieSamochodowe
>
readByPrice
(
@WebParam
(
name
=
"min"
,
targetNamespace
=
""
)
java
.
math
.
BigDecimal
min
,
@WebParam
(
name
=
"max"
,
targetNamespace
=
""
)
java
.
math
.
BigDecimal
max
)
throws
BladBazyDanych_Exception
;
@WebMethod
(
operationName
=
"poczekaj"
)
@RequestWrapper
(
localName
=
"poczekaj"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.Poczekaj"
)
@ResponseWrapper
(
localName
=
"poczekajResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.PoczekajResponse"
)
public
Response
<
ogloszenia
.
wersja_async
.
PoczekajResponse
>
poczekajAsync
(
@WebParam
(
name
=
"imie"
,
targetNamespace
=
""
)
java
.
lang
.
String
imie
,
@WebParam
(
name
=
"czas"
,
targetNamespace
=
""
)
long
czas
);
@WebMethod
(
operationName
=
"poczekaj"
)
@ResponseWrapper
(
localName
=
"poczekajResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.PoczekajResponse"
)
@RequestWrapper
(
localName
=
"poczekaj"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.Poczekaj"
)
public
Future
<?>
poczekajAsync
(
@WebParam
(
name
=
"imie"
,
targetNamespace
=
""
)
java
.
lang
.
String
imie
,
@WebParam
(
name
=
"czas"
,
targetNamespace
=
""
)
long
czas
,
@WebParam
(
name
=
"asyncHandler"
,
targetNamespace
=
""
)
AsyncHandler
<
ogloszenia
.
wersja_async
.
PoczekajResponse
>
asyncHandler
);
@WebMethod
@RequestWrapper
(
localName
=
"poczekaj"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.Poczekaj"
)
@ResponseWrapper
(
localName
=
"poczekajResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.PoczekajResponse"
)
@WebResult
(
name
=
"return"
,
targetNamespace
=
""
)
public
java
.
lang
.
String
poczekaj
(
@WebParam
(
name
=
"imie"
,
targetNamespace
=
""
)
java
.
lang
.
String
imie
,
@WebParam
(
name
=
"czas"
,
targetNamespace
=
""
)
long
czas
);
@WebMethod
@Oneway
@RequestWrapper
(
localName
=
"dodajImie"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.DodajImie"
)
public
void
dodajImie
(
@WebParam
(
name
=
"imie"
,
targetNamespace
=
""
)
java
.
lang
.
String
imie
);
@WebMethod
@RequestWrapper
(
localName
=
"insert"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.Insert"
)
@ResponseWrapper
(
localName
=
"insertResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.InsertResponse"
)
@WebResult
(
name
=
"new-id"
,
targetNamespace
=
""
)
public
int
insert
(
@WebParam
(
name
=
"ogloszenie"
,
targetNamespace
=
""
)
ogloszenia
.
wersja_async
.
OgloszenieSamochodowe
ogloszenie
)
throws
BladBazyDanych_Exception
;
@WebMethod
(
operationName
=
"photo"
)
@RequestWrapper
(
localName
=
"photo"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.Photo"
)
@ResponseWrapper
(
localName
=
"photoResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.PhotoResponse"
)
public
Response
<
ogloszenia
.
wersja_async
.
PhotoResponse
>
photoAsync
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
);
@WebMethod
(
operationName
=
"photo"
)
@ResponseWrapper
(
localName
=
"photoResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.PhotoResponse"
)
@RequestWrapper
(
localName
=
"photo"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.Photo"
)
public
Future
<?>
photoAsync
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
,
@WebParam
(
name
=
"asyncHandler"
,
targetNamespace
=
""
)
AsyncHandler
<
ogloszenia
.
wersja_async
.
PhotoResponse
>
asyncHandler
);
@WebMethod
@RequestWrapper
(
localName
=
"photo"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.Photo"
)
@ResponseWrapper
(
localName
=
"photoResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.PhotoResponse"
)
@WebResult
(
name
=
"bytes"
,
targetNamespace
=
""
)
public
byte
[]
photo
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
)
throws
NieznanyRekord_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"update"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.Update"
)
@ResponseWrapper
(
localName
=
"updateResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.UpdateResponse"
)
public
void
update
(
@WebParam
(
name
=
"ogloszenie"
,
targetNamespace
=
""
)
ogloszenia
.
wersja_async
.
OgloszenieSamochodowe
ogloszenie
)
throws
NieznanyRekord_Exception
,
BladBazyDanych_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"readOne"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.ReadOne"
)
@ResponseWrapper
(
localName
=
"readOneResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.ReadOneResponse"
)
@WebResult
(
name
=
"ogloszenie"
,
targetNamespace
=
""
)
public
ogloszenia
.
wersja_async
.
OgloszenieSamochodowe
readOne
(
@WebParam
(
name
=
"id"
,
targetNamespace
=
""
)
int
id
)
throws
NieznanyRekord_Exception
,
BladBazyDanych_Exception
;
@WebMethod
@RequestWrapper
(
localName
=
"pobierzImiona"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.PobierzImiona"
)
@ResponseWrapper
(
localName
=
"pobierzImionaResponse"
,
targetNamespace
=
"http://soap.ogloszenia/"
,
className
=
"ogloszenia.wersja_async.PobierzImionaResponse"
)
@WebResult
(
name
=
"imiona"
,
targetNamespace
=
""
)
public
java
.
lang
.
String
pobierzImiona
()
;
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/OgloszeniaService.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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-04T11:35:41.764+02:00
* Generated source version: 4.0.0
*
*/
@WebServiceClient
(
name
=
"OgloszeniaService"
,
wsdlLocation
=
"http://localhost:8080/OgloszeniaSerwer/Ogloszenia?wsdl"
,
targetNamespace
=
"http://soap.ogloszenia/"
)
public
class
OgloszeniaService
extends
Service
{
public
final
static
URL
WSDL_LOCATION
;
public
final
static
QName
SERVICE
=
new
QName
(
"http://soap.ogloszenia/"
,
"OgloszeniaService"
);
public
final
static
QName
OgloszeniaPort
=
new
QName
(
"http://soap.ogloszenia/"
,
"OgloszeniaPort"
);
static
{
URL
url
=
null
;
try
{
url
=
new
URL
(
"http://localhost:8080/OgloszeniaSerwer/Ogloszenia?wsdl"
);
}
catch
(
MalformedURLException
e
)
{
java
.
util
.
logging
.
Logger
.
getLogger
(
OgloszeniaService
.
class
.
getName
())
.
log
(
java
.
util
.
logging
.
Level
.
INFO
,
"Can not initialize the default wsdl from {0}"
,
"http://localhost:8080/OgloszeniaSerwer/Ogloszenia?wsdl"
);
}
WSDL_LOCATION
=
url
;
}
public
OgloszeniaService
(
URL
wsdlLocation
)
{
super
(
wsdlLocation
,
SERVICE
);
}
public
OgloszeniaService
(
URL
wsdlLocation
,
QName
serviceName
)
{
super
(
wsdlLocation
,
serviceName
);
}
public
OgloszeniaService
()
{
super
(
WSDL_LOCATION
,
SERVICE
);
}
public
OgloszeniaService
(
WebServiceFeature
...
features
)
{
super
(
WSDL_LOCATION
,
SERVICE
,
features
);
}
public
OgloszeniaService
(
URL
wsdlLocation
,
WebServiceFeature
...
features
)
{
super
(
wsdlLocation
,
SERVICE
,
features
);
}
public
OgloszeniaService
(
URL
wsdlLocation
,
QName
serviceName
,
WebServiceFeature
...
features
)
{
super
(
wsdlLocation
,
serviceName
,
features
);
}
/**
*
* @return
* returns Ogloszenia
*/
@WebEndpoint
(
name
=
"OgloszeniaPort"
)
public
Ogloszenia
getOgloszeniaPort
()
{
return
super
.
getPort
(
OgloszeniaPort
,
Ogloszenia
.
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 Ogloszenia
*/
@WebEndpoint
(
name
=
"OgloszeniaPort"
)
public
Ogloszenia
getOgloszeniaPort
(
WebServiceFeature
...
features
)
{
return
super
.
getPort
(
OgloszeniaPort
,
Ogloszenia
.
class
,
features
);
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Ogloszenie.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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.XmlSeeAlso
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for ogloszenie complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="ogloszenie">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="wystawione" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="cena" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
* <element name="tytul" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="opis" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="sprzedawca" type="{http://soap.ogloszenia/}sprzedawca" minOccurs="0"/>
* </sequence>
* <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" />
* <attribute name="id-sprzedawcy" type="{http://www.w3.org/2001/XMLSchema}int" />
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"ogloszenie"
,
propOrder
=
{
"wystawione"
,
"cena"
,
"tytul"
,
"opis"
,
"sprzedawca"
})
@XmlSeeAlso
({
OgloszenieSamochodowe
.
class
})
public
class
Ogloszenie
{
protected
String
wystawione
;
protected
BigDecimal
cena
;
protected
String
tytul
;
protected
String
opis
;
protected
Sprzedawca
sprzedawca
;
@XmlAttribute
(
name
=
"id"
)
protected
Integer
id
;
@XmlAttribute
(
name
=
"id-sprzedawcy"
)
protected
Integer
idSprzedawcy
;
/**
* Gets the value of the wystawione property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getWystawione
()
{
return
wystawione
;
}
/**
* Sets the value of the wystawione property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setWystawione
(
String
value
)
{
this
.
wystawione
=
value
;
}
/**
* Gets the value of the cena property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public
BigDecimal
getCena
()
{
return
cena
;
}
/**
* Sets the value of the cena property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public
void
setCena
(
BigDecimal
value
)
{
this
.
cena
=
value
;
}
/**
* Gets the value of the tytul property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getTytul
()
{
return
tytul
;
}
/**
* Sets the value of the tytul property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setTytul
(
String
value
)
{
this
.
tytul
=
value
;
}
/**
* Gets the value of the opis property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getOpis
()
{
return
opis
;
}
/**
* Sets the value of the opis property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setOpis
(
String
value
)
{
this
.
opis
=
value
;
}
/**
* Gets the value of the sprzedawca property.
*
* @return
* possible object is
* {@link Sprzedawca }
*
*/
public
Sprzedawca
getSprzedawca
()
{
return
sprzedawca
;
}
/**
* Sets the value of the sprzedawca property.
*
* @param value
* allowed object is
* {@link Sprzedawca }
*
*/
public
void
setSprzedawca
(
Sprzedawca
value
)
{
this
.
sprzedawca
=
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 idSprzedawcy property.
*
* @return
* possible object is
* {@link Integer }
*
*/
public
Integer
getIdSprzedawcy
()
{
return
idSprzedawcy
;
}
/**
* Sets the value of the idSprzedawcy property.
*
* @param value
* allowed object is
* {@link Integer }
*
*/
public
void
setIdSprzedawcy
(
Integer
value
)
{
this
.
idSprzedawcy
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/OgloszenieSamochodowe.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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 ogloszenieSamochodowe complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="ogloszenieSamochodowe">
* <complexContent>
* <extension base="{http://soap.ogloszenia/}ogloszenie">
* <sequence>
* <element name="marka" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="model" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="generacja" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="rok-produkcji" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="stan-licznika" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="kolor" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="silnik" type="{http://soap.ogloszenia/}silnik" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"ogloszenieSamochodowe"
,
propOrder
=
{
"marka"
,
"model"
,
"generacja"
,
"rokProdukcji"
,
"stanLicznika"
,
"kolor"
,
"silnik"
})
public
class
OgloszenieSamochodowe
extends
Ogloszenie
{
protected
String
marka
;
protected
String
model
;
protected
String
generacja
;
@XmlElement
(
name
=
"rok-produkcji"
)
protected
int
rokProdukcji
;
@XmlElement
(
name
=
"stan-licznika"
)
protected
int
stanLicznika
;
protected
String
kolor
;
protected
Silnik
silnik
;
/**
* Gets the value of the marka property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getMarka
()
{
return
marka
;
}
/**
* Sets the value of the marka property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setMarka
(
String
value
)
{
this
.
marka
=
value
;
}
/**
* Gets the value of the model property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getModel
()
{
return
model
;
}
/**
* Sets the value of the model property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setModel
(
String
value
)
{
this
.
model
=
value
;
}
/**
* Gets the value of the generacja property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getGeneracja
()
{
return
generacja
;
}
/**
* Sets the value of the generacja property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setGeneracja
(
String
value
)
{
this
.
generacja
=
value
;
}
/**
* Gets the value of the rokProdukcji property.
*
*/
public
int
getRokProdukcji
()
{
return
rokProdukcji
;
}
/**
* Sets the value of the rokProdukcji property.
*
*/
public
void
setRokProdukcji
(
int
value
)
{
this
.
rokProdukcji
=
value
;
}
/**
* Gets the value of the stanLicznika property.
*
*/
public
int
getStanLicznika
()
{
return
stanLicznika
;
}
/**
* Sets the value of the stanLicznika property.
*
*/
public
void
setStanLicznika
(
int
value
)
{
this
.
stanLicznika
=
value
;
}
/**
* Gets the value of the kolor property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getKolor
()
{
return
kolor
;
}
/**
* Sets the value of the kolor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setKolor
(
String
value
)
{
this
.
kolor
=
value
;
}
/**
* Gets the value of the silnik property.
*
* @return
* possible object is
* {@link Silnik }
*
*/
public
Silnik
getSilnik
()
{
return
silnik
;
}
/**
* Sets the value of the silnik property.
*
* @param value
* allowed object is
* {@link Silnik }
*
*/
public
void
setSilnik
(
Silnik
value
)
{
this
.
silnik
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Paliwo.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlEnum
;
import
jakarta.xml.bind.annotation.XmlEnumValue
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for paliwo.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <pre>{@code
* <simpleType name="paliwo">
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
* <enumeration value="benzyna"/>
* <enumeration value="diesel"/>
* <enumeration value="lpg"/>
* <enumeration value="hybryda"/>
* <enumeration value="elektryk"/>
* </restriction>
* </simpleType>
* }</pre>
*
*/
@XmlType
(
name
=
"paliwo"
)
@XmlEnum
public
enum
Paliwo
{
@XmlEnumValue
(
"benzyna"
)
BENZYNA
(
"benzyna"
),
@XmlEnumValue
(
"diesel"
)
DIESEL
(
"diesel"
),
@XmlEnumValue
(
"lpg"
)
LPG
(
"lpg"
),
@XmlEnumValue
(
"hybryda"
)
HYBRYDA
(
"hybryda"
),
@XmlEnumValue
(
"elektryk"
)
ELEKTRYK
(
"elektryk"
);
private
final
String
value
;
Paliwo
(
String
v
)
{
value
=
v
;
}
public
String
value
()
{
return
value
;
}
public
static
Paliwo
fromValue
(
String
v
)
{
for
(
Paliwo
c:
Paliwo
.
values
())
{
if
(
c
.
value
.
equals
(
v
))
{
return
c
;
}
}
throw
new
IllegalArgumentException
(
v
);
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Photo.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for photo complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="photo">
* <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
=
"photo"
,
propOrder
=
{
"id"
})
public
class
Photo
{
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
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/PhotoResponse.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for photoResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="photoResponse">
* <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
=
"photoResponse"
,
propOrder
=
{
"bytes"
})
public
class
PhotoResponse
{
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
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/PobierzImiona.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for pobierzImiona complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="pobierzImiona">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"pobierzImiona"
)
public
class
PobierzImiona
{
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/PobierzImionaResponse.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for pobierzImionaResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="pobierzImionaResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="imiona" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"pobierzImionaResponse"
,
propOrder
=
{
"imiona"
})
public
class
PobierzImionaResponse
{
protected
String
imiona
;
/**
* Gets the value of the imiona property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getImiona
()
{
return
imiona
;
}
/**
* Sets the value of the imiona property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setImiona
(
String
value
)
{
this
.
imiona
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Poczekaj.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for poczekaj complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="poczekaj">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="imie" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="czas" type="{http://www.w3.org/2001/XMLSchema}long"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"poczekaj"
,
propOrder
=
{
"imie"
,
"czas"
})
public
class
Poczekaj
{
protected
String
imie
;
protected
long
czas
;
/**
* Gets the value of the imie property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getImie
()
{
return
imie
;
}
/**
* Sets the value of the imie property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setImie
(
String
value
)
{
this
.
imie
=
value
;
}
/**
* Gets the value of the czas property.
*
*/
public
long
getCzas
()
{
return
czas
;
}
/**
* Sets the value of the czas property.
*
*/
public
void
setCzas
(
long
value
)
{
this
.
czas
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/PoczekajResponse.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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 poczekajResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="poczekajResponse">
* <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
=
"poczekajResponse"
,
propOrder
=
{
"_return"
})
public
class
PoczekajResponse
{
@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
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/ReadAll.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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
{
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/ReadAllResponse.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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="ogloszenie" type="{http://soap.ogloszenia/}ogloszenieSamochodowe" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"readAllResponse"
,
propOrder
=
{
"ogloszenie"
})
public
class
ReadAllResponse
{
protected
List
<
OgloszenieSamochodowe
>
ogloszenie
;
/**
* Gets the value of the ogloszenie 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 ogloszenie property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getOgloszenie().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link OgloszenieSamochodowe }
*
*
* @return
* The value of the ogloszenie property.
*/
public
List
<
OgloszenieSamochodowe
>
getOgloszenie
()
{
if
(
ogloszenie
==
null
)
{
ogloszenie
=
new
ArrayList
<>();
}
return
this
.
ogloszenie
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/ReadByPrice.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/ReadByPriceResponse.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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="ogloszenie" type="{http://soap.ogloszenia/}ogloszenieSamochodowe" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"readByPriceResponse"
,
propOrder
=
{
"ogloszenie"
})
public
class
ReadByPriceResponse
{
protected
List
<
OgloszenieSamochodowe
>
ogloszenie
;
/**
* Gets the value of the ogloszenie 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 ogloszenie property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getOgloszenie().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link OgloszenieSamochodowe }
*
*
* @return
* The value of the ogloszenie property.
*/
public
List
<
OgloszenieSamochodowe
>
getOgloszenie
()
{
if
(
ogloszenie
==
null
)
{
ogloszenie
=
new
ArrayList
<>();
}
return
this
.
ogloszenie
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/ReadOne.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/ReadOneResponse.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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="ogloszenie" type="{http://soap.ogloszenia/}ogloszenieSamochodowe" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"readOneResponse"
,
propOrder
=
{
"ogloszenie"
})
public
class
ReadOneResponse
{
protected
OgloszenieSamochodowe
ogloszenie
;
/**
* Gets the value of the ogloszenie property.
*
* @return
* possible object is
* {@link OgloszenieSamochodowe }
*
*/
public
OgloszenieSamochodowe
getOgloszenie
()
{
return
ogloszenie
;
}
/**
* Sets the value of the ogloszenie property.
*
* @param value
* allowed object is
* {@link OgloszenieSamochodowe }
*
*/
public
void
setOgloszenie
(
OgloszenieSamochodowe
value
)
{
this
.
ogloszenie
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Silnik.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlSchemaType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for silnik complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="silnik">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="moc" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
* <element name="pojemnosc" type="{http://www.w3.org/2001/XMLSchema}float" minOccurs="0"/>
* <element name="paliwo" type="{http://soap.ogloszenia/}paliwo" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"silnik"
,
propOrder
=
{
"moc"
,
"pojemnosc"
,
"paliwo"
})
public
class
Silnik
{
protected
Float
moc
;
protected
Float
pojemnosc
;
@XmlSchemaType
(
name
=
"string"
)
protected
Paliwo
paliwo
;
/**
* Gets the value of the moc property.
*
* @return
* possible object is
* {@link Float }
*
*/
public
Float
getMoc
()
{
return
moc
;
}
/**
* Sets the value of the moc property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public
void
setMoc
(
Float
value
)
{
this
.
moc
=
value
;
}
/**
* Gets the value of the pojemnosc property.
*
* @return
* possible object is
* {@link Float }
*
*/
public
Float
getPojemnosc
()
{
return
pojemnosc
;
}
/**
* Sets the value of the pojemnosc property.
*
* @param value
* allowed object is
* {@link Float }
*
*/
public
void
setPojemnosc
(
Float
value
)
{
this
.
pojemnosc
=
value
;
}
/**
* Gets the value of the paliwo property.
*
* @return
* possible object is
* {@link Paliwo }
*
*/
public
Paliwo
getPaliwo
()
{
return
paliwo
;
}
/**
* Sets the value of the paliwo property.
*
* @param value
* allowed object is
* {@link Paliwo }
*
*/
public
void
setPaliwo
(
Paliwo
value
)
{
this
.
paliwo
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Sprzedawca.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
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 sprzedawca complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="sprzedawca">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="nazwa" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="adres" type="{http://soap.ogloszenia/}adres" minOccurs="0"/>
* <element name="telefon" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="email" 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
=
"sprzedawca"
,
propOrder
=
{
"nazwa"
,
"adres"
,
"telefon"
,
"email"
})
public
class
Sprzedawca
{
protected
String
nazwa
;
protected
Adres
adres
;
protected
String
telefon
;
protected
String
email
;
@XmlAttribute
(
name
=
"id"
)
protected
Integer
id
;
/**
* Gets the value of the nazwa property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getNazwa
()
{
return
nazwa
;
}
/**
* Sets the value of the nazwa property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setNazwa
(
String
value
)
{
this
.
nazwa
=
value
;
}
/**
* Gets the value of the adres property.
*
* @return
* possible object is
* {@link Adres }
*
*/
public
Adres
getAdres
()
{
return
adres
;
}
/**
* Sets the value of the adres property.
*
* @param value
* allowed object is
* {@link Adres }
*
*/
public
void
setAdres
(
Adres
value
)
{
this
.
adres
=
value
;
}
/**
* Gets the value of the telefon property.
*
* @return
* possible object is
* {@link String }
*
*/
public
String
getTelefon
()
{
return
telefon
;
}
/**
* Sets the value of the telefon property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public
void
setTelefon
(
String
value
)
{
this
.
telefon
=
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
;
}
/**
* 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
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/Update.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for update complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="update">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ogloszenie" type="{http://soap.ogloszenia/}ogloszenieSamochodowe" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"update"
,
propOrder
=
{
"ogloszenie"
})
public
class
Update
{
protected
OgloszenieSamochodowe
ogloszenie
;
/**
* Gets the value of the ogloszenie property.
*
* @return
* possible object is
* {@link OgloszenieSamochodowe }
*
*/
public
OgloszenieSamochodowe
getOgloszenie
()
{
return
ogloszenie
;
}
/**
* Sets the value of the ogloszenie property.
*
* @param value
* allowed object is
* {@link OgloszenieSamochodowe }
*
*/
public
void
setOgloszenie
(
OgloszenieSamochodowe
value
)
{
this
.
ogloszenie
=
value
;
}
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/UpdateResponse.java
0 → 100644
View file @
21c32b9c
package
ogloszenia
.
wersja_async
;
import
jakarta.xml.bind.annotation.XmlAccessType
;
import
jakarta.xml.bind.annotation.XmlAccessorType
;
import
jakarta.xml.bind.annotation.XmlType
;
/**
* <p>Java class for updateResponse complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>{@code
* <complexType name="updateResponse">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* }</pre>
*
*
*/
@XmlAccessorType
(
XmlAccessType
.
FIELD
)
@XmlType
(
name
=
"updateResponse"
)
public
class
UpdateResponse
{
}
OgloszeniaKlient/src/main/java/ogloszenia/wersja_async/package-info.java
0 → 100644
View file @
21c32b9c
@jakarta
.
xml
.
bind
.
annotation
.
XmlSchema
(
namespace
=
"http://soap.ogloszenia/"
)
package
ogloszenia
.
wersja_async
;
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