none
Creating Proxies in VS 2012 for c# RRS feed

  • Question

  • Good evening. I also am having trouble getting visual studio to generate the proxy classes for my webservices. I am adding the the first service Reference below via a URL. I have several others which I directly add to my reference.svcmap as below by editting the file. After that, I use "Update Service Reference". Unfortunatly, the proxies are only being generated for the Authentication.svc.

    Any ideas, or must I use svcutil like in the old days when I used to do socket programming with UDP and had to generate the xdr headers manually? That has been a while and I thought the tools had improved!!

    Many thanks, Movalgirl

      <MetadataSources>
        <MetadataSource Address="http://localhost/cws/Authentication.svc" Protocol="http" SourceId="1" />
        <MetadataSource Address="http://localhost/cws/Collaboration.svc" Protocol="http" SourceId="2" />
        <MetadataSource Address="http://localhost/cws/DocumentManagement.svc" Protocol="http" SourceId="3" />
        <MetadataSource Address="http://localhost/cws/ContentService.svc" Protocol="http" SourceId="4" />
        <MetadataSource Address="http://localhost/cws/MemberService.svc" Protocol="http" SourceId="5" />
        <MetadataSource Address="http://localhost/cws/WorkflowService.svc" Protocol="http" SourceId="6" />
      </MetadataSources>


    Tuesday, May 1, 2018 4:26 PM

All replies

  • Hi Movalgirl,

    >> I have several others which I directly add to my reference.svcmap as below by editting the file

    To check whether there is some wrong while modifying svcmap, I suggest you add other service from VS to generate the proxy classes, will you generate the different proxy for the other services. I am sure it will, and then I suggest you check the difference between old svcmap and new svcmap to see which cause your way only generate for authentication.svc.

    Best Regards,

    Tao Zhou


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, May 2, 2018 1:34 AM