Example #1
0
 /// <summary>
 /// Validate credentials to use the Wip service
 /// </summary>
 public static WipService.MpxWebServicesPort Port()
 {
     WipService.credentials credentials = new MPXMobile.WipService.credentials();
     credentials.password = System.Configuration.ConfigurationSettings.AppSettings["LogP"];
     credentials.userName = System.Configuration.ConfigurationSettings.AppSettings["LogU"];
     WipService.MpxWebServicesPort port = new MPXMobile.WipService.MpxWebServicesPort();
     port.userCredentials = credentials;
     return(port);
 }
Example #2
0
 /// <summary>
 /// Validate credentials to use the Wip service
 /// </summary>
 public static WipService.MpxWebServicesPort Port()
 {
     WipService.credentials credentials = new MPXMobile.WipService.credentials();
     credentials.password = System.Configuration.ConfigurationSettings.AppSettings["LogP"];
     credentials.userName = System.Configuration.ConfigurationSettings.AppSettings["LogU"];
     WipService.MpxWebServicesPort port = new MPXMobile.WipService.MpxWebServicesPort();
     port.userCredentials = credentials;
     return port;
 }