Skip to content

Commit 40750d2

Browse files
committed
add wsdl files for code-gen
1 parent 53c342f commit 40750d2

4 files changed

Lines changed: 2190 additions & 0 deletions

File tree

src/main/resources/wsdl-binding/add_interface.xml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,45 @@
1010
<!-- Central System is the server -->
1111
<!-- ============================ -->
1212

13+
<!-- OCPP 1.6 -->
14+
<jaxws:bindings wsdlLocation="wsdl/OCPP_CentralSystemService_1.6.wsdl">
15+
<jaxws:bindings node="wsdl:definitions/wsdl:types/xs:schema">
16+
17+
<jaxb:bindings node="//xs:complexType">
18+
<annox:annotateClass>@lombok.ToString</annox:annotateClass>
19+
</jaxb:bindings>
20+
21+
<jaxb:bindings multiple="true"
22+
node="xs:complexType[
23+
@name='AuthorizeRequest' or
24+
@name='BootNotificationRequest' or
25+
@name='DataTransferRequest' or
26+
@name='DiagnosticsStatusNotificationRequest' or
27+
@name='FirmwareStatusNotificationRequest' or
28+
@name='HeartbeatRequest' or
29+
@name='MeterValuesRequest' or
30+
@name='StartTransactionRequest' or
31+
@name='StatusNotificationRequest' or
32+
@name='StopTransactionRequest']">
33+
<inheritance:implements>de.rwth.idsg.steve.ocpp.RequestType</inheritance:implements>
34+
</jaxb:bindings>
35+
<jaxb:bindings multiple="true"
36+
node="xs:complexType[
37+
@name='AuthorizeResponse' or
38+
@name='BootNotificationResponse' or
39+
@name='DataTransferResponse' or
40+
@name='DiagnosticsStatusNotificationResponse' or
41+
@name='FirmwareStatusNotificationResponse' or
42+
@name='HeartbeatResponse' or
43+
@name='MeterValuesResponse' or
44+
@name='StartTransactionResponse' or
45+
@name='StatusNotificationResponse' or
46+
@name='StopTransactionResponse']">
47+
<inheritance:implements>de.rwth.idsg.steve.ocpp.ResponseType</inheritance:implements>
48+
</jaxb:bindings>
49+
</jaxws:bindings>
50+
</jaxws:bindings>
51+
1352
<!-- OCPP 1.5 -->
1453
<jaxws:bindings wsdlLocation="wsdl/ocpp_centralsystemservice_1.5_final.wsdl">
1554
<jaxws:bindings node="wsdl:definitions/wsdl:types/xs:schema">
@@ -90,6 +129,63 @@
90129
<!-- Charge Point is the server -->
91130
<!-- ========================== -->
92131

132+
<!-- OCPP 1.6 -->
133+
<jaxws:bindings wsdlLocation="wsdl/OCPP_ChargePointService_1.6.wsdl">
134+
<jaxws:bindings node="wsdl:definitions/wsdl:types/xs:schema">
135+
136+
<jaxb:bindings node="//xs:complexType">
137+
<annox:annotateClass>@lombok.ToString</annox:annotateClass>
138+
</jaxb:bindings>
139+
140+
<jaxb:bindings multiple="true"
141+
node="xs:complexType[
142+
@name='CancelReservationRequest' or
143+
@name='ChangeAvailabilityRequest' or
144+
@name='ChangeConfigurationRequest' or
145+
@name='ClearCacheRequest' or
146+
@name='ClearChargingProfileRequest' or
147+
@name='DataTransferRequest' or
148+
@name='GetCompositeScheduleRequest' or
149+
@name='GetConfigurationRequest' or
150+
@name='GetDiagnosticsRequest' or
151+
@name='GetLocalListVersionRequest' or
152+
@name='RemoteStartTransactionRequest' or
153+
@name='RemoteStopTransactionRequest' or
154+
@name='ReserveNowRequest' or
155+
@name='ResetRequest' or
156+
@name='SendLocalListRequest' or
157+
@name='SetChargingProfileRequest' or
158+
@name='TriggerMessageRequest' or
159+
@name='UnlockConnectorRequest' or
160+
@name='UpdateFirmwareRequest']">
161+
<inheritance:implements>de.rwth.idsg.steve.ocpp.RequestType</inheritance:implements>
162+
</jaxb:bindings>
163+
<jaxb:bindings multiple="true"
164+
node="xs:complexType[
165+
@name='CancelReservationResponse' or
166+
@name='ChangeAvailabilityResponse' or
167+
@name='ChangeConfigurationResponse' or
168+
@name='ClearCacheResponse' or
169+
@name='ClearChargingProfileResponse' or
170+
@name='DataTransferResponse' or
171+
@name='GetCompositeScheduleResponse' or
172+
@name='GetConfigurationResponse' or
173+
@name='GetDiagnosticsResponse' or
174+
@name='GetLocalListVersionResponse' or
175+
@name='RemoteStartTransactionResponse' or
176+
@name='RemoteStopTransactionResponse' or
177+
@name='ReserveNowResponse' or
178+
@name='ResetResponse' or
179+
@name='SendLocalListResponse' or
180+
@name='SetChargingProfileResponse' or
181+
@name='TriggerMessageResponse' or
182+
@name='UnlockConnectorResponse' or
183+
@name='UpdateFirmwareResponse']">
184+
<inheritance:implements>de.rwth.idsg.steve.ocpp.ResponseType</inheritance:implements>
185+
</jaxb:bindings>
186+
</jaxws:bindings>
187+
</jaxws:bindings>
188+
93189
<!-- OCPP 1.2 -->
94190
<jaxws:bindings wsdlLocation="wsdl/chargepointservice.wsdl">
95191
<jaxws:bindings node="wsdl:definitions/wsdl:types/xs:schema">

src/main/resources/wsdl-binding/async_binding.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,8 @@
99
<enableAsyncMapping>true</enableAsyncMapping>
1010
</bindings>
1111

12+
<bindings wsdlLocation="wsdl/OCPP_ChargePointService_1.6.wsdl" node="wsdl:definitions">
13+
<enableAsyncMapping>true</enableAsyncMapping>
14+
</bindings>
15+
1216
</bindings>

0 commit comments

Comments
 (0)