locked
WCF/Web Service? RRS feed

  • Question

  • User-1623675128 posted

    Hi folks, we have an existing web service which is saving files into a directory (this web service will be called by a classic ASP page using SOAPXML POST) after geting it from XYZ repository;

    Now, the repository has changed to another repository which exposing service using web services; now our web service intrun has to call another web service to save files into directory.

    We are thinking of creating a WCF service to consume repository Web Service instead of web service calling another web service. Is this desgin decision is fine or not? any other options?

    Saturday, June 8, 2013 2:23 AM

Answers

  • User220959680 posted

    now our web service intrun has to call another web service to save files into directory.

    common pattern where a Web Service(behaves like a client) interacts with another service (Web service that abstacts the functionaltiy).

    We are thinking of creating a WCF service to consume repository Web Service instead of web service calling another web service.

    It is good practice to reuse existing web service rather than implementing the service from scratch.  Your existing service can be enhanced to interact with current version of the repository service.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, June 8, 2013 5:08 PM

All replies

  • User894328585 posted

    AFAIK WCF has many advantanges compared with Web Services, Better to prefer WCF

    Saturday, June 8, 2013 3:22 AM
  • User220959680 posted

    now our web service intrun has to call another web service to save files into directory.

    common pattern where a Web Service(behaves like a client) interacts with another service (Web service that abstacts the functionaltiy).

    We are thinking of creating a WCF service to consume repository Web Service instead of web service calling another web service.

    It is good practice to reuse existing web service rather than implementing the service from scratch.  Your existing service can be enhanced to interact with current version of the repository service.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, June 8, 2013 5:08 PM