locked
calling external wcf service from crm 2011 performance issue. RRS feed

  • Question

  • Hi,

    If we call external  wcf service from crm 2011, then sometime timeout issue happens and sometime it takes  too much time as  everything  is happening is synchronously . What is the best  approach to call external wcf application, Using workflow , msmq or async call from plugin or synchronous plugin.  Any help will be appreciated


    Abhishek

    Sunday, May 4, 2014 12:41 PM

Answers

  • Hi,

    depend what is your use:

    If you need to make somenthing after save, I suggest to use a plugin else, you can use javascript.

    In this link you can find two example:

    Javascript

    http://social.microsoft.com/Forums/en-US/0746089b-c722-4407-b67a-8748836ee432/ms-crm-2011-wcf-service-call-in-from-javascript?forum=crmdevelopment

    Plugin:

    http://code.msdn.microsoft.com/How-to-call-External-WCF-42c4490d

    or if you use a res service, you can use json.net

    http://code.msdn.microsoft.com/How-to-call-Rest-Service-b0b188df

    Bye

    Alessandro


    Alessandro Graps

    • Proposed as answer by Chen Xiong Monday, May 5, 2014 7:46 AM
    • Marked as answer by Abhisinha17 Monday, May 5, 2014 12:15 PM
    Monday, May 5, 2014 7:28 AM

All replies

  • Hi,

    depend what is your use:

    If you need to make somenthing after save, I suggest to use a plugin else, you can use javascript.

    In this link you can find two example:

    Javascript

    http://social.microsoft.com/Forums/en-US/0746089b-c722-4407-b67a-8748836ee432/ms-crm-2011-wcf-service-call-in-from-javascript?forum=crmdevelopment

    Plugin:

    http://code.msdn.microsoft.com/How-to-call-External-WCF-42c4490d

    or if you use a res service, you can use json.net

    http://code.msdn.microsoft.com/How-to-call-Rest-Service-b0b188df

    Bye

    Alessandro


    Alessandro Graps

    • Proposed as answer by Chen Xiong Monday, May 5, 2014 7:46 AM
    • Marked as answer by Abhisinha17 Monday, May 5, 2014 12:15 PM
    Monday, May 5, 2014 7:28 AM
  • I agree with Alessandro, you should use different approach to resolve different scenario.
    Monday, May 5, 2014 7:45 AM