how to use service and subscriber function in same node????

asked 2017-12-30 22:29:37 -0500

p.jaswanthsaireddy790 gravatar image

if we are using service and subscriber in different scripts its working but we want write both of them in same script under a single node its not working.Please help me how to write service and subscriber function in same node.

edit retag flag offensive close merge delete


Can you provide the snippet of your node? It may help in identifying the problem.

Ameer Hamza Khan gravatar image Ameer Hamza Khan  ( 2018-01-01 07:35:45 -0500 )edit

Please try to use the search and/or Google (add to your query). Combining publishers, subscribers, service clients/servers and actions in one node has been discussed many, many times already.

gvdhoorn gravatar image gvdhoorn  ( 2018-01-01 10:21:08 -0500 )edit

There shouldn't be any fundamental problem moving the code for both into one node. I'll second my friends here. Please post the code for the combined node and the two separate nodes and we will be able to help you.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-01-03 10:13:02 -0500 )edit