Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Web services problem

Posted on by 1,670

Hi,

i can't download the WSDL file from CRM !  in the below the error page

3225.Sans-titre.png

when i click in the link "Discovery.svc" or "Organization.svc" :

5381.Sans-titre2.png

Sans-titre3.png

*This post is locked for comments

  • Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Web services problem

    Hi Ammar,

    Why are you trying to get the wsdl instead of using the SDK?

    Thanks,

     Aiden

  • Ammar Zaied Profile Picture
    Ammar Zaied 1,670 on at
    RE: Web services problem

    i tried but always the same error : "ActiveDirectorytruetruetruetruetruetruetruetrue0124801248164367012465536262144524288" !

  • Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Web services problem

    Have you tried to download it via CRM as this article suggests?

    social.technet.microsoft.com/.../2739.how-to-get-full-wsdl-schema-for-organization-service-in-microsoft-dynamics-crm-2011.aspx

  • Ammar Zaied Profile Picture
    Ammar Zaied 1,670 on at
    RE: Web services problem

    ok, but why i can't download WSDL file !?

  • Suggested answer
    Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Web services problem

    Ammar,

    It's not a web service - it's a WCF service. You can't interact with it via the browser the way you would with an asmx page. You need to access it using one of the methods I described.

    Thanks,

     Aiden

  • Ammar Zaied Profile Picture
    Ammar Zaied 1,670 on at
    RE: Web services problem

    i have administrator account, but i can't access to Discovery or Organisation web service, normaly when i click in the link i can show he xml file !

    when i access from localhost (Dynamics VM) all works, but if i access from any address (intranet) i can't show the xml response !!

  • Verified answer
    Aiden Kaskela Profile Picture
    Aiden Kaskela 19,692 on at
    RE: Web services problem

    Hi Ammar,

    You don't generate classes from a wsdl for CRM 2013 - you should be using the CRM SDK if you want to use .Net assemblies, or use the OData endpoints if you want to connect through javascript.

    Here's the link to get the SDK: www.microsoft.com/.../details.aspx

    I'd appreciate if you would mark this as Answering your question.

    Thanks,

     Aiden

  • Ammar Zaied Profile Picture
    Ammar Zaied 1,670 on at
    RE: Web services problem

    Message error from "svcutil.exe":

    attempting to download metadata from using ws-metadata exchange or disco dynamics crm

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,228 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans