schangxiang@126.com
2025-09-19 0821aa23eabe557c0d9ef5dbe6989c68be35d1fe
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
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
import { IWsdlBaseOptions } from '../types';
export interface IWsdlXmlns {
    wsu?: string;
    wsp?: string;
    wsam?: string;
    soap?: string;
    tns?: string;
    xsd?: string;
    __tns__?: string;
    [prop: string]: string | void;
}
export interface IXmlNs {
    [key: string]: string;
}
export declare class Element {
    readonly allowedChildren?: {
        [k: string]: typeof Element;
    };
    $name?: string;
    $targetNamespace?: any;
    children: Element[];
    ignoredNamespaces: any;
    name?: string;
    nsName?: any;
    prefix?: string;
    schemaXmlns?: any;
    valueKey: string;
    xmlKey: any;
    xmlns?: IXmlNs;
    constructor(nsName: string, attrs: any, options?: IWsdlBaseOptions, schemaAttrs?: any);
    deleteFixedAttrs(): void;
    startElement(stack: Element[], nsName: string, attrs: any, options: IWsdlBaseOptions, schemaXmlns: any): void;
    endElement(stack: Element[], nsName: string): void;
    addChild(child: Element): void;
    unexpected(name: string): void;
    description(definitions?: DefinitionsElement, xmlns?: IXmlNs): any;
    init(): void;
    private _initializeOptions;
}
export declare class ElementElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    $minOccurs?: string;
    $maxOccurs?: string;
    $type?: string;
    $ref?: string;
    targetNSAlias?: string;
    targetNamespace?: string;
    $lookupType?: string;
    $lookupTypes?: any[];
    description(definitions: DefinitionsElement, xmlns?: IXmlNs): {};
}
export declare class AnyElement extends Element {
}
export declare class InputElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    use: string;
    encodingStyle: string;
    $type: string;
    $lookupType: string;
    targetNSAlias?: string;
    targetNamespace?: string;
    parts?: any;
    addChild(child: Element): void;
}
export declare class OutputElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    targetNSAlias?: string;
    targetNamespace?: string;
    use?: string;
    encodingStyle?: string;
    $lookupTypes: any;
    addChild(child: Element): void;
}
export declare class SimpleTypeElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    description(definitions: DefinitionsElement): {};
}
export declare class RestrictionElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    $base: string;
    description(definitions?: DefinitionsElement, xmlns?: IXmlNs): any;
}
export declare class ExtensionElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    $base: string;
    description(definitions: DefinitionsElement, xmlns?: IXmlNs): {};
}
export declare class ChoiceElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    description(definitions: DefinitionsElement, xmlns: IXmlNs): {};
}
export declare class EnumerationElement extends Element {
    description(): string;
}
export declare class ComplexTypeElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    description(definitions: DefinitionsElement, xmlns: IXmlNs): {};
}
export declare class ComplexContentElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    description(definitions: DefinitionsElement, xmlns: IXmlNs): {};
}
export declare class SimpleContentElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    description(definitions: DefinitionsElement, xmlns: IXmlNs): {};
}
export declare class SequenceElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    description(definitions: DefinitionsElement, xmlns: IXmlNs): {};
}
export declare class AllElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    description(definitions: DefinitionsElement, xmlns: IXmlNs): {};
}
export declare class MessageElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    element: ElementElement;
    parts: any;
    postProcess(definitions: DefinitionsElement): void;
    description(definitions: DefinitionsElement): {};
    /**
     * Takes a given namespaced String(for example: 'alias:property') and creates a lookupType
     * object for further use in as first (lookup) `parameterTypeObj` within the `objectToXML`
     * method and provides an entry point for the already existing code in `findChildSchemaObject`.
     *
     * @method _createLookupTypeObject
     * @param {String}            nsString          The NS String (for example "alias:type").
     * @param {Object}            xmlns       The fully parsed `wsdl` definitions object (including all schemas).
     * @returns {Object}
     * @private
     */
    private _createLookupTypeObject;
    /**
     * Iterates through the element and every nested child to find any defined `$type`
     * property and returns it in a underscore ('_') separated String (using '^' as default
     * value if no `$type` property was found).
     *
     * @method _getNestedLookupTypeString
     * @param {Object}            element         The element which (probably) contains nested `$type` values.
     * @returns {String}
     * @private
     */
    private _getNestedLookupTypeString;
}
export declare class DocumentationElement extends Element {
}
export interface IInclude {
    namespace: string;
    location: string;
}
export declare class SchemaElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    complexTypes: {
        [name: string]: ComplexTypeElement;
    };
    types: {
        [name: string]: SimpleTypeElement;
    };
    elements: {
        [name: string]: ElementElement;
    };
    includes: IInclude[];
    $elementFormDefault: any;
    merge(source: SchemaElement): this;
    addChild(child: Element): void;
}
export declare class TypesElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    schemas: {
        [name: string]: SchemaElement;
    };
    addChild(child: any): void;
}
export declare class OperationElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    input: InputElement;
    output: OutputElement;
    inputSoap: any;
    outputSoap: any;
    style: string;
    soapAction: string;
    $soapAction?: string;
    $style?: string;
    addChild(child: any): void;
    postProcess(definitions: DefinitionsElement, tag: string): void;
    description(definitions: DefinitionsElement): {
        input: any;
        output: any;
    };
}
export declare class PortTypeElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    methods: {
        [name: string]: OperationElement;
    };
    postProcess(definitions: DefinitionsElement): void;
    description(definitions: DefinitionsElement): {};
}
export interface ITopElement {
    methodName: string;
    outputName: string;
}
export interface ITopElements {
    [name: string]: ITopElement;
}
export declare class BindingElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    topElements?: ITopElements;
    transport: string;
    style: string;
    methods: {
        [name: string]: OperationElement;
    };
    $type?: string;
    addChild(child: any): void;
    postProcess(definitions: DefinitionsElement): void;
    description(definitions: DefinitionsElement): {};
}
export declare class PortElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    location: any;
    addChild(child: any): void;
}
export interface IPort {
    location: string;
    binding: BindingElement;
}
export declare class ServiceElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    ports: {
        [name: string]: IPort;
    };
    postProcess(definitions: DefinitionsElement): void;
    description(definitions: DefinitionsElement): {};
}
export declare class DefinitionsElement extends Element {
    readonly allowedChildren: {
        [k: string]: typeof Element;
    };
    complexTypes: any;
    messages: {
        [name: string]: MessageElement;
    };
    portTypes: {
        [name: string]: PortTypeElement;
    };
    bindings: {
        [name: string]: BindingElement;
    };
    services: {
        [name: string]: ServiceElement;
    };
    schemas: {
        [name: string]: SchemaElement;
    };
    descriptions: {
        types: {
            [key: string]: Element;
        };
    };
    init(): void;
    addChild(child: any): void;
}
export declare class BodyElement extends Element {
    $use?: string;
    $encodingStyle?: string;
}
export declare class IncludeElement extends Element {
    $schemaLocation?: any;
    $location?: any;
    $namespace?: any;
}
export declare class ImportElement extends Element {
    $schemaLocation?: any;
    $location?: any;
    $namespace?: any;
}