Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Access WCF Service from Webresources

Posted on by 245

I want to display some data in CRM from external database. I know I have to use WCF service and webresource option to do it. I am new to WCF service so I read about it online and they showed how to create a WCF service and how to use it in same solution by adding the reference to a project. But can someone please tell me how will it work for CRM? Do I need to host the service on IIS? Where should I put the service so I can call it from CRM? its probably a silly question but Please Help!

Thanks.

*This post is locked for comments

  • Suggested answer
    SamCRM1 Profile Picture
    SamCRM1 245 on at
    RE: Access WCF Service from Webresources

    Thank you so much. It worked.

  • Verified answer
    Mahadeo Matre Profile Picture
    Mahadeo Matre 17,021 on at
    RE: Access WCF Service from Webresources

    Hi,

    if you are creating WCF service to access external database then you need to host that service on IIS.

    You can use CRM server but use different web site (in case of on-premise CRM).

  • Verified answer
    Sreevalli Profile Picture
    Sreevalli 3,256 on at
    RE: Access WCF Service from Webresources

    Hi,

    You should host the service in IIS then you can call it with IP or DNS

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans