locked
How to generate wsdl file from ServiceHost App RRS feed

  • Question

  • User-468333257 posted

    I followed the steps in http://msdn.microsoft.com/en-us/library/ms730935(v=vs.110).aspx

    There is a host app, and a client app.

    Now instead of using the URL to add service reference for my clientapp, I want to generate wsdl from my host app, and add service reference to my client app.

    I tried I am able to see the webpage  http://localhost:xx/yyy?wsdl   but when saving it as .wsdl file and loading into client app, by using add service reference,

    it is unable to add in.

    Tuesday, March 4, 2014 1:03 AM

Answers

  • User-417640953 posted

    Hi z080236,

    Thank you post the issue to our forum.

    I tried I am able to see the webpage  http://localhost:xx/yyy?wsdl   but when saving it as .wsdl file and loading into client app, by using add service reference,

    From your description, I see you can access the service metadata using the address http://localhost:xx/yyy?wsdl. So please try below.

    # Add service reference

    # Enter the address http://localhost:xx/yyy?wsdl to the address textbox.

    # Click Go button

    Then you will create the service proxy in your project.

    Thanks.

    Best Regards!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, March 6, 2014 3:28 AM