I have a web service that return an xml file. Now I want to create a new web service that uses a part of information that contains the output of first web service. My question is what is better solution:
1.call first web service and use result in new web service?
- recreate a part of code of first web service and create an new web service which is independent from first.
I know with first solution I can handle better the code but maybe it will be slower and use more traffic in network. Οn the other hand,the second proposal solution don't reuse code and it will be more difficult to conserve the project. I would like an complete answer using arguments.
Thank you