WCF Serialization problems with WSDL file created by Java tools

前端 未结 5 1244
甜味超标
甜味超标 2021-02-05 12:15

My team is tasked with getting several in-house developed .NET client applications to connect to some new Java web services. The Java web service is a third party, vendor suppli

5条回答
  •  无人共我
    2021-02-05 12:51

    As a follow-on to stratovarius's answer, in VS 2017 the Service References folder is replaced by Connected Services, so you have to:

    1. Open the {project}/Connected Services folder in Windows Explorer
    2. Find and edit the Reference.svcmap with a text editor
    3. Add true to the section
    4. Save the file
    5. In VS, right click on the service reference under Connected Services and select "Update Service Reference"

    This cleared the exception from my service call.

提交回复
热议问题