Closed pulkitgarg007 closed 3 years ago
Depends what you want to achieve
soap: services/CentralSystemService
is just a dummy endpoint and mediator to forward requests to the correct implementation wrt. ocpp 1.2, 1.5 and 1.6.
websocket: similarly websocket/CentralSystemService
is the handshake endpoint for different ocpp-j version implementations. the actual implementation will be chosen during handshake based on the websocket subprotocol that references the ocpp version.
take a look at the injected objects used in the snippets above and please follow the rabbit.
Thanks Sevket. It helped
Can anyone help me to understand where and how these endpoints are configured. SOAP: http://:/steve/services/CentralSystemService
WebSocket/JSON: ws://:/steve/websocket/CentralSystemService/
Thanks for your help.