Hi,
Well today i created a webservice which would fetch me some data from oracle database. The method signature was something like this
public DataSet getEmpInfo
{,,,,,,,,,,,,,}
I was calling this webservice within form’s onLoad inside the a custom entity of Microsoft Dyanmics CRM3,0.
I deployed it in my machine and when i was opening the my custom entity form inside CRM in my machine, i was able to see the values fetched using ajax calls to webservice.
But for other machines i was getting an internal server error for my ajax call.
Finally the error got resolved when i included this inside the web.config for my webservice
<webServices>
<protocols>
<add name=”HttpPost”/>
<add name=”HttpGet”/>
</protocols>
</webServices>
By the way, I was using POST in my xmlHttpRequest object Open method.
Plzz check out these links to better understand web services.
Configuration Options for XML Web Services Created Using ASP.NET
http://msdn2.microsoft.com/en-us/library/b2c0ew36(vs.80).aspx
How to: Disable Protocol Support for Web Services
http://msdn2.microsoft.com/en-us/library/9hdd3w8c(VS.80).aspx
Top Five ASP.NET Web Services Tips
http://www.ondotnet.com/pub/a/dotnet/2002/10/07/webservices.html
Bye