Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. using ERP.ServiceContract;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7.  
  8. namespace Consumer
  9. {
  10. class Program
  11. {
  12. static void Main(string[] args)
  13. {
  14. //Works fine
  15. UserManagementService service = new UserManagementService();
  16. service.GetUserInfoByUserName("AGIE");
  17.  
  18. //Error UserManagementService.cs not found
  19. ServiceReference.UserManagementServiceClient proxy = new ServiceReference.UserManagementServiceClient();
  20. proxy.GetUserInfoByUserName("AGIE");
  21.  
  22.  
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement