1. Does anyone happen to know the internal working of CRM connector. What I am particularly interested in knowing is how the querying is done from the server database and is there any involvement of "ServiceURL" in this process.
2. Does anyone know where can i find the "ServiceURL" being used in CRM connector ?
The reason behind these questions is we have been facing a crmConnector timeout error. And the client is asking for the "ServiceURL" for investigating on their part.
MS Dynamics connector uses a variety of URL's, which can be found in crm:mscrmConnector.js, and partially in your config above. If you're debugging the calls, the easy approach is to put a mitm proxy between the wfserver and the internet and capture what's triggering the 500 response. More difficult would be to wrap the ootb request functions with logging calls and then swap them into the crm code.
Could you give more information on the second way ("More difficult would be to wrap the ootb request functions with logging calls and then swap them into the crm code.")? What steps need to be followed to do this?