示例#1
0
 public object CallLookUpTableMethod(string methodName, bool addEmptyRecord)
 {
     try
     {
         if (this._wsdl == null)
         {
             this._wsdl = new WSDLProxy(SOAPSettings.WSDLLocation);
         }
         return(this._wsdl.CallLookUpTableMethod(methodName, addEmptyRecord, SOAPSettings.HTTPUsr, SOAPSettings.HTTPPwd));
     }
     catch (Exception e)
     {
         throw e;
     }
 }
示例#2
0
 public List <WSDLProxyMethod> FindAllMethods()
 {
     try
     {
         if (this._wsdl == null)
         {
             this._wsdl = new WSDLProxy(SOAPSettings.WSDLLocation);
         }
         return(this._wsdl.GetAllMethods());
     }
     catch (Exception e)
     {
         throw e;
     }
 }
示例#3
0
 public object CallMethod(SOAPMethodInfo m)
 {
     try
     {
         if (m.Obsolete)
         {
             throw new ApplicationException("No se puede ejecutar un método marcado como obsoleto.");
         }
         if (this._wsdl == null)
         {
             this._wsdl = new WSDLProxy(SOAPSettings.WSDLLocation);
         }
         return(this._wsdl.CallMethod(m, SOAPSettings.HTTPUsr, SOAPSettings.HTTPPwd));
     }
     catch (Exception e)
     {
         throw e;
     }
 }