-
Notifications
You must be signed in to change notification settings - Fork 33
/
ochp-direct.wsdl
1184 lines (1066 loc) · 41.1 KB
/
ochp-direct.wsdl
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
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="wsdl-viewer.xsl"?>
<!-- ===================================================================
OCHP-direct 0.2 Web Service Description
This document defines a standard interface between different parties in
the market of electric vehicle charging infrastructure and a clearing
house that provides a common data routing and exchange platform for all
these market shareholders.
Please note that the given documentation tags are not holding all
available information. For a full interface description please refer
to the OCHP specification PDF you can download from http://ochp.eu.
Copyright Information:
This work is licensed under the Creative Commons
Attribution-NoDerivatives 4.0 International License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by-nd/4.0/.
==================================================================== -->
<wsdl:definitions name="OCHP_direct_0.2"
targetNamespace="http://ochp.eu/1.4" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:s="http://www.w3.org/2001/XMLSchema"
xmlns:p="http://schemas.xmlsoap.org/wsdl/http/" xmlns:tns="http://ochp.eu/1.4">
<wsdl:documentation>
Open Clearing House Protocol (OCHP) direct Extension Version 0.2
</wsdl:documentation>
<wsdl:import namespace="http://ochp.eu/1.4" location="ochp.wsdl"/>
<wsdl:types>
<s:schema elementFormDefault="qualified" targetNamespace="http://ochp.eu/1.4">
<s:include schemaLocation="types/message-elements.xsd"/>
<s:element name="AddServiceEndpointsRequest">
<s:complexType>
<s:sequence>
<s:element minOccurs="0" maxOccurs="unbounded" name="providerEndpointArray" type="tns:ProviderEndpoint">
<s:annotation>
<s:documentation>
Array of endpoints of the partners provider system.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="unbounded" name="operatorEndpointArray" type="tns:OperatorEndpoint">
<s:annotation>
<s:documentation>
Array of endpoints of the partners operator system.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="AddServiceEndpointsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="result" type="tns:Result">
<s:annotation>
<s:documentation>
This contains the result of AddServiceEndpoints.req
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="GetServiceEndpointsRequest">
<s:complexType>
<s:annotation>
<s:documentation>
Defines the GetServiceEndpoints.req.
</s:documentation>
</s:annotation>
</s:complexType>
</s:element>
<s:element name="GetServiceEndpointsResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="result" type="tns:Result">
<s:annotation>
<s:documentation>
This contains the result of GetServiceEndpoints.req
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="unbounded" name="providerEndpointArray" type="tns:ProviderEndpoint">
<s:annotation>
<s:documentation>
Array of endpoints of all providers connected to the requester.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="unbounded" name="operatorEndpointArray" type="tns:OperatorEndpoint">
<s:annotation>
<s:documentation>
Array of endpoints of all operators connected to the requester.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:complexType name="DirectEndpoint">
<s:sequence>
<s:element name="url" minOccurs="1" maxOccurs="1">
<s:annotation>
<s:documentation>
The endpoint address.
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:pattern value="https:\/\/.+"></s:pattern>
<s:maxLength value="255"></s:maxLength>
</s:restriction>
</s:simpleType>
</s:element>
<s:element name="namespaceUrl" minOccurs="1" maxOccurs="1">
<s:annotation>
<s:documentation>
The WSDL namespace definition.
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:maxLength value="255"></s:maxLength>
<s:enumeration value="http://ochp.eu/1.3"></s:enumeration>
<s:enumeration value="http://ochp.eu/1.4"></s:enumeration>
</s:restriction>
</s:simpleType>
</s:element>
<s:element name="accessToken" minOccurs="1" maxOccurs="1">
<s:annotation>
<s:documentation>
The secret token to access this endpoint.
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:maxLength value="255"></s:maxLength>
</s:restriction>
</s:simpleType>
</s:element>
<s:element name="validDate" minOccurs="1" maxOccurs="1">
<s:annotation>
<s:documentation>
The date on which this endpoint/token combination is valid (plus overlap into day before and after).
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:length value="10"></s:length>
<s:whiteSpace value="collapse"></s:whiteSpace>
<s:pattern value="(\d\d\d\d)-(\d\d)-(\d\d)"></s:pattern>
</s:restriction>
</s:simpleType>
</s:element>
</s:sequence>
</s:complexType>
<s:complexType name="ProviderEndpoint">
<s:complexContent>
<s:extension base="tns:DirectEndpoint">
<s:sequence>
<s:element name="whitelist" type="tns:ContractPattern" minOccurs="1" maxOccurs="unbounded">
<s:annotation>
<s:documentation>
List of patterns that match all Contract-IDs the endpoint is responsible for.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="blacklist" type="tns:ContractPattern" minOccurs="0" maxOccurs="unbounded">
<s:annotation>
<s:documentation>
List of patterns that match Contract-IDs the endpoint is not responsible for, but are matched by the whitelist.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:extension>
</s:complexContent>
</s:complexType>
<s:complexType name="OperatorEndpoint">
<s:complexContent>
<s:extension base="tns:DirectEndpoint">
<s:sequence>
<s:element name="whitelist" type="tns:EvsePattern" minOccurs="1" maxOccurs="unbounded">
<s:annotation>
<s:documentation>
List of patterns that match all EVSE-IDs the endpoint is responsible for.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="blacklist" type="tns:EvsePattern" minOccurs="0" maxOccurs="unbounded">
<s:annotation>
<s:documentation>
List of patterns that match EVSE-IDs the endpoint is not responsible for, but are matched by the whitelist.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:extension>
</s:complexContent>
</s:complexType>
<s:simpleType name="ContractPattern">
<s:annotation>
<s:documentation>
Defines a pattern that matches Contract-IDs. The pattern must be specified for IDs without optional seperators. The wildcard character for the pattern is %. The pattern as well as the ID is case sensitive.
</s:documentation>
</s:annotation>
<s:restriction base="s:string">
<s:pattern value="[A-Za-z]{2}[A-Za-z0-9]{3}[Cc][A-Za-z0-9]{0,8}%?"></s:pattern>
</s:restriction>
</s:simpleType>
<s:simpleType name="EvsePattern">
<s:annotation>
<s:documentation>
Defines a pattern that matches EVSE-IDs. The pattern must be specified for IDs without optional seperators. Seperators in the ID's instance are handled as part of the alphabet. The wildcard character for the pattern is %.
</s:documentation>
</s:annotation>
<s:restriction base="s:string">
<s:pattern value="[A-Z]{2}[A-Z0-9]{3}[E]([A-Z0-9]?[A-Z0-9\*]{0,30})%?"></s:pattern>
</s:restriction>
</s:simpleType>
<!-- Elements and types for the direct communication -->
<s:complexType name="DirectResult" abstract="false">
<s:annotation>
<s:documentation>
General result for OCHP-direct
</s:documentation>
</s:annotation>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="resultCode" type="tns:DirectResultCodeType">
<s:annotation>
<s:documentation>
The machine-readable result code.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="1" maxOccurs="1" nillable="true" name="resultDescription">
<s:annotation>
<s:documentation>
The human-readable error description
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:maxLength value="1000"></s:maxLength>
</s:restriction>
</s:simpleType>
</s:element>
</s:sequence>
</s:complexType>
<s:complexType name="DirectResultCodeType">
<s:sequence>
<s:element name="resultCode">
<s:annotation>
<s:documentation>
ok: Data accepted and processed;
partly: Not all control parameters could be applied;
not-found: Given EVSE-ID is not known to the operator;
not-supported: Given EVSE-ID does not support OCHP-direct;
invalid-id: The DirectId is not valid or has expired;
server: Internal server error;
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:enumeration value="ok"></s:enumeration>
<s:enumeration value="partly"></s:enumeration>
<s:enumeration value="not-found"></s:enumeration>
<s:enumeration value="not-supported"></s:enumeration>
<s:enumeration value="invalid-id"></s:enumeration>
<s:enumeration value="server"></s:enumeration>
</s:restriction>
</s:simpleType>
</s:element>
</s:sequence>
</s:complexType>
<s:element name="DirectEvseStatusRequest">
<s:complexType>
<s:sequence>
<s:element name="requestedEvseId" type="tns:EvseId" minOccurs="1" maxOccurs="unbounded">
<s:annotation>
<s:documentation>
List of EVSE-IDs the live status is requested for.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ReportDiscrepancyRequest">
<s:complexType>
<s:sequence>
<s:element name="evseId" type="tns:EvseId" minOccurs="1" maxOccurs="1">
<s:annotation>
<s:documentation>
The charge point which is affected by the report.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="1" maxOccurs="1" nillable="false" name="report">
<s:annotation>
<s:documentation>
Textual or generated report of the discrepancy.
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:maxLength value="2000"></s:maxLength>
</s:restriction>
</s:simpleType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ReportDiscrepancyResponse">
<s:complexType></s:complexType>
</s:element>
<s:element name="SelectEvseRequest">
<s:complexType>
<s:sequence>
<s:element name="evseId" type="tns:EvseId" minOccurs="1" maxOccurs="1">
<s:annotation>
<s:documentation>
The charge point which is selected by the provider.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="contractId" type="tns:ContractId" minOccurs="1" maxOccurs="1">
<s:annotation>
<s:documentation>
Contract-ID for which the charge point is selected.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="reserveUntil" type="tns:DateTimeType" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
The time until which a reservation of the charge point is requested from now on. It is recommended not to exceed 30 minutes of reservation.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="SelectEvseResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="result" type="tns:DirectResult">
<s:annotation>
<s:documentation>
This contains the result of SelectEvse.req.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="1" name="directId" type="tns:DirectId">
<s:annotation>
<s:documentation>
The session id for this direct charging process on success.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="1" name="ttl" type="tns:DateTimeType">
<s:annotation>
<s:documentation>
On success the time until this selection is valid.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ControlEvseRequest">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="directId" type="tns:DirectId">
<s:annotation>
<s:documentation>
The session id referencing the direct charging process to be controlled.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="1" maxOccurs="1" name="operation" type="tns:DirectOperation">
<s:annotation>
<s:documentation>
The operation to be performed for the selected charge point.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="maxPower" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Maximum authorised power in kilowatts. Example: "3.7", "8", "15"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="maxCurrent" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Maximum authorised current in ampere. Example: "16", "25", "32"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="onePhase" type="s:boolean" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Marks an AC-charging session to be limited to one-phase charging.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="maxEnergy" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Maximum authorised energy in kilowatthours. Example: "5.5", "20", "85"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="minEnergy" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Minimum required energy in kilowatthours. Example: "5.5", "20", "85"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="departure" type="tns:DateTimeType" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Scheduled time of departure. Only to be used for smart charging purposes.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ControlEvseResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="result" type="tns:DirectResult">
<s:annotation>
<s:documentation>
This contains the result of ControlEvse.req.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="1" name="directId" type="tns:DirectId">
<s:annotation>
<s:documentation>
The session id for this direct charging process.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="1" name="ttl" type="tns:DateTimeType">
<s:annotation>
<s:documentation>
On success the timeout for this session.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ReleaseEvseRequest">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="directId" type="tns:DirectId">
<s:annotation>
<s:documentation>
The session id referencing the direct charging process to be released.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="ReleaseEvseResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="result" type="tns:DirectResult">
<s:annotation>
<s:documentation>
This contains the result of ReleaseEvse.req.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="1" name="directId" type="tns:DirectId">
<s:annotation>
<s:documentation>
The session id for this direct charging process.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="1" name="ttl" type="tns:DateTimeType">
<s:annotation>
<s:documentation>
On success the timeout for this session.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="InformProviderMessage">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="result" type="tns:DirectResult">
<s:annotation>
<s:documentation>
This contains the result if the EMP requested InformProvider from the CPO. If InformProviderMessage is sent by the CPO towards the EMP as a request, this element must not be used.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="1" maxOccurs="1" name="message" type="tns:DirectMessage">
<s:annotation>
<s:documentation>
The operation to be performed for the selected charge point.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="evseId" type="tns:EvseId" minOccurs="1" maxOccurs="1">
<s:annotation>
<s:documentation>
The charge point which is used for this charging process.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="contractId" type="tns:ContractId" minOccurs="1" maxOccurs="1">
<s:annotation>
<s:documentation>
Contract-ID to which the charge point is assigned.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="1" maxOccurs="1" name="directId" type="tns:DirectId">
<s:annotation>
<s:documentation>
The session id for this direct charging process.
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="0" maxOccurs="1" name="ttl" type="tns:DateTimeType">
<s:annotation>
<s:documentation>
The timeout for this session.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="maxPower" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Maximum authorised power in kilowatts. Example: "3.7", "8", "15"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="maxCurrent" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Maximum authorised current in ampere. Example: "16", "25", "32"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="onePhase" type="s:boolean" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Marks an AC-charging session to be limited to one-phase charging.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="maxEnergy" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Maximum authorised energy in kilowatthours. Example: "5.5", "20", "85"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="minEnergy" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Minimum required energy in kilowatthours. Example: "5.5", "20", "85"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="departure" type="tns:DateTimeType" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
Scheduled time of departure. Only to be used for smart charging purposes.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="currentPower" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
The currently supplied power limit in kilowatts in case of load management. Example: "3.7", "8", "15"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="chargedEnergy" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
The amount of energy in kilowatthours transferred during this charging process. Example: "5.5", "20", "85"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="meterReading" type="tns:MeterReading" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
The current meter value (in kWh) as displayed on the meter to enable displaying it to the user. Example: "12345.67"
</s:documentation>
</s:annotation>
</s:element>
<s:element name="chargingPeriods" type="tns:CdrPeriodType" minOccurs="0" maxOccurs="unbounded">
<s:annotation>
<s:documentation>
One period per item on the bill.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="currentCost" type="s:float" minOccurs="0" maxOccurs="1">
<s:annotation>
<s:documentation>
The total cost of the charging process up to this point.
</s:documentation>
</s:annotation>
</s:element>
<s:element name="currency" minOccurs="0" maxOccurs="1" nillable="true">
<s:annotation>
<s:documentation>
Alphabetic. The displayed and charged currency. Defined in ISO 4217 - Table A.1, alphabetic list.
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:pattern value="[A-Z]*"></s:pattern>
<s:minLength value="3"></s:minLength>
<s:maxLength value="3"></s:maxLength>
</s:restriction>
</s:simpleType>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="InformProviderResponse">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="result" type="tns:DirectResult">
<s:annotation>
<s:documentation>
This contains the result of InformProvider.req.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:element name="InformProviderRequest">
<s:complexType>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="directId" type="tns:DirectId">
<s:annotation>
<s:documentation>
The session id for this direct charging process.
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:element>
<s:simpleType name="DirectId">
<s:annotation>
<s:documentation>
Defines a pattern that matches EVSE-IDs. The pattern must be specified for IDs without optional seperators. Seperators in the ID's instance are handled as part of the alphabet. The wildcard character for the pattern is %.
</s:documentation>
</s:annotation>
<s:restriction base="s:string">
<s:pattern value="[A-Z0-9\-]*"></s:pattern>
<s:minLength value="1"></s:minLength>
<s:maxLength value="255"></s:maxLength>
</s:restriction>
</s:simpleType>
<s:complexType name="DirectOperation">
<s:sequence>
<s:element name="operation">
<s:annotation>
<s:documentation>
start: Initiate the start. Operator should allow the user to plug in;
change: Change the parameters of the charging process;
end: End the charging process. Operator should allow the user to plug out;
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:enumeration value="start"></s:enumeration>
<s:enumeration value="change"></s:enumeration>
<s:enumeration value="end"></s:enumeration>
</s:restriction>
</s:simpleType>
</s:element>
</s:sequence>
</s:complexType>
<s:complexType name="DirectMessage">
<s:sequence>
<s:element name="message">
<s:annotation>
<s:documentation>
start: A OCHP-direct charging process has been started;
change: The parameters of the charging process were changed;
info: A informative update is available, e.g. updated consumed energy value;
end: The charging process has ended, the connector was unplugged;
finish: The session is finished and the CDR was sent out;
</s:documentation>
</s:annotation>
<s:simpleType>
<s:restriction base="s:string">
<s:enumeration value="start"></s:enumeration>
<s:enumeration value="change"></s:enumeration>
<s:enumeration value="info"></s:enumeration>
<s:enumeration value="end"></s:enumeration>
<s:enumeration value="finish"></s:enumeration>
</s:restriction>
</s:simpleType>
</s:element>
</s:sequence>
</s:complexType>
<s:complexType name="MeterReading">
<s:annotation>
<s:documentation>
Most current meter readings transferred from the charge point including time stamp.
</s:documentation>
</s:annotation>
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="meterValue" type="s:float">
<s:annotation>
<s:documentation>
The meter reading as transferred by the charging station (OCPP default unit: Wh).
</s:documentation>
</s:annotation>
</s:element>
<s:element minOccurs="1" maxOccurs="1" name="meterTime" type="tns:LocalDateTimeType">
<s:annotation>
<s:documentation>
The exact local time stamp of the time the meter reading was taken (belonging to the meter reading, e.g. as transferred by OCPP).
</s:documentation>
</s:annotation>
</s:element>
</s:sequence>
</s:complexType>
</s:schema>
</wsdl:types>
<!-- ===================================================================
Messages
==================================================================== -->
<wsdl:message name="AddServiceEndpointsInput">
<wsdl:part name="parameters"
element="tns:AddServiceEndpointsRequest" />
</wsdl:message>
<wsdl:message name="AddServiceEndpointsOutput">
<wsdl:part name="parameters"
element="tns:AddServiceEndpointsResponse" />
</wsdl:message>
<wsdl:message name="GetServiceEndpointsInput">
<wsdl:part name="parameters"
element="tns:GetServiceEndpointsRequest" />
</wsdl:message>
<wsdl:message name="GetServiceEndpointsOutput">
<wsdl:part name="parameters"
element="tns:GetServiceEndpointsResponse" />
</wsdl:message>
<!-- Messages for the direct communication -->
<wsdl:message name="GetEvseStatusInput">
<wsdl:part name="parameters"
element="tns:DirectEvseStatusRequest" />
</wsdl:message>
<wsdl:message name="GetEvseStatusOutput">
<wsdl:part name="parameters"
element="tns:GetStatusResponse" />
</wsdl:message>
<wsdl:message name="ReportDiscrepancyInput">
<wsdl:part name="parameters"
element="tns:ReportDiscrepancyRequest" />
</wsdl:message>
<wsdl:message name="ReportDiscrepancyOutput">
<wsdl:part name="parameters"
element="tns:ReportDiscrepancyResponse" />
</wsdl:message>
<wsdl:message name="SelectEvseInput">
<wsdl:part name="parameters"
element="tns:SelectEvseRequest" />
</wsdl:message>
<wsdl:message name="SelectEvseOutput">
<wsdl:part name="parameters"
element="tns:SelectEvseResponse" />
</wsdl:message>
<wsdl:message name="ControlEvseInput">
<wsdl:part name="parameters"
element="tns:ControlEvseRequest" />
</wsdl:message>
<wsdl:message name="ControlEvseOutput">
<wsdl:part name="parameters"
element="tns:ControlEvseResponse" />
</wsdl:message>
<wsdl:message name="ReleaseEvseInput">
<wsdl:part name="parameters"
element="tns:ReleaseEvseRequest" />
</wsdl:message>
<wsdl:message name="ReleaseEvseOutput">
<wsdl:part name="parameters"
element="tns:ReleaseEvseResponse" />
</wsdl:message>
<wsdl:message name="InformProviderEMPInput">
<wsdl:part name="parameters"
element="tns:InformProviderMessage" />
</wsdl:message>
<wsdl:message name="InformProviderEMPOutput">
<wsdl:part name="parameters"
element="tns:InformProviderResponse" />
</wsdl:message>
<wsdl:message name="InformProviderCPOInput">
<wsdl:part name="parameters"
element="tns:InformProviderRequest" />
</wsdl:message>
<wsdl:message name="InformProviderCPOOutput">
<wsdl:part name="parameters"
element="tns:InformProviderMessage" />
</wsdl:message>
<!-- ===================================================================
Port Definitions
==================================================================== -->
<wsdl:portType name="OCHP_1.4-direct">
<wsdl:documentation>
OCHP Version 1.4 Interface + OCHP direct extension
</wsdl:documentation>
<wsdl:operation name="AddServiceEndpoints">
<wsdl:documentation>
The backend of each roaming partner has to send the definition of its OCHP direct interface to the Clearing House to share that data with their connected roaming partners.
</wsdl:documentation>
<wsdl:input message="tns:AddServiceEndpointsInput" />
<wsdl:output message="tns:AddServiceEndpointsOutput" />
</wsdl:operation>
<wsdl:operation name="GetServiceEndpoints">
<wsdl:documentation>
The backend of each roaming partner has to fetch the global list of interface definitions from the CHS.
</wsdl:documentation>
<wsdl:input message="tns:GetServiceEndpointsInput" />
<wsdl:output message="tns:GetServiceEndpointsOutput" />
</wsdl:operation>
</wsdl:portType>
<!-- Port definition for EVSE-Operator backends -->
<wsdl:portType name="Operator_OCHP-direct_0.2">
<wsdl:documentation>
OCHP-direct Version 0.2 Interface for the EVSE-Operator backend
</wsdl:documentation>
<wsdl:operation name="GetEvseStatus">
<wsdl:documentation>
Request the live status for a list of EVSEs without latency through the Clearing House.
</wsdl:documentation>
<wsdl:input message="tns:GetEvseStatusInput" />
<wsdl:output message="tns:GetEvseStatusOutput" />
</wsdl:operation>
<wsdl:operation name="ReportDiscrepancy">
<wsdl:documentation>
Report an issue concerning the data or the compatibility or status of an EVSE to the operator to their information.
</wsdl:documentation>
<wsdl:input message="tns:ReportDiscrepancyInput" />
<wsdl:output message="tns:ReportDiscrepancyOutput" />
</wsdl:operation>
<wsdl:operation name="SelectEvse">
<wsdl:documentation>
Select an EVSE in an operator's backend. This starts the session and generates the OCHP-direct session ID.
</wsdl:documentation>
<wsdl:input message="tns:SelectEvseInput" />
<wsdl:output message="tns:SelectEvseOutput" />
</wsdl:operation>
<wsdl:operation name="ControlEvse">
<wsdl:documentation>
Control a selected EVSE in the limits of the charging process.
</wsdl:documentation>
<wsdl:input message="tns:ControlEvseInput" />
<wsdl:output message="tns:ControlEvseOutput" />
</wsdl:operation>
<wsdl:operation name="ReleaseEvse">
<wsdl:documentation>
The provider should release the prior selected EVSE after the charging process.
</wsdl:documentation>
<wsdl:input message="tns:ReleaseEvseInput" />
<wsdl:output message="tns:ReleaseEvseOutput" />
</wsdl:operation>
<wsdl:operation name="InformProviderCPO">
<wsdl:documentation>
The provider can request information for an ongoing charging process.
</wsdl:documentation>
<wsdl:input message="tns:InformProviderCPOInput" />
<wsdl:output message="tns:InformProviderCPOOutput" />
</wsdl:operation>
</wsdl:portType>
<!-- Port definition for Service Provider backends -->
<wsdl:portType name="Provider_OCHP-direct_0.2">
<wsdl:documentation>
OCHP-direct Version 0.2 Interface for the Service Provider backend
</wsdl:documentation>
<wsdl:operation name="InformProviderEMP">
<wsdl:documentation>
When a status update to a charging process gets available, the operator informs the concerned provider.
</wsdl:documentation>
<wsdl:input message="tns:InformProviderEMPInput" />
<wsdl:output message="tns:InformProviderEMPOutput" />
</wsdl:operation>
</wsdl:portType>
<!-- ===================================================================
Binding Definitions
==================================================================== -->
<wsdl:binding name="eCHS-OCHP_1.4-direct" type="tns:OCHP_1.4-direct">
<wsdl:documentation>
OCHP Version 1.4 Interface with OCHP direct extension
</wsdl:documentation>
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
<wsdl:operation name="AddServiceEndpoints">
<soap:operation soapAction="http://ochp.eu/direct/0.2/AddServiceEndpoints" />
<wsdl:input>
<soap:body use="literal" />
</wsdl:input>
<wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>