locked
How to consume an external wcf service RRS feed

  • Question

  • User-1868455780 posted

    Hi ,

    How to consume an external WCF service without adding service reference?

    TIA

    Vivek

    Wednesday, July 19, 2017 12:33 PM

Answers

  • User-1509636757 posted

    How to consume an external WCF service without adding service reference?

    Open Visual Studio Developer Command Prompt and write command:

    svcutil.exe http://www.testxxx.com/XX/Service1.svc?wsdl

    This will generate proxy class and you can add it to your project and use it to connect and call service methods.

    Reference: How to: Create a Windows Communication Foundation Client | Microsoft Docs

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 19, 2017 12:42 PM

All replies