Пример #1
0
 public string DoSomething(WebServiceProject.ServiceRef.Person p)
 {
     WebServiceProject.ServiceRef.DoSomethingRequest inValue = new WebServiceProject.ServiceRef.DoSomethingRequest();
     inValue.Body   = new WebServiceProject.ServiceRef.DoSomethingRequestBody();
     inValue.Body.p = p;
     WebServiceProject.ServiceRef.DoSomethingResponse retVal = ((WebServiceProject.ServiceRef.WebSerSoap)(this)).DoSomething(inValue);
     return(retVal.Body.DoSomethingResult);
 }
Пример #2
0
 public System.Threading.Tasks.Task <WebServiceProject.ServiceRef.DoSomethingResponse> DoSomethingAsync(WebServiceProject.ServiceRef.Person p)
 {
     WebServiceProject.ServiceRef.DoSomethingRequest inValue = new WebServiceProject.ServiceRef.DoSomethingRequest();
     inValue.Body   = new WebServiceProject.ServiceRef.DoSomethingRequestBody();
     inValue.Body.p = p;
     return(((WebServiceProject.ServiceRef.WebSerSoap)(this)).DoSomethingAsync(inValue));
 }
Пример #3
0
 public DoSomethingRequestBody(WebServiceProject.ServiceRef.Person p)
 {
     this.p = p;
 }