Call own services from Xdata server endpoint

Hi,
I like to call server own methods. For example in loyalty service, enrollnewCustomer i'd like to call servers customerservice/newcustomer method.
of cource I could do post to server but is there method in xdata to resolve direct implementation with out adding direct reference to implementing unit.

Usually it's good to organize your source code so you can simply call the internal methods directly, without HTTP involved.

Can't you simply instantiate a class/interface and call the method directly?

Well this is how i do it right now, but i was considering if there was a ready way to do it without unit dependencies. Like with Spring4d does. I just use spring then :slight_smile: