引用webservice中的类的问题
我在Webservice中定义一个实体类 
             [Serializable] 
             public   class   InventoryClassMDL 
             { 
                         public   InventoryClassMDL() 
                         {   } 
                         private   string   _cinvccode; 
                         private   string   _cinvcname; 
                         private   string   _memo; 
                         public   string   cInvCCode 
                         { 
                                     set   {   _cinvccode   =   value;   } 
                                     get   {   return   _cinvccode;   } 
                         } 
                         public   string   cInvCName 
                         { 
                                     set   {   _cinvcname   =   value;   } 
                                     get   {   return   _cinvcname;   } 
                         } 
                         public   string   Memo 
                         { 
                                     set   {   _memo   =   value;   } 
                                     get   {   return   _memo;   } 
                         } 
 客户端引用Webservice后,想使用这个类,也就是向webservice中传递这个对象,以添加一条数据,可是为什么引用不到呢? 
 客户端 
 localhost.Service1   s=new   localhost.Service1(); 
 s.    
 点不出来呢?谢谢!!
------解决方案--------------------没有  using namespace?