Connect Sage EM with .Net (C#)

SOLVED

How can I connect Sage EM and  .Net with a user authentication?

Before V11 there was authentication available:

cc.codeUser = "ADMIN";                      // X3 user
cc.password = "";                           // X3 password

And now in V11, how can I do it?

Thanks!

Parents Reply
  • 0 in reply to Mylena Santos

    Did you add your X3 endpoint as a service reference to your .net project?  Once you do that, it should show up under the "Web References" folder.  You will also need to add the "using" statement at the top of your code (which can also be done automatically by the Visual Studio helper function).  The using statement will be something like "using ProjectName.X3WebService;", where "ProjectName" is the namespace for your application, and X3WebService is the name you gave the web reference when you added it to the Visual Studio project.

Children