Ejemplo n.º 1
0
 /// <remarks/>
 public void SolicitAsync(Solicit Solicit1, object userState) {
     if ((this.SolicitOperationCompleted == null)) {
         this.SolicitOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSolicitOperationCompleted);
     }
     this.InvokeAsync("Solicit", new object[] {
                 Solicit1}, this.SolicitOperationCompleted, userState);
 }
Ejemplo n.º 2
0
        internal static StatusResponseType SolicitHelper(string NodeURL, string secToken, string dataFlow, string request, int? rowID, int? maxRows, List<ParameterType> pars)
        {
            try
            {
                NetworkNode2 nn = new NetworkNode2();
                nn.Url = NodeURL;
                nn.SoapVersion = SoapProtocolVersion.Soap12;

                Solicit s1 = new Solicit();
                s1.securityToken = secToken;
                s1.dataflow = dataFlow;
                s1.request = request;

                ParameterType[] ps = new ParameterType[pars.Count];
                int i = 0;
                System.Xml.XmlQualifiedName parType = new System.Xml.XmlQualifiedName("string", "http://www.w3.org/2001/XMLSchema");
                foreach (ParameterType par in pars)
                {
                    if (par.parameterEncoding == null) par.parameterEncoding = EncodingType.None;
                    ps[i] = par;
                    i++;
                }

                s1.parameters = ps;

                return nn.Solicit(s1);
            }
            catch (SoapException sExept)
            {
                db_Ref.InsertT_OE_SYS_LOG("WQX", sExept.Message.SubStringPlus(0, 1999));
                return null;
            }
        }
Ejemplo n.º 3
0
 /// <remarks/>
 public void SolicitAsync(Solicit Solicit1) {
     this.SolicitAsync(Solicit1, null);
 }