public WebServiceDataReader(System.Data.CommandBehavior behavior, WebServiceConnection conn, WebServiceCommand cmd)
        {
            _wsconn = conn;
            _wscmd = cmd;
            _behavior = behavior;

            WebServiceWsdl wsw = WebServiceWsdl.GetWebServiceWsdl(_wscmd.Url);

            // build the structure of the result
            BuildMetaData(wsw);

            if (_behavior == CommandBehavior.SchemaOnly)
                return;

            // build the array that will hold the data
            BuildData(wsw);
            return;
        }
        ArrayList _Types;                               // types of the columns

        public WebServiceDataReader(System.Data.CommandBehavior behavior, WebServiceConnection conn, WebServiceCommand cmd)
        {
            _wsconn   = conn;
            _wscmd    = cmd;
            _behavior = behavior;

            WebServiceWsdl wsw = WebServiceWsdl.GetWebServiceWsdl(_wscmd.Url);

            // build the structure of the result
            BuildMetaData(wsw);

            if (_behavior == CommandBehavior.SchemaOnly)
            {
                return;
            }

            // build the array that will hold the data
            BuildData(wsw);
            return;
        }
Example #3
0
 public WebServiceCommand(WebServiceConnection conn)
 {
     _wsc = conn;
 }
		public WebServiceCommand(WebServiceConnection conn)
		{
			_wsc = conn;
		}