synchronized (this) {
// Only call once.
if (!isWebServiceStarted() && !triedToStartFailed) {
// Enter app starting block.
FwkRuntime fwkRuntime = FwkRuntime.getInstance();
fwkRuntime.enterAppSvcStart(this);
try {
triedToStartFailed = true;
checkDoubleNsPrefix();
startWebService(context);
webServiceStartDone = true;