I have a requirment of calling JAVA web service from CRM 2013 in synchronous mode.
Can you please let me know possible options for doing this with some samples that would be highly appreciated.
Actually answer this one in your more recent post.
Option #1 (most likely if synchronize call while completing form)
Option #2 (most likely for synchronous mode when saving)
if you'd like to make your calls while saving your data (i.e. in process). Then a plug would be your choice
you can also use custom workflows to make calls asynch (i.e. post save / when resources allow) to process your information.
Would need to understand your use case or user story before I could provide better examples.
Hope this information helps ... If so, please mark it as your answer.
I'm not sure what you mean when you say in synchronous mode?
Is your CRM 2013 on premise or Crm 2013 online
If the my post helped you please mark my post as the suggested answer
Hosk's Dynamic CRM Blog | @BenHosk | Rockstar365
Hosks CRM Dev YouTube Channel
Thanks for the reply,
at present it would be online and later on OnPremise
Synchronous mode meaning that user need not wait for response
As Boskings said, you have two options to process events; Asynchronous & Synchronous, both of which you'll use the plugin registration tool to set. I suggest you have a look at the CRM SDK and read this: msdn.microsoft.com/.../gg327941.aspx
Also, I note that all plugins in both CRM Online and On-Premise have a 2 minute timeout limit. On-Premise you have an option to extend that limit but it's not usually considered best practice to do so.
Thanks a lot for clarifying,
i am in process of making an POC of calling external Web Service from any of the events like form_load or picklist in sync mode for CRM 2013.
If you can please point me to the right code to implement the same
i.e.tools.usps.com/.../ZipLookupResultsAction here it is giving permission denied issue
xmlHttp = new ActiveXObject("Microsoft.XMLHTTP");
//xmlHttp.open('POST', 'http://servername/Numbers2WordsConversion/Service.asmx/GetWords', false);
// xmlHttp.send("number=" + input);
var xmlDoc = xmlHttp.responseXML;
var responseElement = xmlDoc.getElementsByTagName("string");
var exch = responseElement.firstChild.nodeValue;
Hello Just to add on to my above comments
Would like say one field to be populated from web service on selection of another pickup list.
One more point i am using CRM 2013 Online
Thanks for all you help