fedyunin / qbwcpoc

PoC of WebConnector service for QuickBooks Desktop
5 stars 0 forks source link

Authendication Failed #3

Closed ashwin-raj closed 10 years ago

ashwin-raj commented 10 years ago

I'm trying to connect 'Axis2 webservice' and 'QuickBooks Pro Plus 2011' using 'QuickBook WebConnector 2.0.0.139'.I generated the code using 'QBWebConnectorSvc.wsdl'.when I clicked on UpdateSelected button on QuickBooks WebConnector, I got an exception. My log is

20120116.10:52:02 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : updateWS() for application = 'WCWebService1' has STARTED 20120116.10:52:02 UTC : QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE 20120116.10:52:02 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True 20120116.10:52:02 UTC : QBWebConnector.RegistryManager.setUpdateLock() : ***** Update session locked ***** 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : Initiated connection to the following application. 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppName: WCWebService1 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppUniqueName (if available): WCWebService1 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.instantiateWebService() : AppURL: http://localhost:8080/axis2/services/QBWebConnectorSvcStub 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : * Calling serverVersion(). 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : Actual error received from web service for serverVersion call: <namespace mismatch require http://developer.intuit.com found http://developer.intuit.com/>. For backward compatibility of all webservers, QBWC will catch all errors under app-not-supporting-serverVersion. 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.do_serverVersion() : This application does not contain support for serverVersion. Allowing update operation for backward compatibility. 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : * Calling clientVersion() with following parameter: 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.updateWS() : Actual error received from web service for clientVersion call: <namespace mismatch require http://developer.intuit.com found http://developer.intuit.com/>. For backward compatibility of all webservers, QBWC will catch all errors under app-not-supporting-clientVersion. 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.do_clientVersion() : This application does not contain support for clientVersion. Allowing update operation for backward compatibility. 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'WCWebService1', username = 'iqbal1' 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.do_authenticate() : * Calling authenticate() with following parameters:<password= 20120116.10:52:02 UTC : QBWebConnector.SOAPWebService.do_authenticate() : QBWC1012: Authentication failed due to following error message. namespace mismatch require http://developer.intuit.com found http://developer.intuit.com/ 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 20120116.10:52:02 UTC : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False 20120116.10:52:02 UTC : QBWebConnector.RegistryManager.setUpdateLock() : *** Update session unlocked ***** 20120116.10:52:02 UTC : QBWebConnector.WebServiceManager.DoUpdateSelected() : Update completed with errors. See log (QWClog.txt) for details.

ashwin-raj commented 10 years ago

Resolved the http name is wrong in the qwc file

Correct is http://localhost:8080/qbwcpoc/services/QBWebConnectorSvc