wsdl
xsdata.models.wsdl
Documentation
dataclass
WSDL Documentation model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
elements | list[object] | A list of generic any elements | array_any_element() |
Source code in xsdata/models/wsdl.py
14 15 16 17 18 19 20 21 22 |
|
WsdlElement
dataclass
WSDL Base element model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The element name | attribute() |
documentation | Optional[Documentation] | The element documentation | element() |
location | Optional[str] | The element location | None |
ns_map | The element namespace prefix-URI map | required |
Source code in xsdata/models/wsdl.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
|
ExtensibleElement
dataclass
Bases: WsdlElement
WSDL Extensible element model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The element name | attribute() |
documentation | Optional[Documentation] | The element documentation | element() |
location | Optional[str] | The element location | None |
ns_map | The element namespace prefix-URI map | required | |
extended | list[object] | A list of generic elements | array_any_element() |
Source code in xsdata/models/wsdl.py
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
|
extended_elements: Iterator[AnyElement]
property
Yields all generic element instances.
Types
dataclass
WSDL Types model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
schemas | list[Schema] | Inline xml schema definitions | array_element(name='schema', namespace=uri) |
documentation | Optional[Documentation] | The type documentation | element() |
Source code in xsdata/models/wsdl.py
64 65 66 67 68 69 70 71 72 73 74 |
|
Import
dataclass
WSDL Import model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
location | Optional[str] | The location URI | attribute() |
namespace | Optional[str] | The namespace URI | attribute() |
Source code in xsdata/models/wsdl.py
77 78 79 80 81 82 83 84 85 86 87 |
|
Part
dataclass
Bases: WsdlElement
WSDL Part model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The part name | attribute() |
documentation | Optional[Documentation] | The part documentation | element() |
location | Optional[str] | The part location | None |
ns_map | The part namespace prefix-URI map | required | |
type | Optional[str] | The part type | attribute() |
element | Optional[str] | The part element | attribute() |
Source code in xsdata/models/wsdl.py
90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 |
|
Message
dataclass
Bases: WsdlElement
WSDL Message model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The message name | attribute() |
documentation | Optional[Documentation] | The message documentation | element() |
location | Optional[str] | The message location | None |
ns_map | The message namespace prefix-URI map | required | |
parts | list[Part] | The message parts | array_element(name='part') |
Source code in xsdata/models/wsdl.py
107 108 109 110 111 112 113 114 115 116 117 118 119 |
|
PortTypeMessage
dataclass
Bases: WsdlElement
WSDL Port type message model representation.
Args: name: The port type name documentation: The port type documentation location: The port type location ns_map: The port type namespace prefix-URI map message: The port type message
Source code in xsdata/models/wsdl.py
122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
|
PortTypeOperation
dataclass
Bases: WsdlElement
WSDL Port type operation model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input | PortTypeMessage | The input port type message instance | element() |
output | PortTypeMessage | The output port type message instance | element() |
faults | list[PortTypeMessage] | The list of error port type message instances | array_element(name='fault') |
Source code in xsdata/models/wsdl.py
138 139 140 141 142 143 144 145 146 147 148 149 150 |
|
PortType
dataclass
Bases: ExtensibleElement
WSDL Port type model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The port type name | attribute() |
documentation | Optional[Documentation] | The port type documentation | element() |
location | Optional[str] | The port type location | None |
ns_map | The port type namespace prefix-URI map | required | |
extended | list[object] | The port type extended elements | array_any_element() |
operations | list[PortTypeOperation] | The port type operations | array_element(name='operation') |
Source code in xsdata/models/wsdl.py
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 |
|
find_operation(name)
Find an operation by name or raise an error.
Source code in xsdata/models/wsdl.py
168 169 170 |
|
BindingMessage
dataclass
Bases: ExtensibleElement
WSDL Binding message model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The message name | attribute() |
documentation | Optional[Documentation] | The message documentation | element() |
location | Optional[str] | The message location | None |
ns_map | The message namespace prefix-URI map | required | |
extended | list[object] | The message extended elements | array_any_element() |
Source code in xsdata/models/wsdl.py
173 174 175 176 177 178 179 180 181 182 183 |
|
BindingOperation
dataclass
Bases: ExtensibleElement
WSDL Binding operation model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
input | BindingMessage | The input binding message instance | element() |
output | BindingMessage | The output binding message instance | element() |
faults | list[BindingMessage] | The list of error binding message instances | array_element(name='fault') |
name | str | The operation name | attribute() |
documentation | Optional[Documentation] | The operation documentation | element() |
location | Optional[str] | The operation location | None |
ns_map | The operation namespace prefix-URI map | required | |
extended | list[object] | The operation extended elements | array_any_element() |
Source code in xsdata/models/wsdl.py
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 |
|
Binding
dataclass
Bases: ExtensibleElement
WSDL Binding model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The binding name | attribute() |
documentation | Optional[Documentation] | The binding documentation | element() |
location | Optional[str] | The binding location | None |
ns_map | The binding namespace prefix-URI map | required | |
extended | list[object] | The binding extended elements | array_any_element() |
type | str | The binding type | attribute() |
operations | list[BindingOperation] | The binding operations | array_element(name='operation') |
Source code in xsdata/models/wsdl.py
206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 |
|
unique_operations()
Yields all unique operation instances.
Source code in xsdata/models/wsdl.py
223 224 225 226 227 228 |
|
ServicePort
dataclass
Bases: ExtensibleElement
WSDL Service port model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The port name | attribute() |
documentation | Optional[Documentation] | The port documentation | element() |
location | Optional[str] | The port location | None |
ns_map | The port namespace prefix-URI map | required | |
extended | list[object] | The port extended elements | array_any_element() |
binding | str | The port binding | attribute() |
Source code in xsdata/models/wsdl.py
231 232 233 234 235 236 237 238 239 240 241 242 243 244 |
|
Service
dataclass
Bases: WsdlElement
WSDL Service model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The service name | attribute() |
documentation | Optional[Documentation] | The service documentation | element() |
location | Optional[str] | The service location | None |
ns_map | The service namespace prefix-URI map | required | |
ports | list[ServicePort] | The service ports | array_element(name='port') |
Source code in xsdata/models/wsdl.py
247 248 249 250 251 252 253 254 255 256 257 258 259 |
|
Definitions
dataclass
Bases: ExtensibleElement
WSDL Definitions model representation.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name | str | The definition name | attribute() |
documentation | Optional[Documentation] | The definition documentation | element() |
location | Optional[str] | The definition location | None |
ns_map | The definition namespace prefix-URI map | required | |
extended | list[object] | A list of generic elements | array_any_element() |
types | Optional[Types] | The definition types | element() |
imports | list[Import] | The definition imports | array_element(name='import') |
messages | list[Message] | The definition messages | array_element(name='message') |
port_types | list[PortType] | The definition port types | array_element(name='portType') |
bindings | list[Binding] | The definition bindings | array_element(name='binding') |
services | list[Service] | The definition services | array_element(name='service') |
extended | list[object] | The definition extended elements | array_any_element() |
Source code in xsdata/models/wsdl.py
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 |
|
schemas: Iterator[Schema]
property
Yield all schema definitions.
Meta
Metadata options.
Source code in xsdata/models/wsdl.py
281 282 283 284 285 |
|
find_binding(name)
Find a binding by name or raise an error.
Source code in xsdata/models/wsdl.py
301 302 303 |
|
find_message(name)
Find a message by name or raise an error.
Source code in xsdata/models/wsdl.py
305 306 307 |
|
find_port_type(name)
Find a port type by name or raise an error.
Source code in xsdata/models/wsdl.py
309 310 311 |
|
merge(source)
Merge the source instance with this instance.
Source code in xsdata/models/wsdl.py
313 314 315 316 317 318 319 320 321 322 323 324 |
|
included()
Yield all imports.
Source code in xsdata/models/wsdl.py
326 327 328 |
|
find_or_die(items, name, type_name)
Find an item by name or raise an error.
Source code in xsdata/models/wsdl.py
334 335 336 337 338 339 340 |
|