日期:2014-05-20  浏览次数:20938 次

web services问题,很简单,都来看一下
//------------------------------------------
//   <autogenerated>
//           This   code   was   generated   by   a   tool.
//           Runtime   Version:   1.1.4322.573
//
//           Changes   to   this   file   may   cause   incorrect   behavior   and   will   be   lost   if  
//           the   code   is   regenerated.
//   </autogenerated>
//------------------------------------------

//  
//   此源代码是由   Microsoft.VSDesigner   1.1.4322.573   版自动生成。
//  
namespace   module66.WebReference   {
        using   System.Diagnostics;
        using   System.Xml.Serialization;
        using   System;
        using   System.Web.Services.Protocols;
        using   System.ComponentModel;
        using   System.Web.Services;
       
       
        ///   <remarks/>
        [System.Diagnostics.DebuggerStepThroughAttribute()]
        [System.ComponentModel.DesignerCategoryAttribute( "code ")]
        [System.Web.Services.WebServiceBindingAttribute(Name= "entserviceSoapBinding ",   Namespace= "http://192.168.0.168/entservice/services/entservice ")]
        public   class   EntServiceService   :   System.Web.Services.Protocols.SoapHttpClientProtocol   {
               
                ///   <remarks/>
                public   EntServiceService()   {
                        this.Url   =   "http://192.168.0.96/entservice/services/entservice ";
                }
               
                ///   <remarks/>
                [System.Web.Services.Protocols.SoapRpcMethodAttribute( " ",   RequestNamespace= "http://confirm.container.ninetowns.com ",   ResponseNamespace= "http://192.168.0.168/entservice/services/entservice ")]
                [return:   System.Xml.Serialization.SoapElementAttribute( "doconfirmReturn ")]
                public   string   doconfirm(string   strxml)   {
                        object[]   results   =   this.Invoke( "doconfirm ",   new   object[]   {
                                                strxml});
                        return   ((string)(results[0]));
                }