Help Invoke services dynamicly

Can we invoke other services in a service dynamicly(That is deciding the service’s name, input and output at runtime,and then call it)in TN? I found that we can use the “pub.remote:invoke” to achieve this goal, but it seems to be used to call a service that locates in other IS, but if the called service locates in the same IS, is there any better method? I mean without configuring the server alias that point to itself( I think this invoking method will also impact the performance).
And can we use BI to describe this in process diagram?



You can invoke wm.PartnerMgr.gateway.admin:invokeService service to invoke a service within the server. This service is available on wmPartners package. You can pass the service name as input and the parameters for this service should be available in the pipeline.

If you need any more information regarding this, feel free to ask.