on 10-23-2013 5:08 AM
Hi,
I have a requirement to get Device Info form Afaria Server. How can i access API Service methods. Do i need to install API Services in my machine?
How to access the API classes? What do i need to import to access the classes? Any sample code or steps would be highy appreciated. Thanks
Hi,
Please find the below link for the same.
http://scn.sap.com/docs/DOC-46734
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have a doubt in the below part of code from the doc. I couldnt find TenantServiceClient in the generated Classes and so i couldn't set my credentials like domain, username & pwd. I tried with other services too. but couldnt find any method related to setting credentials lke in the below code. I have all other classes generated correctly, like i can find methods for intContext, setting farm id, tenant id etc. Am i missing something. ?
AfariaServiceTenant.TenantServiceClient svc2 = new AfariaServiceTenant.TenantServiceClient("NetNamedPipeBinding_ITenantService");
svc2.ClientCredentials.Windows.ClientCredential.Domain = _domain;
svc2.ClientCredentials.Windows.ClientCredential.UserName = _username;
svc2.ClientCredentials.Windows.ClientCredential.Password = _password;
AfariaServiceTenant.ContextInfo myCtx2 = svc2.InitContext(_guid);
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.