Quantcast
Channel: Lync 2010 and OCS - Lync Clients and Devices forum
Viewing all articles
Browse latest Browse all 3260

How to reference Response Group Web Service from VS2010

$
0
0

I have been directed here from the Microsoft Unified Communications Web API forum and from theLync 2010 and OCS - Lync Clients and Devices forum. I hope someone can help.

I am trying to implement some .Net code which accesses the Lync 2010 Response Group Web Service. 

I cannot find any information on how to do this, and would be grateful if anyone can help. The nearest I found was this link (http://www.cymbeline.ch/post/2009/03/19/Using-the-Agent-WebService-of-the-Response-Group-Service.aspx) which seems to be trying to do the discovery from the command line rather than the IDE.

However using the detail in here I did the following:

1. Created a new C# project in VS2010

2. Right clicked on the solution References in solution explorer and selected "Add Service Reference"

3. I then added the following details into the dialogue

Address       : https://<hostname of Lync Server>/RgsClients/ProxyService.asmx

Namespace : RgsAgentService

I have no idea whether these details are correct.

4. I then press GO and get authenticated.

5. I provide authentication details, but continually get re authenticated even though I am using the Administrator account of the Lync Server.

6. If I press cancel from the dialogue, it appears that the IDE attempts to communicate with the Lync server but results in the following error: 

The HTML document does not contain Web service discovery information.
Metadata contains a reference that cannot be resolved: 'https://<hostname of Lync Server>/RgsClients/ProxyService.asmx'.
The HTTP request is unauthorized with client authentication scheme 'Anonymous'. The authentication header received from the server was 'Negotiate,NTLM'.
The remote server returned an error: (401) Unauthorized.
If the service is defined in the current solution, try building the solution and adding the service reference again.  

7. If I try this by selecting Advanced/Add Web reference, after accepting the certificate and getting authenticated and again having to cancel out because it does not accept the administrator login, I get:

There was an error downloading 'https://<hostname of Lync Servrer>/RgsClients/ProxyService.asmx/$metadata'.
The request failed with HTTP status 403: Forbidden.     

  

Can anybody offer the correct procedure to add a Service Reference to the Lync Response Group Web Service from VS2010 ?

Thanks


Viewing all articles
Browse latest Browse all 3260

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>