Lync 2010 Connection Issue .

Hi Everyone ,

I am working in an IT company and have to built a module to connect to Lync Server 2010 

I am following all the steps mentioned in the UCWA Documentation but It is for Lync 2013 . 

http://ucwa.lync.com/documentation/KeyTasks-CreateApplication 

i am getting the following problem ...

1> As mention in the documentation In the first GET external request i should get 3 JSON object but i am getting only 2 named

User And Domain 

2>I continued with these value and Made the second  GET request on User reference 
Here I Am getting X-MS-WebTicketURL: https:/webdir.company.com/webticket.srv  instead  of a X-Authenticate Header 

Ok 
3> I Continued with this and made the next POST request with user credentials ( grant_type ,username , password ) my credentials are correct but i am still getting 401 Unauthorized response 

Please Suggest me to how to make call to Lync Server to get the actual response or to get accessed into it

Please mention the necessary steps or valuable suggestion to do this work .

This Is What I Am Getting The Output From My Code  . . .

Testing 1 - Send Http GET request To Auto Discover

step 1 First GET Request Response . 

Sending 'GET' request to URL : https://lyncdiscover.companyname.com
Response Code : 200

{"AccessLocation":"External","Root":{"Links":[{"token":"Domain","href":"https://dirweb.companyname.com/Autodiscover/AutodiscoverService.svc/root/domain"},{"token":"User","href":"https://dirweb.companyname.com/Autodiscover/AutodiscoverService.svc/root/user"}]}}

step 2 Second GET Request Response .

HTTP/1.1 401 Unauthorized [Cache-Control: no-cache, Pragma: no-cache, Content-Type: text/html, Expires: -1, Server: Microsoft-IIS/7.5, X-MS-WebTicketURL: https://dirweb.companyname.com/WebTicket/WebTicketService.svc, X-MS-Server-Fqdn: catl0ms810.corp.companyname.com, X-Powered-By: ASP.NET, Date: Mon, 19 Jan 2015 13:01:32 GMT, Content-Length: 1293, Set-Cookie: NSC_mzodejsqppm.sfwfstfqspyz_4443=ffffffff0936f2bb45525d5f4f58455e445a4a42276b;path=/;secure] org.apache.http.conn.BasicManagedEntity@46409d
OAuthToken Is = https://dirweb.companyname.com/WebTicket/WebTicketService.svc

Step 3 Third POST Request Response With User Credentials

Sending 'Post' request to URL : https://dirweb.companyname.com/WebTicket/WebTicketService.svc
Response Code : 401
HTTP/1.1 401 Unauthorized [Content-Type: text/html, Server: Microsoft-IIS/7.5, X-MS-Server-Fqdn: catl0ms809.corp.companyname.com, WWW-Authenticate: NTLM, X-Powered-By: ASP.NET, Date: Mon, 19 Jan 2015 13:01:36 GMT, Content-Length: 1293, Set-Cookie: NSC_mzodejsqppm.sfwfstfqspyz_4443=ffffffff0936f2b845525d5f4f58455e445a4a42276b;path=/;secure] org.apache.http.conn.BasicManagedEntity@1b65439

I tried with UCMA but i didn't get any help out of this ..

Please Suggest How To Make A Rest Call/Or Any Other Way  To Get Connected To Lync2010 Server 

It is very important for us please help . . .

Thanks , , ,

February 18th, 2015 9:23am

You're in the client support forums, you should ask your question in the developer forums:

http://social.msdn.microsoft.com/Forums/en-US/home?forum=communicationsserversdk

http://social.msdn.microsoft.com/Forums/en-US/home?category=uc

Free Windows Admin Tool Kit Click here and download it now
February 18th, 2015 9:49am

Ohh Sorry And Thanks For The Suggestions ...

February 18th, 2015 10:05am

No problem, hope you find your answer!
Free Windows Admin Tool Kit Click here and download it now
February 18th, 2015 10:08am

Hi Jagannath,

Request you to Post your question here

https://social.msdn.microsoft.com/Forums/lync/en-US/home?forum=ucmanagedsdk

Thanks for Understanding.

February 18th, 2015 10:12am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics