// Implementation of abstract method (AbsractWsClient.ServiceProxyConnect()). protected override void ServiceProxyConnect() { PrintDebugMessage("ServiceProxyConnect", "Begin", 11); if (SrvProxy == null) { SrvProxy = new ClustalConnector.JDispatcherServiceClient(); } PrintDebugMessage("ServiceProxyConnect", "SrvProxy: " + SrvProxy.ToString(), 12); PrintDebugMessage("ServiceProxyConnect", "End", 11); }
// Implementation of abstract method (AbsractWsClient.ServiceProxyConnect()). protected override void ServiceProxyConnect() { PrintDebugMessage("ServiceProxyConnect", "Begin", 11); if (SrvProxy == null) { SrvProxy = new JDispatcherService(); SetProxyEndPoint(); // Set explicit service endpoint, if defined. SetProxyUserAgent(); // Set user-agent for client. // Enable HTTP response compression (MS .NET 2.0 or Mono 2.4.1 onward). SrvProxy.EnableDecompression = true; } PrintDebugMessage("ServiceProxyConnect", "SrvProxy: " + SrvProxy.ToString(), 12); PrintDebugMessage("ServiceProxyConnect", "End", 11); }