예제 #1
0
 public string HelloWorld()
 {
     WindowsFormsClient.SampleSvc.HelloWorldRequest inValue = new WindowsFormsClient.SampleSvc.HelloWorldRequest();
     inValue.Body = new WindowsFormsClient.SampleSvc.HelloWorldRequestBody();
     WindowsFormsClient.SampleSvc.HelloWorldResponse retVal = ((WindowsFormsClient.SampleSvc.SampleServiceSoap)(this)).HelloWorld(inValue);
     return(retVal.Body.HelloWorldResult);
 }
예제 #2
0
 public string EndHelloWorld(System.IAsyncResult result)
 {
     WindowsFormsClient.SampleSvc.HelloWorldResponse retVal = ((WindowsFormsClient.SampleSvc.SampleServiceSoap)(this)).EndHelloWorld(result);
     return(retVal.Body.HelloWorldResult);
 }