I want to create tree structure using web service.
I have used bottom up web service technique for creation of simple arithmatic operation.
I can not understand, how to build a tree using web services.
Is there is way to achieve this?
I want to create tree structure using web service. I have used bottom up
Share
Use a recursive definition like :
Then you cqn straightforward encode it using JSON or XML
15 + 3 – 2 becomes
or in xml
In the service you can then walk the tree or build the tree. I am not sure if you see the service as a consumer or a producer.