e-clearing-net / OCHP

Open Clearing House Protocol
http://ochp.eu
MIT License
50 stars 33 forks source link

OCHPdirect "GetEvseStatus" vs. "DirectEvseStatus" #26

Open ahzf opened 7 years ago

ahzf commented 7 years ago

In the file ochp-direct.wsdl the message "GetEvseStatusInput" defines an enclosing XML with name "DirectEvseStatusRequest". As this is the only occurance where the names differ, and the response is called "GetStatusResponse", I guess this might be a copy'n'paste mistake. The only question is which variant to take ;)

<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>
mtdern commented 7 years ago

As far as I am aware, this is actually correct (although maybe confusing, I will admit). The request is an OCHPdirect specific request for collecting a single evse-Status, however the response follows the definition of the OCHP GetStatusResponse as would be exchanged through OCHP (non-direct).