Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/EmptyTag/129.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Quickbooks ConsoleByte PHP问题表示XML不正确_Quickbooks_Qbxml_Qbwc - Fatal编程技术网

Quickbooks ConsoleByte PHP问题表示XML不正确

Quickbooks ConsoleByte PHP问题表示XML不正确,quickbooks,qbxml,qbwc,Quickbooks,Qbxml,Qbwc,我试图使用该系统将我的数据库从postgresql同步到quickbooks web connector,但它给我带来了各种XML问题。 这是我的QWC文件: 这是我的日志: 20210526.15:53:01 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : updateWS() for application = 'QuickBooks PostgreSQL Mirror - myserver.com' has S

我试图使用该系统将我的数据库从postgresql同步到quickbooks web connector,但它给我带来了各种XML问题。
这是我的QWC文件:


这是我的日志:

20210526.15:53:01 UTC   : QBWebConnector.WebServiceManager.DoUpdateSelected() : updateWS() for application = 'QuickBooks PostgreSQL Mirror - myserver.com' has STARTED
20210526.15:53:01 UTC   : QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE
20210526.15:53:01 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True
20210526.15:53:01 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session locked *********************
20210526.15:53:01 UTC   : QBWebConnector.SOAPWebService.instantiateWebService() : Initiated connection to the following application.
20210526.15:53:01 UTC   : QBWebConnector.SOAPWebService.instantiateWebService() : AppName: QuickBooks PostgreSQL Mirror - myserver.com
20210526.15:53:01 UTC   : QBWebConnector.SOAPWebService.instantiateWebService() : AppUniqueName (if available): QuickBooks PostgreSQL Mirror - myserver.com
20210526.15:53:01 UTC   : QBWebConnector.SOAPWebService.instantiateWebService() : AppURL: https://myserver.com/admin/qbwc/pgsql_server.php
20210526.15:53:01 UTC   : QBWebConnector.SOAPWebService.do_serverVersion() : *** Calling serverVersion().
20210526.15:53:02 UTC   : QBWebConnector.SOAPWebService.do_serverVersion() : Received from serverVersion() following parameter:<serverVersionRet="PHP QuickBooks SOAP Server v3.0 at /admin/qbwc/pgsql_server.php">
20210526.15:53:02 UTC   : QBWebConnector.SOAPWebService.do_clientVersion() : *** Calling clientVersion() with following parameter:<productVersion="2.3.0.198">
20210526.15:53:02 UTC   : QBWebConnector.SOAPWebService.do_clientVersion() : Received from clientVersion() following parameter:<clientVersionRet="">
20210526.15:53:02 UTC   : QBWebConnector.SOAPWebService.do_clientVersion() : This application agrees with the current version of QBWebConnector. Allowing update operation.
20210526.15:53:02 UTC   : QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'QuickBooks PostgreSQL Mirror - myserver.com', username = 'quickbooks'
20210526.15:53:02 UTC   : QBWebConnector.SOAPWebService.do_authenticate() : *** Calling authenticate() with following parameters:<userName="quickbooks"><password=<MaskedForSecurity>
20210526.15:53:02 UTC   : QBWebConnector.SOAPWebService.do_authenticate() : QBWC1012: Authentication failed due to following error message.
Client found response content type of 'text/xml;charset=UTF-8', but expected 'text/xml'.
The request failed with an empty response.
More info:
StackTrace =    at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at QBWebConnector.localhost.WCWebServiceDoc.authenticate(String strUserName, String strPassword)
   at QBWebConnector.localhost.WCWebService.authenticate(String strUserName, String strPassword)
   at QBWebConnector.SOAPWebService.authenticate(String UserName, String Password)
   at QBWebConnector.WebService.do_authenticate(String& ticket, String& companyFileName)
Source = System.Web.Services
20210526.15:53:02 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20210526.15:53:02 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked *********************
20210526.15:53:02 UTC   : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update completed with errors. See log (QWClog.txt) for details.
20210526.15:53:01 UTC:QBWebConnector.WebServiceManager.DoUpdateSelected():updateWS()for application='QuickBooks PostgreSQL Mirror-myserver.com'已启动
20210526.15:53:01 UTC:QBWebConnector.RegistryManager.getUpdateLock():HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock=FALSE
20210526.15:53:01 UTC:QBWebConnector.RegistryManager.setUpdateLock():HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock已设置为True
20210526.15:53:01 UTC:QBWebConnector.RegistryManager.setUpdateLock():*******************更新会话已锁定*********************
20210526.15:53:01 UTC:QBWebConnector.SOAPWebService.InstanceWebService():已启动到以下应用程序的连接。
20210526.15:53:01 UTC:QBWebConnector.SOAPWebService.InstanceWebService():AppName:QuickBooks PostgreSQL Mirror-myserver.com
20210526.15:53:01 UTC:QBWebConnector.SOAPWebService.InstanceWebService():AppUniqueName(如果可用):QuickBooks PostgreSQL镜像-myserver.com
20210526.15:53:01 UTC:QBWebConnector.SOAPWebService.InstanceWebService():AppURL:https://myserver.com/admin/qbwc/pgsql_server.php
20210526.15:53:01 UTC:QBWebConnector.SOAPWebService.do_serverVersion():***调用serverVersion()。
20210526.15:53:02 UTC:QBWebConnector.SOAPWebService.do_serverVersion():从serverVersion()接收以下参数:
20210526.15:53:02 UTC:QBWebConnector.SOAPWebService.do_clientVersion():***使用以下参数调用clientVersion():
20210526.15:53:02 UTC:QBWebConnector.SOAPWebService.do_clientVersion():从clientVersion()接收以下参数:
20210526.15:53:02 UTC:QBWebConnector.SOAPWebService.do_clientVersion():此应用程序与QBWebConnector的当前版本一致。允许更新操作。
20210526.15:53:02 UTC:QBWebConnector.SOAPWebService.do_authenticate():对应用程序“QuickBooks PostgreSQL Mirror-myserver.com”进行身份验证,用户名=“QuickBooks”

20210526.15:53:02 UTC:QBWebConnector.SOAPWebService.do_authenticate():***使用以下参数调用authenticate():这些日志是来自PHP实例还是单独的进程?它们看起来像.NET日志。无论哪种方式,它们似乎都表明扩散身份验证SOAP请求的内容类型(稍微)错误。错误日志来自Windows中的quickbooks日志,因此可能来自.net。连接到它的API是用PHP编写的,但是我已经三次检查了,PHP正在发送正确的标题。同样值得检查一下服务器上的PHP日志,可能发生了错误,并且返回了错误页面,而不是XML内容。