The QBConnector is part of the /n software QuickBooks Integrator and it will
be installed in your machine automatically when you install the SDK. Once installed, run the QBConnector
from the command line with user and password arguments like so:
QBConnector user password [<options>]
The user and password arguments will be used by connecting applications to authenticate
to the QBConnector before access to QuickBooks is granted. You may also set additional
profile options to select for this user when they connect to the QBConnector. These
options are as follows:
-companyfile <filename>
This argument specifies the company file to open, if QuickBooks is not running.
This should be the fully qualified path to the company file, e.g.: C:\users\Public\Documents\Intuit\QuickBooks\Sample
Company Files\QuickBooks 2010\sample_product-based business.qbw. If QuickBooks is
already running and the companyfile is not specified, the QBConnector will connect
to the company file that is already loaded.
-appname <name>
This is the name that the QBConnector will use when identifying itself to QuickBooks.
Integrated applications do not authenticate themselves to the company file, even
if the company file is run in multi-user mode. Access is granted strictly based
on the name of the application as it presents itself to QuickBooks. If the appname
is
-port <port>
This is the port that the QBConnector listens on. If this is not specified, the
QBConnector will begin listening on port 2080. You will need to use this port in
the URL you specify in the connecting object when you establish a connection to
the QBConnector.
-connectionmode single|multi
This determines whether the application will connect to QuickBooks in single-user
or multi-use mode. If it is not set, the application will connect in whatever mode
QuickBooks is already open in.
-sslcerttype pfx|user|machine
-sslcertstore <store>
-sslcertpassword <password>
-sslcertsubject <subject>
The QBConnector is capable of supporting SSL connections for additional security,
and these properties are used to determine what certificate is used to host the
SSL connection. If none of these properties are set, the QBConnector will host connections
in plain text. Using SSL, along with a digital certificate, greatly increases the security of
the Remote Connector. SSL will encrypt all data transmitted across the
network, ensuring that only the Connector can read incoming requests, and that
only the requesting client can read the QuickBooks responses. This prevents
unauthorized parties from accessing your QuickBooks data.
You should use a full digital certificate in the QBConnector if you are enabling
SSL; this will contain a public key and a private key. This
version of your certificate should be kept private. You may export a version of
the certificate containing the public key only, and distribute this to
all clients that need to communicate with the QBConnector.
-debug <1|2|3|4|5|6|7>
This determines what kind of logging is available to the application. The higher
the number, the more detailed the log will be. You can use output redirection to
log the output to file, e.g.:
QBConnector user password -debug 7 >> QBConnectorLog.txt
Once executed, the QBConnector will listen for incoming
messages from authenticated
applications. The messages will be processed locally and the
results will be automatically returned to the requesting client. This will continue until the application is aborted
(Ctrl+C).