public WorkflowInterpretorStub(org.apache.axis2.context.ConfigurationContext configurationContext,
java.lang.String targetEndpoint, boolean useSeparateListener) throws org.apache.axis2.AxisFault {
// To populate AxisService
populateAxisService();
populateFaults();
MultiThreadedHttpConnectionManager httpConnectionManager = new MultiThreadedHttpConnectionManager();
httpConnectionManager.getParams().setMaxTotalConnections(10000);
httpConnectionManager.getParams().setMaxConnectionsPerHost(HostConfiguration.ANY_HOST_CONFIGURATION, 100);
httpConnectionManager.getParams().setDefaultMaxConnectionsPerHost(200);
HttpClient httpClient = new HttpClient(httpConnectionManager);
_serviceClient = new org.apache.axis2.client.ServiceClient(configurationContext, _service);
configurationContext = _serviceClient.getServiceContext().getConfigurationContext();
configurationContext.setProperty(HTTPConstants.REUSE_HTTP_CLIENT, true);