php - QBWC1012: Authentication failed due to following error message. Client found response content type of 'text/xml', but expected 'text/xml' -
20150604.02:34:43 utc : qbwebconnector.webservicemanager.doupdateselected() : updatews() application = 'appname' has started 20150604.02:34:43 utc : qbwebconnector.registrymanager.getupdatelock() : hkey_current_user\software\intuit\qbwebconnector\updatelock = false 20150604.02:34:43 utc : qbwebconnector.registrymanager.setupdatelock() : hkey_current_user\software\intuit\qbwebconnector\updatelock has been set true 20150604.02:34:43 utc : qbwebconnector.registrymanager.setupdatelock() : ********************* update session locked ********************* 20150604.02:34:43 utc : qbwebconnector.soapwebservice.instantiatewebservice() : initiated connection following application. 20150604.02:34:43 utc : qbwebconnector.soapwebservice.instantiatewebservice() : appname: appname 20150604.02:34:43 utc : qbwebconnector.soapwebservice.instantiatewebservice() : appuniquename (if available): appname 20150604.02:34:43 utc : qbwebconnector.soapwebservice.instantiatewebservice() : appurl: http://localhost/quickbooks/qbwc/qbwc.php 20150604.02:34:43 utc : qbwebconnector.soapwebservice.do_serverversion() : *** calling serverversion(). 20150604.02:34:43 utc : qbwebconnector.soapwebservice.do_serverversion() : actual error received web service serverversion call: <client found response content type of 'text/xml', expected 'text/xml'. request failed empty response.>. backward compatibility of webservers, qbwc catch errors under app-not-supporting-serverversion. 20150604.02:34:43 utc : qbwebconnector.soapwebservice.do_serverversion() : application not contain support serverversion. allowing update operation backward compatibility. 20150604.02:34:43 utc : qbwebconnector.soapwebservice.do_clientversion() : *** calling clientversion() following parameter:<productversion="2.1.0.30"> 20150604.02:34:43 utc : qbwebconnector.soapwebservice.updatews() : actual error received web service clientversion call: <client found response content type of 'text/xml', expected 'text/xml'. request failed empty response.>. backward compatibility of webservers, qbwc catch errors under app-not-supporting-clientversion. 20150604.02:34:43 utc : qbwebconnector.soapwebservice.do_clientversion() : application not contain support clientversion. allowing update operation backward compatibility. 20150604.02:34:43 utc : qbwebconnector.soapwebservice.do_authenticate() : authenticating application 'appname', username = 'admin' 20150604.02:34:43 utc : qbwebconnector.soapwebservice.do_authenticate() : *** calling authenticate() following parameters:<username="admin"><password=<maskedforsecurity> 20150604.02:34:43 utc : qbwebconnector.soapwebservice.do_authenticate() : qbwc1012: authentication failed due following error message. client found response content type of 'text/xml', expected 'text/xml'. request failed empty response. more info: stacktrace = @ system.web.services.protocols.soaphttpclientprotocol.readresponse(soapclientmessage message, webresponse response, stream responsestream, boolean asynccall) @ system.web.services.protocols.soaphttpclientprotocol.invoke(string methodname, object[] parameters) @ qbwebconnector.localhost.wcwebservicedoc.authenticate(string strusername, string strpassword) @ qbwebconnector.localhost.wcwebservice.authenticate(string strusername, string strpassword) @ qbwebconnector.soapwebservice.authenticate(string username, string password) @ qbwebconnector.webservice.do_authenticate(string& ticket, string& companyfilename) source = system.web.services 20150604.02:34:43 utc : qbwebconnector.registrymanager.setupdatelock() : hkey_current_user\software\intuit\qbwebconnector\updatelock has been set false 20150604.02:34:43 utc : qbwebconnector.registrymanager.setupdatelock() : ********************* update session unlocked ********************* 20150604.02:34:43 utc : qbwebconnector.webservicemanager.doupdateselected() : update completed errors. see log (qwclog.txt) details.
i've triple checked .qwc username same in quickbooks_user table , password given in connector matches well. error message claims it's getting expected. on go here?
the error message says:
the request failed empty response.
as troubleshooting any php script, first thing should check php error log.
did check it? did say?
failing -- post code. tough if don't post code can see you're doing.
you use test script simulates web connector session -- example:
from:
that script simulate web connector session , show output php script.
Comments
Post a Comment