WSDL 12
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
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.nemsis.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ws.nemsis.org/">
<wsdl:types>
<xsd:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ws.nemsis.org/" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ws.nemsis.org/">
<xs:element name="SubmitDataRequest" type="tns:NemsisV3WsSubmitDataRequest"/>
<xs:element name="SubmitDataResponse" type="tns:NemsisV3WsSubmitDataResponse"/>
<xs:element name="RetrieveStatusRequest" type="tns:NemsisV3WsRetrieveStatusRequest"/>
<xs:element name="RetrieveStatusResponse" type="tns:NemsisV3WsRetrieveStatusResponse"/>
<xs:element name="QueryLimitRequest" type="tns:NemsisV3WsQueryLimitRequest"/>
<xs:element name="QueryLimitResponse" type="tns:NemsisV3WsQueryLimitResponse"/>
<xs:simpleType name="SubmitResponseCode">
<xs:union memberTypes="tns:CommonResponseCode tns:ResultPendingCode tns:SubmitDataProcessCodes"/>
</xs:simpleType>
<xs:simpleType name="RetrieveResponseCode">
<xs:union memberTypes="tns:CommonResponseCode tns:ResultPendingCode tns:SubmitDataProcessCodes tns:RetrieveErrorCode"></xs:union>
</xs:simpleType>
<xs:simpleType name="QueryLimitResponseCode">
<xs:union memberTypes="tns:PrivilegeErrorCodes tns:QueryLimitCodes"/>
</xs:simpleType>
<xs:simpleType name="CommonResponseCode">
<xs:union memberTypes="tns:PrivilegeErrorCodes tns:ParameterErrorCodes tns:CustomErrorCodes tns:CustomSuccessCodes"/>
</xs:simpleType>
<xs:simpleType name="PrivilegeErrorCodes">
<xs:annotation>
<xs:documentation>
Error codes of authentication/authorization for an attempted web service operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="-3">
<xs:annotation>
<xs:documentation>
Permission denied to the client for that organization
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-2">
<xs:annotation>
<xs:documentation>Permission denied to the client for the operation</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-1">
<xs:annotation>
<xs:documentation>Invalid username and/or password</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ParameterErrorCodes">
<xs:annotation>
<xs:documentation>
Generic error codes for an attempted web service operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="-4">
<xs:annotation>
<xs:documentation>Invalid parameter value</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-5">
<xs:annotation>
<xs:documentation>Invalid parameter combination</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ResultPendingCode">
<xs:annotation>
<xs:documentation>
Code to indicate the process is not finished on the server for an attempted web service operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="0">
<xs:annotation>
<xs:documentation>The expected data processing is not yet complete</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SubmitDataProcessCodes">
<xs:annotation>
<xs:documentation>
Codes to describe return codes for an attempted data submission web service operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="-11">
<xs:annotation>
<xs:documentation>
Failed import of a file, because the same file is already on the server
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-12">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of failing XML validation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-13">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of [FATAL] level Schematron rule violation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-14">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of [ERROR] level Schematron rule violation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-15">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of critical ETL rule violation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-16">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of critical Business Intelligence rule violation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1">
<xs:annotation>
<xs:documentation>Successful import of a file</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="2">
<xs:annotation>
<xs:documentation>
Successful import of a file, with [ERROR] level Schematron rule violation reported
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="3">
<xs:annotation>
<xs:documentation>
Successful import of a file, with [WARNING] level Schematron rule violation reported
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="4">
<xs:annotation>
<xs:documentation>Successful import of a file, with ETL rule warning</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="5">
<xs:annotation>
<xs:documentation>
Successful import of a file, with Business Intelligence warning
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RetrieveErrorCode">
<xs:annotation>
<xs:documentation>
Code to indicate the error status for RetrieveStatus operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="-40">
<xs:annotation>
<xs:documentation>
Status for the requested requestHandle is not available: it could be expired, or not in correct format, or never exist, or for any other whatever reason.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-41">
<xs:annotation>
<xs:documentation>
Status for the requested requestHandle is not available since it expires already
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-42">
<xs:annotation>
<xs:documentation>
Invalid value of requestHandle (for example, not formatted properly)
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-43">
<xs:annotation>
<xs:documentation>Never-used value of requestHandle</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="QueryLimitCodes">
<xs:annotation>
<xs:documentation>
Code to indicate the status for QueryLimit operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="51">
<xs:annotation>
<xs:documentation>Successful operation of QueryLimit</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-50">
<xs:annotation>
<xs:documentation>Server is too busy. The client should query later</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-51">
<xs:annotation>
<xs:documentation>Failed operation of QueryLimit</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CustomErrorCodes">
<xs:annotation>
<xs:documentation>
State or Vendor specific error returning code for web service request. It should be smaller than -100
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:maxExclusive value="-100"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CustomSuccessCodes">
<xs:annotation>
<xs:documentation>
State or Vendor specific success returning code for web service request. It should be greater than 100
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:minExclusive value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:group name="PrivilegeGroup">
<xs:sequence>
<xs:element name="username">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="password">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="250"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="organization">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="NemsisV3WsRetrieveStatusRequest">
<xs:sequence>
<xs:group ref="tns:PrivilegeGroup"/>
<xs:element name="requestType" type="xs:string" fixed="RetrieveStatus"/>
<xs:element name="requestHandle" type="xs:string"/>
<xs:element name="originalRequestType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
This element indicates the original request type: it could be either "SubmitData" or "Search", or some custom request operation. When the server assigns unique identifiers (requestHandle) for all operations, this element is not necessary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="additionalInfo" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsRetrieveStatusResponse">
<xs:sequence>
<xs:element name="requestType" type="xs:string" fixed="RetrieveStatus"/>
<xs:element name="statusCode" type="tns:RetrieveResponseCode"/>
<xs:element name="requestHandle" type="xs:string">
<xs:annotation>
<xs:documentation>
This requestHandle should echo the submit value of "requestHandle" in RetrieveStatus operation. The server doesn't need to create a new handle for asynchronous request.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="originalRequestType" type="xs:string" minOccurs="0"/>
<xs:element name="retrieveResult" minOccurs="0">
<xs:complexType>
<xs:choice>
<xs:element name="retrieveSubmitStatus" type="tns:SubmitDataReport"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsQueryLimitRequest">
<xs:sequence>
<xs:group ref="tns:PrivilegeGroup"/>
<xs:element name="requestType" type="xs:string" fixed="QueryLimit"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsQueryLimitResponse">
<xs:sequence>
<xs:element name="requestType" type="xs:string" fixed="QueryLimit"/>
<xs:element name="limit" type="xs:integer">
<xs:annotation>
<xs:documentation>
The Web Service data submission size limit, expressed in KB (1024 Bytes). This should only apply to data payload, not on the whole SOAP message. Positive value indicates success and negative value indicates error.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="statusCode" type="tns:QueryLimitResponseCode"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsSubmitDataRequest">
<xs:sequence>
<xs:group ref="tns:PrivilegeGroup"/>
<xs:element name="requestType" type="xs:string" fixed="SubmitData"/>
<xs:element name="submitPayload" type="tns:DataPayload"/>
<xs:element name="requestDataSchema" type="tns:DataSchema"/>
<xs:element name="schemaVersion" type="xs:string"/>
<xs:element name="additionalInfo" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsSubmitDataResponse">
<xs:sequence>
<xs:element name="requestType" type="xs:string" fixed="SubmitData"/>
<xs:element name="requestHandle" type="xs:string"/>
<xs:element name="statusCode" type="tns:SubmitResponseCode"/>
<xs:element name="reports" type="tns:SubmitDataReport" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SubmitDataReport">
<xs:sequence>
<xs:element name="xmlValidationErrorReport" type="tns:XmlValidationErrorReport"/>
<xs:element name="schematronReport" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="completeSchematronReport" type="tns:CompleteSchematronReport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="digestedSchematronReport" type="tns:DigestedSchematronReport" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="customReport" type="tns:SingleCustomReport" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DataPayload">
<xs:annotation>
<xs:documentation>
For data submission and search result, DataPayload is used to include a "file" or root element of XML document.
</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="payloadOfString" type="tns:PayloadOfString"/>
<xs:element name="payloadOfBinary" type="tns:PayloadOfBinary"/>
<xs:element name="payloadOfXmlElement" type="tns:PayloadOfXmlElement"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="PayloadOfString">
<xs:sequence>
<xs:element name="encoding" type="xs:string" fixed="text/xml"/>
<xs:element name="payload" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PayloadOfBinary">
<xs:annotation>
<xs:documentation>The compression algorithm is ZIP.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="encoding" type="xs:string" fixed="base64Binary"/>
<xs:element name="compressed" type="xs:boolean" default="true"/>
<xs:element name="payload" type="xs:base64Binary"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PayloadOfXmlElement">
<xs:sequence>
<xs:element name="encoding" type="xs:string" fixed="xml"/>
<xs:any processContents="lax"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="DataSchema">
<xs:union memberTypes="tns:NemsisDataSchema tns:GeneralDataSchema"/>
</xs:simpleType>
<xs:simpleType name="GeneralDataSchema">
<xs:annotation>
<xs:documentation>
A string to indicate the schema for the embedded data, not limit to NEMSIS
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:minInclusive value="70"/>
<xs:maxInclusive value="90"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NemsisDataSchema">
<xs:annotation>
<xs:documentation>
A string to indicate the NEMSIS schema for the embedded data
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="61">
<xs:annotation>
<xs:documentation>NEMSIS EMS Schema</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="62">
<xs:annotation>
<xs:documentation>NEMSIS Demographics Schema</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="63">
<xs:annotation>
<xs:documentation>NEMSIS CAD Schema</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="64">
<xs:annotation>
<xs:documentation>NEMSIS Medical Device Schema</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="SingleCustomReport">
<xs:annotation>
<xs:documentation>The element contains a list of customized reports</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="reportType" type="xs:string">
<xs:annotation>
<xs:documentation>Describe the customized report type</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="customReport" maxOccurs="unbounded" minOccurs="0" type="tns:DataPayload"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CompleteSchematronReport">
<xs:annotation>
<xs:documentation>
The element contains a list of full Schematron validation reports
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="completeReport" maxOccurs="unbounded" minOccurs="0" type="tns:DataPayload"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DigestedSchematronReport">
<xs:annotation>
<xs:documentation>
This element contains a list of digested Schematron validation reports
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="schematronRuleDefinition" type="tns:SchematronRuleDefinition"/>
<xs:element name="errorMessage" type="xs:string"/>
<xs:element name="errorElement" maxOccurs="unbounded" type="tns:XmlElementInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SchematronRuleDefinition">
<xs:annotation>
<xs:documentation>
Metadata for a Schematron rule. Some information might be redudant or overlap.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ruleFile" minOccurs="0" type="xs:string"/>
<xs:element name="ruleFileVersion" minOccurs="0" type="xs:string"/>
<xs:element name="ruleID" type="xs:string"/>
<xs:element name="ruleVersion" minOccurs="0" type="xs:string"/>
<xs:element name="ruleDesc" minOccurs="0" type="xs:string"/>
<xs:element name="location" minOccurs="0" type="xs:string"/>
<xs:element name="ruleContext" minOccurs="0" type="xs:string"/>
<xs:element name="ruleSyntax" minOccurs="0" type="xs:string"/>
<xs:element name="assertCondition" minOccurs="0" type="xs:string"/>
<xs:element name="severity" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlValidationErrorReport">
<xs:annotation>
<xs:documentation>
There are several ways to report XML validation Errors: 1. list every violating elements; 2. aggregate elements with same error type, then list all error types; 3. only report one or some errors
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="totalErrorCount" type="xs:integer">
<xs:annotation>
<xs:documentation>
The count of total validation error found by validator. It is not necessary same as the count of errors inlcuded in this report. Value of "zero" indicates no XML validation error.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xmlError" type="tns:XmlValidationError" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlValidationError">
<xs:sequence>
<xs:element name="desc" type="xs:string">
<xs:annotation>
<xs:documentation>XML Validation Error Message</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="xmlGeneralErrorList" type="tns:XmlGeneralErrorList"/>
<xs:element name="failedElementList" type="tns:XmlElementList"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlGeneralErrorList">
<xs:sequence>
<xs:element name="errorMessage" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlElementList">
<xs:sequence>
<xs:element name="xmlElementInfo" maxOccurs="unbounded" type="tns:XmlElementInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlElementInfo">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
<xs:sequence>
<xs:element name="elementName" type="xs:string"/>
<xs:choice>
<xs:element name="elementLocation" type="tns:XmlElementLocation"/>
<xs:element name="elementLocationUnknown" type="xs:string" fixed="Yes"/>
</xs:choice>
<xs:element name="value" minOccurs="0" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlElementLocation">
<xs:annotation>
<xs:documentation>
To locate an XML element, there are three ways: 1. find the line and column number in the XML file. 2. find the XPATH location in parsed DOM tree. 3. by search the file using XML element name and its value. It is not required to report line/column AND xpath at the same time.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="line" minOccurs="0" type="xs:integer"/>
<xs:element name="column" minOccurs="0" type="xs:integer"/>
<xs:element name="xpathLocation" minOccurs="0" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SubmitDataRequest">
<wsdl:part name="parameters" element="tns:SubmitDataRequest"/>
</wsdl:message>
<wsdl:message name="SubmitDataResponse">
<wsdl:part name="parameters" element="tns:SubmitDataResponse"/>
</wsdl:message>
<wsdl:message name="RetrieveStatusRequest">
<wsdl:part name="parameters" element="tns:RetrieveStatusRequest"/>
</wsdl:message>
<wsdl:message name="RetrieveStatusResponse">
<wsdl:part name="parameters" element="tns:RetrieveStatusResponse"/>
</wsdl:message>
<wsdl:message name="QueryLimitRequest">
<wsdl:part name="parameters" element="tns:QueryLimitRequest"/>
</wsdl:message>
<wsdl:message name="QueryLimitResponse">
<wsdl:part name="parameters" element="tns:QueryLimitResponse"/>
</wsdl:message>
<wsdl:portType name="NemsisWsPortType">
<wsdl:operation name="SubmitData">
<wsdl:input message="tns:SubmitDataRequest"/>
<wsdl:output message="tns:SubmitDataResponse"/>
</wsdl:operation>
<wsdl:operation name="RetrieveStatus">
<wsdl:input message="tns:RetrieveStatusRequest"/>
<wsdl:output message="tns:RetrieveStatusResponse"/>
</wsdl:operation>
<wsdl:operation name="QueryLimit">
<wsdl:input message="tns:QueryLimitRequest"/>
<wsdl:output message="tns:QueryLimitResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="NemsisWsPortBinding" type="tns:NemsisWsPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SubmitData">
<soap:operation soapAction="http://ws.nemsis.org/SubmitData"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="RetrieveStatus">
<soap:operation soapAction="http://ws.nemsis.org/RetrieveStatus"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="QueryLimit">
<soap:operation soapAction="http://ws.nemsis.org/QueryLimit"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="NemsisWsService">
<wsdl:port name="NemsisWsPort" binding="tns:NemsisWsPortBinding">
<soap:address location="http://www.example.org/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
WSDL 13
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
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.nemsis.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://ws.nemsis.org/">
<wsdl:types>
<xsd:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://ws.nemsis.org/" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://ws.nemsis.org/">
<xs:element name="SubmitDataRequest" type="tns:NemsisV3WsSubmitDataRequest"/>
<xs:element name="SubmitDataResponse" type="tns:NemsisV3WsSubmitDataResponse"/>
<xs:element name="RetrieveStatusRequest" type="tns:NemsisV3WsRetrieveStatusRequest"/>
<xs:element name="RetrieveStatusResponse" type="tns:NemsisV3WsRetrieveStatusResponse"/>
<xs:element name="QueryLimitRequest" type="tns:NemsisV3WsQueryLimitRequest"/>
<xs:element name="QueryLimitResponse" type="tns:NemsisV3WsQueryLimitResponse"/>
<xs:simpleType name="SubmitResponseCode">
<xs:union memberTypes="tns:CommonResponseCode tns:ResultPendingCode tns:SubmitDataProcessCodes"/>
</xs:simpleType>
<xs:simpleType name="RetrieveResponseCode">
<xs:union memberTypes="tns:CommonResponseCode tns:ResultPendingCode tns:SubmitDataProcessCodes tns:RetrieveErrorCode"></xs:union>
</xs:simpleType>
<xs:simpleType name="QueryLimitResponseCode">
<xs:union memberTypes="tns:PrivilegeErrorCodes tns:QueryLimitCodes"/>
</xs:simpleType>
<xs:simpleType name="CommonResponseCode">
<xs:union memberTypes="tns:PrivilegeErrorCodes tns:ParameterErrorCodes tns:CustomErrorCodes tns:CustomSuccessCodes"/>
</xs:simpleType>
<xs:simpleType name="PrivilegeErrorCodes">
<xs:annotation>
<xs:documentation>
Error codes of authentication/authorization for an attempted web service operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="-3">
<xs:annotation>
<xs:documentation>
Permission denied to the client for that organization
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-2">
<xs:annotation>
<xs:documentation>Permission denied to the client for the operation</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-1">
<xs:annotation>
<xs:documentation>Invalid username and/or password</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ParameterErrorCodes">
<xs:annotation>
<xs:documentation>
Generic error codes for an attempted web service operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="-4">
<xs:annotation>
<xs:documentation>Invalid parameter value</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-5">
<xs:annotation>
<xs:documentation>Invalid parameter combination</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ResultPendingCode">
<xs:annotation>
<xs:documentation>
Code to indicate the process is not finished on the server for an attempted web service operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="0">
<xs:annotation>
<xs:documentation>The expected data processing is not yet complete</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SubmitDataProcessCodes">
<xs:annotation>
<xs:documentation>
Codes to describe return codes for an attempted data submission web service operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="-11">
<xs:annotation>
<xs:documentation>
Failed import of a file, because the same file is already on the server
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-12">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of failing XML validation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-13">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of [FATAL] level Schematron rule violation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-14">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of [ERROR] level Schematron rule violation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-15">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of critical ETL rule violation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-16">
<xs:annotation>
<xs:documentation>
Failed import of a file, because of critical Business Intelligence rule violation
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="1">
<xs:annotation>
<xs:documentation>Successful import of a file</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="2">
<xs:annotation>
<xs:documentation>
Successful import of a file, with [ERROR] level Schematron rule violation reported
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="3">
<xs:annotation>
<xs:documentation>
Successful import of a file, with [WARNING] level Schematron rule violation reported
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="4">
<xs:annotation>
<xs:documentation>Successful import of a file, with ETL rule warning</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="5">
<xs:annotation>
<xs:documentation>
Successful import of a file, with Business Intelligence warning
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RetrieveErrorCode">
<xs:annotation>
<xs:documentation>
Code to indicate the error status for RetrieveStatus operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="-40">
<xs:annotation>
<xs:documentation>
Status for the requested requestHandle is not available: it could be expired, or not in correct format, or never exist, or for any other whatever reason.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-41">
<xs:annotation>
<xs:documentation>
Status for the requested requestHandle is not available since it expires already
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-42">
<xs:annotation>
<xs:documentation>
Invalid value of requestHandle (for example, not formatted properly)
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-43">
<xs:annotation>
<xs:documentation>Never-used value of requestHandle</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="QueryLimitCodes">
<xs:annotation>
<xs:documentation>
Code to indicate the status for QueryLimit operation
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="51">
<xs:annotation>
<xs:documentation>Successful operation of QueryLimit</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-50">
<xs:annotation>
<xs:documentation>Server is too busy. The client should query later</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="-51">
<xs:annotation>
<xs:documentation>Failed operation of QueryLimit</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CustomErrorCodes">
<xs:annotation>
<xs:documentation>
State or Vendor specific error returning code for web service request. It should be smaller than -100
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:maxExclusive value="-100"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="CustomSuccessCodes">
<xs:annotation>
<xs:documentation>
State or Vendor specific success returning code for web service request. It should be greater than 100
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:minExclusive value="100"/>
</xs:restriction>
</xs:simpleType>
<xs:group name="PrivilegeGroup">
<xs:sequence>
<xs:element name="username">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="password">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="250"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="organization">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1"/>
<xs:maxLength value="100"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="NemsisV3WsRetrieveStatusRequest">
<xs:sequence>
<xs:group ref="tns:PrivilegeGroup"/>
<xs:element name="requestType" type="xs:string" fixed="RetrieveStatus"/>
<xs:element name="requestHandle" type="xs:string"/>
<xs:element name="originalRequestType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>
This element indicates the original request type: it could be either "SubmitData" or "Search", or some custom request operation. When the server assigns unique identifiers (requestHandle) for all operations, this element is not necessary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="additionalInfo" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsRetrieveStatusResponse">
<xs:sequence>
<xs:element name="requestType" type="xs:string" fixed="RetrieveStatus"/>
<xs:element name="statusCode" type="tns:RetrieveResponseCode"/>
<xs:element name="requestHandle" type="xs:string">
<xs:annotation>
<xs:documentation>
This requestHandle should echo the submit value of "requestHandle" in RetrieveStatus operation. The server doesn't need to create a new handle for asynchronous request.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="originalRequestType" type="xs:string" minOccurs="0"/>
<xs:element name="retrieveResult" minOccurs="0">
<xs:complexType>
<xs:choice>
<xs:element name="retrieveSubmitStatus" type="tns:SubmitDataReport"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsQueryLimitRequest">
<xs:sequence>
<xs:group ref="tns:PrivilegeGroup"/>
<xs:element name="requestType" type="xs:string" fixed="QueryLimit"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsQueryLimitResponse">
<xs:sequence>
<xs:element name="requestType" type="xs:string" fixed="QueryLimit"/>
<xs:element name="limit" type="xs:integer">
<xs:annotation>
<xs:documentation>
The Web Service data submission size limit, expressed in KB (1024 Bytes). This should only apply to data payload, not on the whole SOAP message. Positive value indicates success and negative value indicates error.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="statusCode" type="tns:QueryLimitResponseCode"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsSubmitDataRequest">
<xs:sequence>
<xs:group ref="tns:PrivilegeGroup"/>
<xs:element name="requestType" type="xs:string" fixed="SubmitData"/>
<xs:element name="submitPayload" type="tns:DataPayload"/>
<xs:element name="requestDataSchema" type="tns:DataSchema"/>
<xs:element name="schemaVersion" type="xs:string"/>
<xs:element name="additionalInfo" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NemsisV3WsSubmitDataResponse">
<xs:sequence>
<xs:element name="requestType" type="xs:string" fixed="SubmitData"/>
<xs:element name="requestHandle" type="xs:string"/>
<xs:element name="statusCode" type="tns:SubmitResponseCode"/>
<xs:element name="reports" type="tns:SubmitDataReport" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SubmitDataReport">
<xs:sequence>
<xs:element name="xmlValidationErrorReport" type="tns:XmlValidationErrorReport"/>
<xs:element name="schematronReport" minOccurs="0">
<xs:complexType>
<xs:sequence>
<xs:element name="completeSchematronReport" type="tns:CompleteSchematronReport" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="digestedSchematronReport" type="tns:DigestedSchematronReport" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="customReport" type="tns:SingleCustomReport" maxOccurs="unbounded" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DataPayload">
<xs:annotation>
<xs:documentation>
For data submission and search result, DataPayload is used to include a "file" or root element of XML document.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="payloadOfXmlElement" type="tns:PayloadOfXmlElement"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PayloadOfXmlElement">
<xs:sequence>
<xs:element name="encoding" type="xs:string" fixed="xml"/>
<xs:any processContents="lax"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="DataSchema">
<xs:union memberTypes="tns:NemsisDataSchema tns:GeneralDataSchema"/>
</xs:simpleType>
<xs:simpleType name="GeneralDataSchema">
<xs:annotation>
<xs:documentation>
A string to indicate the schema for the embedded data, not limit to NEMSIS
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:minInclusive value="70"/>
<xs:maxInclusive value="90"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NemsisDataSchema">
<xs:annotation>
<xs:documentation>
A string to indicate the NEMSIS schema for the embedded data
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:enumeration value="61">
<xs:annotation>
<xs:documentation>NEMSIS EMS Schema</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="62">
<xs:annotation>
<xs:documentation>NEMSIS Demographics Schema</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="63">
<xs:annotation>
<xs:documentation>NEMSIS CAD Schema</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="64">
<xs:annotation>
<xs:documentation>NEMSIS Medical Device Schema</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="SingleCustomReport">
<xs:annotation>
<xs:documentation>The element contains a list of customized reports</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="reportType" type="xs:string">
<xs:annotation>
<xs:documentation>Describe the customized report type</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="customReport" maxOccurs="unbounded" minOccurs="0" type="tns:DataPayload"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CompleteSchematronReport">
<xs:annotation>
<xs:documentation>
The element contains a list of full Schematron validation reports
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="completeReport" maxOccurs="unbounded" minOccurs="0" type="tns:DataPayload"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DigestedSchematronReport">
<xs:annotation>
<xs:documentation>
This element contains a list of digested Schematron validation reports
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="schematronRuleDefinition" type="tns:SchematronRuleDefinition"/>
<xs:element name="errorMessage" type="xs:string"/>
<xs:element name="errorElement" maxOccurs="unbounded" type="tns:XmlElementInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SchematronRuleDefinition">
<xs:annotation>
<xs:documentation>
Metadata for a Schematron rule. Some information might be redudant or overlap.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ruleFile" minOccurs="0" type="xs:string"/>
<xs:element name="ruleFileVersion" minOccurs="0" type="xs:string"/>
<xs:element name="ruleID" type="xs:string"/>
<xs:element name="ruleVersion" minOccurs="0" type="xs:string"/>
<xs:element name="ruleDesc" minOccurs="0" type="xs:string"/>
<xs:element name="location" minOccurs="0" type="xs:string"/>
<xs:element name="ruleContext" minOccurs="0" type="xs:string"/>
<xs:element name="ruleSyntax" minOccurs="0" type="xs:string"/>
<xs:element name="assertCondition" minOccurs="0" type="xs:string"/>
<xs:element name="severity" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlValidationErrorReport">
<xs:annotation>
<xs:documentation>
There are several ways to report XML validation Errors: 1. list every violating elements; 2. aggregate elements with same error type, then list all error types; 3. only report one or some errors
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="totalErrorCount" type="xs:integer">
<xs:annotation>
<xs:documentation>
The count of total validation error found by validator. It is not necessary same as the count of errors inlcuded in this report. Value of "zero" indicates no XML validation error.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="xmlError" type="tns:XmlValidationError" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlValidationError">
<xs:sequence>
<xs:element name="desc" type="xs:string">
<xs:annotation>
<xs:documentation>XML Validation Error Message</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="xmlGeneralErrorList" type="tns:XmlGeneralErrorList"/>
<xs:element name="failedElementList" type="tns:XmlElementList"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlGeneralErrorList">
<xs:sequence>
<xs:element name="errorMessage" type="xs:string" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlElementList">
<xs:sequence>
<xs:element name="xmlElementInfo" maxOccurs="unbounded" type="tns:XmlElementInfo"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlElementInfo">
<xs:annotation>
<xs:documentation/>
</xs:annotation>
<xs:sequence>
<xs:element name="elementName" type="xs:string"/>
<xs:choice>
<xs:element name="elementLocation" type="tns:XmlElementLocation"/>
<xs:element name="elementLocationUnknown" type="xs:string" fixed="Yes"/>
</xs:choice>
<xs:element name="value" minOccurs="0" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XmlElementLocation">
<xs:annotation>
<xs:documentation>
To locate an XML element, there are three ways: 1. find the line and column number in the XML file. 2. find the XPATH location in parsed DOM tree. 3. by search the file using XML element name and its value. It is not required to report line/column AND xpath at the same time.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="line" minOccurs="0" type="xs:integer"/>
<xs:element name="column" minOccurs="0" type="xs:integer"/>
<xs:element name="xpathLocation" minOccurs="0" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="SubmitDataRequest">
<wsdl:part name="parameters" element="tns:SubmitDataRequest"/>
</wsdl:message>
<wsdl:message name="SubmitDataResponse">
<wsdl:part name="parameters" element="tns:SubmitDataResponse"/>
</wsdl:message>
<wsdl:message name="RetrieveStatusRequest">
<wsdl:part name="parameters" element="tns:RetrieveStatusRequest"/>
</wsdl:message>
<wsdl:message name="RetrieveStatusResponse">
<wsdl:part name="parameters" element="tns:RetrieveStatusResponse"/>
</wsdl:message>
<wsdl:message name="QueryLimitRequest">
<wsdl:part name="parameters" element="tns:QueryLimitRequest"/>
</wsdl:message>
<wsdl:message name="QueryLimitResponse">
<wsdl:part name="parameters" element="tns:QueryLimitResponse"/>
</wsdl:message>
<wsdl:portType name="NemsisWsPortType">
<wsdl:operation name="SubmitData">
<wsdl:input message="tns:SubmitDataRequest"/>
<wsdl:output message="tns:SubmitDataResponse"/>
</wsdl:operation>
<wsdl:operation name="RetrieveStatus">
<wsdl:input message="tns:RetrieveStatusRequest"/>
<wsdl:output message="tns:RetrieveStatusResponse"/>
</wsdl:operation>
<wsdl:operation name="QueryLimit">
<wsdl:input message="tns:QueryLimitRequest"/>
<wsdl:output message="tns:QueryLimitResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="NemsisWsPortBinding" type="tns:NemsisWsPortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="SubmitData">
<soap:operation soapAction="http://ws.nemsis.org/SubmitData"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="RetrieveStatus">
<soap:operation soapAction="http://ws.nemsis.org/RetrieveStatus"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="QueryLimit">
<soap:operation soapAction="http://ws.nemsis.org/QueryLimit"/>
<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="NemsisWsService">
<wsdl:port name="NemsisWsPort" binding="tns:NemsisWsPortBinding">
<soap:address location="http://www.example.org/"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Number of differences: 2
Added(0,0)
Deleted(16,3)
Changed(3)
Changed in changed(3)
Ignored