e-clearing-net / OCHP

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

OCHPdirect Rename "InformProviderMessage" from EMP to CPO to "GetInformProviderMessage" #28

Open ahzf opened 7 years ago

ahzf commented 7 years ago

I think having two messages of the same name and a field (result) that must be used in the first case, but must not be used in the other case, does not help to understand the protocol easily. Therefore I would suggest to rename the "InformProviderMessage" when send from the EMP to the CPO into "GetInformProviderMessage" as as far as I understand it is meant to request a InformProviderMessage send from the CPO to the EMP.

mtdern commented 7 years ago

The functionality described as "GetInformProviderMessage" is called "InformProviderRequest".

At the Operator-Endpoint the EMP can thus request an InformProviderMessage from the CPO or the CPO can send an InformProviderMessage without being prompted because of a change to a charging process (to the Provider-Endpoint). So at the Operator-Endpoint the InformProviderMessage is a response, while at the Provider-Endpoint it is the Request.