예제 #1
0
 public string OpenSession(string user, string password, string company)
 {
     WindowsFormsApplication1.ServiceReference1.OpenSessionRequest inValue = new WindowsFormsApplication1.ServiceReference1.OpenSessionRequest();
     inValue.Body          = new WindowsFormsApplication1.ServiceReference1.OpenSessionRequestBody();
     inValue.Body.user     = user;
     inValue.Body.password = password;
     inValue.Body.company  = company;
     WindowsFormsApplication1.ServiceReference1.OpenSessionResponse retVal = ((WindowsFormsApplication1.ServiceReference1.Service1Soap)(this)).OpenSession(inValue);
     return(retVal.Body.OpenSessionResult);
 }
예제 #2
0
 WindowsFormsApplication1.ServiceReference1.OpenSessionResponse WindowsFormsApplication1.ServiceReference1.Service1Soap.OpenSession(WindowsFormsApplication1.ServiceReference1.OpenSessionRequest request)
 {
     return(base.Channel.OpenSession(request));
 }