- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个 SOAP 服务器来处理来自 QuickBooks Web 连接器的连接。它调用的第一个方法是“authenticate”,它正确地返回了它期望的数据,但是它给了我错误
QBWC1012: Authentication failed due to following error message.
Object reference not set to an instance of an object.
我对此不知所措,网上似乎没有解决方案。错误消息并没有给我任何继续下去的信息。
如果有人知道我可以在哪里找到更多相关信息,我将不胜感激。
这是该问题的 WC 错误日志:
20140215.17:15:32 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20140215.17:15:32 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked *********************
20140215.17:15:32 UTC : QBWebConnector.WebServiceManager.DoUpdate() : Update completed with errors. See log (QWClog.txt) for details.
20140215.17:15:32 UTC : UpdateThisScheduledApp() : QBWC1031: Update completed with some error. Application has been notified of the error accordingly. See QWCLog for further information.
20140215.17:16:30 UTC : UpdateThisScheduledApp() : Password management - Started
20140215.17:16:30 UTC : UpdateThisScheduledApp() : Password management - Ended
20140215.17:16:30 UTC : UpdateThisScheduledApp() : Performing SCHEDULED UPDATE for application = PManager SOAP
20140215.17:16:30 UTC : QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE
20140215.17:16:30 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True
20140215.17:16:30 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session locked *********************
20140215.17:16:30 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : Initiated connection to the following application.
20140215.17:16:30 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppName: PManager SOAP
20140215.17:16:30 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppUniqueName (if available): PManager SOAP
20140215.17:16:30 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppURL: https://[SNIP]/pmanager/soapserver.php
20140215.17:16:30 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : *** Calling serverVersion().
20140215.17:16:31 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : Received from serverVersion() following parameter:<serverVersionRet="">
20140215.17:16:31 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : This application sent a null for server version. Allowing update operation.
20140215.17:16:31 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : *** Calling clientVersion() with following parameter:<productVersion="2.1.0.30">
20140215.17:16:32 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : Received from clientVersion() following parameter:<clientVersionRet="">
20140215.17:16:32 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : This application agrees with the current version of QBWebConnector. Allowing update operation.
20140215.17:16:32 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'PManager SOAP', username = '[SNIP]'
20140215.17:16:32 UTC : QBWebConnector.SOAPWebService.do_authenticate() : *** Calling authenticate() with following parameters:<userName="[SNIP]"><password=<MaskedForSecurity>
20140215.17:16:33 UTC : QBWebConnector.SOAPWebService.do_authenticate() : QBWC1012: Authentication failed due to following error message.
Object reference not set to an instance of an object.
More info:
StackTrace = at QBWebConnector.WebService.do_authenticate(String& ticket, String& companyFileName)
Source = QBWebConnector
20140215.17:16:33 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20140215.17:16:33 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked *********************
20140215.17:16:33 UTC : QBWebConnector.WebServiceManager.DoUpdate() : Update completed with errors. See log (QWClog.txt) for details.
20140215.17:16:33 UTC : UpdateThisScheduledApp() : QBWC1031: Update completed with some error. Application has been notified of the error accordingly. See QWCLog for further information.
SOAP 响应被发送到 WC:
<?xml version="1.0" encoding="ISO-8859-1"?>
<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:authenticateResponse xmlns:ns1="http://developer.intuit.com/">
<return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="xsd:string[2]">
<item xsi:type="xsd:string">8d51474324d94e25aa1e6670da584204</item>
<item xsi:type="xsd:string">C:/Path/File.QBW</item>
</return>
</ns1:authenticateResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
最佳答案
可能有点晚了,但如果它能帮助其他人,我遇到了类似的问题,将 QWC 文件中的样式从“RPC”更改为“DocWrapped”解决了这个问题。
2017 年 5 月更新:
OP 的问题与版本号不匹配有关,但我有相同的症状,该问题与 QWC 配置中的样式不匹配有关。根据QBWC_proguide正确的版本将取决于服务器设置,但有效选项包括:“Document”(默认)、“DocWrapped”和“RPC”。
对于我的 Rails 设置,“Document”或“DocWrapped”都有效。
更改此配置后,删除并重新添加 Web 连接器应用。
关于soap - 使用 QuickBooks Web 连接器的身份验证问题 : Object reference not set to an instance of an object,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21803065/
好的。这个问题已经被问过很多次并得到了回答。然而,Intuit 似乎改变了他们的部分: 他们自己的最新文档不再正确 到目前为止我在互联网上找到的所有答案都不再有效 因此,唯一的选择就是再次提出同样的问
是否可以使用 QBSDK 向 Quickbooks 添加菜单项? 我找到了几个我无法使用的旧示例。 我为我的公司创建了一个自定义应用程序,并试图通过在 Quickbooks 中创建一个菜单项来简化它。
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 这个问题似乎不是关于 a specific programming problem, a softwar
我需要将公司数据从生产环境复制到沙盒环境以测试 API 集成。我需要访问实时数据,但我还不想更改实时环境。 我试过导出公司数据(需要 Internet explorer),但下载的文件没有出现在我的电
大家好,我是 quickbooks 的新手。我正在尝试检索 quickbooks 中的一些数据,但 quickbooks 没有返回任何内容。我可以弄清楚我做错了什么。我正在尝试像这样检索数据 快速手册
我想创建 native QuickBooks 连接器。在连接 QuickBooks 公司文件时,出现以下错误。 "This application is not allowed to log into
我编写了一个代码,使用 quickbooks Web 连接器将购物车与 quickbooks 集成在一起。问题是当我试图找出按姓名和电子邮件过滤的快速手册中是否有客户时。我试过这个:
我在使用 QuickBooks PHP Dev Kit 导入我的项目时遇到问题。 QuickBooks Web 连接器日志显示 Error message: Response is not well-
我正在使用 QB 桌面版。我想为我的 QuickBooks 桌面版续订/重新生成“访问 token ”/“访问 token secret ”,因为它们将在 180 天内到期,并且必须在 token 到
我有一个客户要求将在 QuickBooks 中写入的支票导出为特定格式,因为他们的银行允许通过上传文件来防止欺诈,并且他们在清算之前根据您提供的内容验证支票上的名称。 我查看了 QuickBooks
我正在尝试将应用程序添加到 QuickBooks Web Connector。我安装了 QuickBooks Point of Sale 2013 试用版。将 .qwc 文件添加到 Web 连接器时,
我需要能够通过 .NET 应用程序将 IIF 文件导入 QuickBooks 2008 应用程序。我不知道 Quickbook 自动化的第一件事。 我应该在哪里看? 最佳答案 不推荐使用 IIF 文件
我想要定制 S.O.使用 QuickBooks QBFC 的发票模板字段。 最佳答案 以下是从销售订单中读取自定义字段的方法: 将“0”添加到 SalesOrderQuery 的 OwnerIDLis
我试试这段代码,它可以工作。(现在,我可以添加名称:TestCustomer3)我想将其他数据添加到 Quickbook。你能帮我了解一下 qbXML 语言吗? 示例:我要添加“公司名称”、“全名”、
我正在构建一个简单的网站,我公司的客户可以在其中查看过去 12 个月的报表以及他们当前的余额。为了实现这一目标,我将使用 QuickBooks Web Connector 将必要的数据从 QuickB
quickbooks 库可以集成到 genexus 中吗?我一无所知 最佳答案 用 GeneXus 生成的应用程序可以与 QuickBooks 集成。根据 QuickBooks 的版本(桌面版或在线版
我需要为 QuickBooks Online 获取一些测试帐户(公司),以便我们可以完成开发和测试我们的应用程序。我们已经联系 Intuit 以尝试获得这些,并被告知只使用 30 天的试用期。这些时间
我想将 QuickBooks Online 应用程序与我的 PHP 应用程序集成。我已经下载了最新的 PHP SDK。但是我需要领域 ID 才能开始。请在这里帮助我。 如果我需要任何其他要求,请指导我
有什么方法可以将数据从 Google Checkout 导入 Quickbooks 中吗? (或另一个会计包)? 最佳答案 是的 - 您可以从 Google 导出 CSV 并将其导入 Quickboo
我想将 quickbooks 与我的 Windows 服务集成。目前我正在使用 quickbooks SDK。它与 Windows 应用程序一起工作。在 Windows 服务中,它显示“无法启动 Qu
我是一名优秀的程序员,十分优秀!