Code example for SingleClientConnManager

0
                new ConnPerRouteBean(30));
        params.setParameter(HttpProtocolParams.USE_EXPECT_CONTINUE, false);
        HttpProtocolParams.setVersion(params, HttpVersion.HTTP_1_1);
 
        ClientConnectionManager cm =
                new SingleClientConnManager(null, schemeRegistry);
//        _httpClient = 
//                new TrustedDefaultHttpClient(cm, params, DocphinApp 
//                        .getSharedApplication().getApplicationContext()); 
        _httpClient = new DefaultHttpClient();
         
    } 
 
     
    protected String doInBackground(String... urls)
    { 
        String serverResponse = null;
        Log.d("Url", _apiListener.getSoapURL());
        if (DocphinUtilities.isNetworkAvailable(DocphinApp.getSharedApplication() 
                .getApplicationContext())) { 
            try {