积极答复者
一个可能有关访问 webService 的问题

问题
-
我在提交“项目申报”时,总是不成功,后调试时发现,出现了一个“拒绝访问”。
我猜测是不是webService 出现什么问题,我之前对整个CRM文件进行过覆盖操作,
不会要重新安装CRM程序吧?
我对webService 还不是很熟悉,不知怎么下手?位置是:
Ascentium_CrmService.prototype._ExecuteRequest = function(sXml, sMessage, fInternalCallback, fUserCallback)
{
// Create the XMLHTTP object for the Update method.
var oXmlHttp = this.CreateXmlHttp();//下面这个地方 调试提示:拒绝访问
oXmlHttp.open("POST", this.server + "/mscrmservices/2007/crmservice.asmx",(fUserCallback!=null));oXmlHttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
oXmlHttp.setRequestHeader("SOAPAction", "http://schemas.microsoft.com/crm/2007/WebServices/" + sMessage);
...
...}
答案
全部回复
-
我在提交“项目申报”时,总是不成功,后调试时发现,出现了一个“拒绝访问”。
我猜测是不是webService 出现什么问题,我之前对整个CRM文件进行过覆盖操作,
不会要重新安装CRM程序吧?
我对webService 还不是很熟悉,不知怎么下手?位置是:
Ascentium_CrmService.prototype._ExecuteRequest = function(sXml, sMessage, fInternalCallback, fUserCallback)
{
// Create the XMLHTTP object for the Update method.
var oXmlHttp = this.CreateXmlHttp();//下面这个地方 调试提示:拒绝访问
oXmlHttp.open("POST", this.server + "/mscrmservices/2007/crmservice.asmx",(fUserCallback!=null));oXmlHttp.setRequestHeader("Content-Type", "text/xml; charset=utf-8");
oXmlHttp.setRequestHeader("SOAPAction", "http://schemas.microsoft.com/crm/2007/WebServices/" + sMessage);
...
...}
补充说明下:其实单独在项目申报栏中新建,是可以新建一条项目申报信息的,但是如果在商机中对商机进行申报则 无法申报成功。