连接quickbooks的web连接器中的身份验证失败

连接quickbooks的web连接器中的身份验证失败,quickbooks,Quickbooks,我使用的是localhost,但请假定domainname.com是localhost QBWebConnector.WebServiceManager.DoUpdateSelected:updateWS for application='My QuickBooks SOAP Server'已启动 20140805.11:34:53 UTC:QBWebConnector.RegistryManager.getUpdateLock:HKEY_CURRENT_USER\Software\Intuit

我使用的是localhost,但请假定domainname.com是localhost

QBWebConnector.WebServiceManager.DoUpdateSelected:updateWS for application='My QuickBooks SOAP Server'已启动 20140805.11:34:53 UTC:QBWebConnector.RegistryManager.getUpdateLock:HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock=FALSE 20140805.11:34:53 UTC:QBWebConnector.RegistryManager.setUpdateLock:HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock已设置为True 20140805.11:34:53 UTC:QBWebConnector.RegistryManager.setUpdateLock:****************更新会话已锁定***************** 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.InstanceWebService:已启动到以下应用程序的连接。 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.InstanceWebService:AppName:My QuickBooks SOAP服务器 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.InstanceWebService:AppUniqueName(如果可用):我的QuickBooks SOAP服务器 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.InstanceWebService:AppURL: 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.do_服务器版本:*正在调用服务器版本。 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.do_服务器版本:从服务器版本调用的web服务接收到实际错误:。对于所有Web服务器的向后兼容性,QBWC将捕获应用程序不支持serverVersion下的所有错误。 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.do_服务器版本:此应用程序不支持服务器版本。允许更新操作以实现向后兼容性。 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.do_clientVersion:使用以下参数调用clientVersion: 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.updateWS:从web服务接收到clientVersion调用的实际错误:。对于所有Web服务器的向后兼容性,QBWC将捕获应用程序不支持clientVersion下的所有错误。 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.do_clientVersion:此应用程序不支持clientVersion。允许更新操作以实现向后兼容性。 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.do_身份验证:对应用程序“我的QuickBooks SOAP服务器”进行身份验证,用户名=“QuickBooks” 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.do_身份验证:使用以下参数调用身份验证: 20140805.11:34:53 UTC:QBWebConnector.SOAPWebService.do_身份验证:QBWC1012:由于以下错误消息,身份验证失败。 服务器违反了协议。区段=响应STATUSLINE 更多信息: StackTrace=at System.Web.Services.Protocols.WebClientProtocol.GetWebResponseWebRequest请求 在System.Web.Services.Protocols.HttpWebClientProtocol.GetWebResponseWebRequest请求中 在System.Web.Services.Protocols.SoapHttpClientProtocol.InvokeString methodName中,对象[]参数 在QBWebConnector.domainname.com.WCWebServiceDoc.AuthenticationTestRing strUserName上,输入字符串strPassword 在QBWebConnector.domainname.com.WCWebService.authenticateString strUserName上,输入字符串strPassword 在QBWebConnector.SOAPWebService.AuthenticateTestring用户名、字符串密码处 在QBWebConnector.WebService.do_authenticateString和ticket、String和companyFileName Source=System.Web.Services 20140805.11:34:53 UTC:QBWebConnector.RegistryManager.setUpdateLock:HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock已设置为False 20140805.11:34:53 UTC:QBWebConnector.RegistryManager.setUpdateLock:****************更新会话已解锁***************** 20140805.11:34:53 UTC:QBWebConnector.WebServiceManager.DoUpdateSelected:更新已完成,但出现错误。有关详细信息,请参阅日志QWClog.txt。

此:

QBWC1012:由于以下错误消息,身份验证失败。服务器违反了协议

表示您的web服务器有问题

如果您在线搜索,最常用的建议解决方案是将其添加到配置中:

<system.net>
    <settings>
        <httpWebRequest useUnsafeHeaderParsing="true" />
    </settings>
</system.net>

但是,话虽如此,您应该检查web服务器错误日志,看看它为什么会抛出该错误。

将web服务放在linuxmint xampp本地服务器中。我可以将代码放在哪里,我指的是我要使用的文件