Camel SOAP Method Names

One of my employees is developing a SOAP API for a php application, and he is wondering if CamelCaps names are some kind of convention for SOAP methods?

Our current API has low_caps_and_underscores, but it seems a little strange compared to a random subset of other SOAP APIs, and we would not want to annoy the API consumers with our wrong convention.

+3
source share
3 answers

In almost all standard SOAP APIs, I saw CamelCaps. You can see the standard SOAP API. i.e. google SOAP api

I think Underscore can annoy users. You can follow any of them, but it’s more important to follow any standard naming conventions.

, , - , , .

.

GetCustomerHistoryById =
GetCustomersHistory =

+2

( )?

lower_with_underscores, -, PHP, CamelCase, , .

+1

SOAP Pascal, Camel. SOAP - Pascal Cased (soap: Envelope any). , , , .

, Pascal Casing . . , , , SOAP, Pascal Cased.

, . Fortunatley, SOAP API, .

- , , . , , : " API, ", . , , .; -)

0

Source: https://habr.com/ru/post/1703615/


All Articles