Have any of you created a Web Service that works with QuickBooks web connector? It looks like I am having an issue with CF SOAP Style and I've checked a couple and gotten the same error:
20090105.04:43:12 UTC : QBWebConnector.SOAPWebService.do_authenticate() : *** Calling authenticate() with following parameters:<userName="iqbal1"><password=<MaskedForSecurity> 20090105.04:43:12 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 20090105.04:43:12 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False 20090105.04:43:12 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked ********************* 20090105.04:43:12 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update completed with errors. See log (QWClog.txt) for details. By testing CFC: <CFCOMPONENT name="wsdlTest" displayname="wsdlTest" output="no"> <cffunction access="remote" name="authenticate" output="true" returntype="array"> <cfargument name="strUserName" type="string" required="yes"> <cfargument name="strPassword" type="string" required="yes"> <cfset var aryReturn = arrayNew(1) > <!--- The first element is a token for the web connectorâs session with the web service on behalf of the authenticated user. This token will be passed back to your web service in every subsequent call (in the ticket parameter!) until the current data exchange session is finished ---> <cfset aryReturn[1] = "#session.sessionID#" > <!--- The second element contains one of these possible string values: > If your web service doesnât grant access to the username and/or password supplied in the authenticate call from the web connector, specify the string nvu which indicates non valid user credentials (bad user name and/or password). > If the web service has no data to exchange with the userâs QuickBooks or QuickBooks POS company, specify the string none. > To use the currently open company, specify an empty string. > To specify a particular company, supply the full pathname of that company. ---> <cfset aryReturn[2] = "none" > <!---The third element (optional) contains the number of seconds to wait before the next update. ⢠The fourth element (optional) contains the number of seconds to be used as the MinimumRunEveryNSeconds time ---> <cfreturn aryReturn> </cffunction> <cffunction access="remote" name="clientVersion" output="true" returntype="string"> <cfargument name="productVersion" type="string" required="yes"> <cfreturn ""> </cffunction> <cffunction access="remote" name="closeConnection" output="true" returntype="string"> <cfargument name="ticket" type="string" required="yes"> <cfreturn "Success"> </cffunction> </cfcomponent> I'd appreciate any recommendations or examples or links to reading. This is my first excursion into the land of web services and SOAP. Thanks, Andy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317395 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4