예제 #1
0
 public Callback()
 {
     if (Properties.Settings.Default.CallbackType == 0) //webservice based callback
     {
         _wsdlclient = WSDLCallback.Create();
         _restclient = null;
     }
     else //Post based callback
     {
         _wsdlclient = null;
         _restclient = NewtonsoftJsonSerializer.CreateClient(Properties.Settings.Default.CallbackUrl);
     }
 }