Install Web Service For SharePoint Connector

 

Links

1.       Prerequisite

2.       SharePoint Server Connector

2.1          Update Web Config file

2.2          Update NLog Config file

2.3          SharePoint Connector folder access right configuration

2.4          Web.config file access right configuration

3.       Create New Application Pool in IIS

4.       Create Application in IIS

5.       Assign SSL Certificate

5.1          Add SSL Binding

5.2          Configure iConnector for SSL

6.       Test Web Service

6.1          Install Advanced REST client tool

6.2          Check Web Service

 

 

 

1.        Prerequisite

  1. Windows Server 2008 R2, latest Service pack or higher
  2. Prepare FQDN (Full Qualified Domain Name) of the SharePoint Connector Server, public IP Address that are mapped to the FQDN
  3. FQDN With TCP Port 443 and 80 access from public
  4. Valid CA SSL Cert for the given domain (FQDN) is required, e.g. (VeriSign, Thawte, Comodo, GoDaddy, DigiCert)
  5. .Net Framework 4.5 is installed
  6. Internet Information Service (IIS) 7.5 (and higher) is installed
  7. Provide path location to install SharePoint connector with IIS_IUSRS permission to read, write & modified access
  8. The web service is accessible by the public

Reference: http://msdn.microsoft.com/enus/library/hh167503(v=nav.71).aspx

 

Download the SharePoint Connector here

 

2.        SharePoint Server Connector

SharePoint connector is a web service to upload metadata and documents to SharePoint 2013.

 

The iConnector_Sharepoint folder contains all files that can be copied into the IIS application folder (e.g. C:iConnector_Sharepoint) or if IIS is dedicated to the Server.Connector wwwroot.

 

2.1        Update Web Config file

The Web.config contains values for a deployment in an HTTPS context.

In the Web.config, the following two entries need to be changed:

 

2.2         Update NLog Config file

In the NLog.config file, update the “filename” entry.

This file is for purpose of service logging.

fileName=" C:/inetpub/wwwroot/iConnector/${shortdate}.log" />

to:

fileName="{Your service folder}/log/${shortdate}.log"  />

 

2.3         SharePoint Connector folder access right configuration

Ensure user IIS_IUSRS have these permissions “Modify”, “Read”, “Read & Execute”, “List Content” and “Write” on the connector folder (For example: “C:iConnector_SharePoint”).

 

2.4         Web.config file access right configuration

Ensure users IUSR and IIS_IUSRS have these permissions “Read”, “Read & Execute” on web.config file (for example: “C:iConnector_SharePointweb.config”).

 

 

3.        Create New Application Pool in IIS

  1. Open Internet Information Service
  2. Right click on Application Pool node, select  "Add Application Pool..." from the dropdown menu

 

 

  1. Click 'OK' to accept the changes.
  2. Right click at the newly created Application Pool and select 'Advanced Settings'

 

 

 

4.        Create Application in IIS

  1. Open Internet Information Service
  2. Expand the Sites.
  3. Right click on the Default Web Site, chose Add Application…

 

 

  1. Type iConnector_SharePoint as the Alias and browse to the iConnector folder for example “C:iConnector_Sharepoint”.

Application pool: select “iConnector” application pool configured earlier.

 

  1. Click OK

 

 

5. Assign SSL Certificate

You will need to have a CA certificate ready.

Reference: http://msdn.microsoft.com/en-us/library/hh556232(v=vs.110).aspx

 

5.1     Add SSL Binding

  1. In Internet Information Services Manager, expand the Sites folder and then the Default Web Site folder in the tree view on the left-hand side of the screen.
  2. Click the Bindings…. Link in the Actions section in the upper right hand portion of the window. (Or, right click on the Default Web Site, select Edit Binding…)

  1. In the Site Bindings window click the Add button.

           

 

  1. In the Add Site Binding dialog, select https and type in friendly name of your certificate authority (CA) certificate you have created. Click OK.

 

5.2     Configure iConnector for SSL

  1. In Internet Information Services Manager, select the iConnector application that contains your WCF secure service.
  2. In the center pane of the window, select SSL Settings in the IIS section.

 

  1. In the SSL Settings pane, select the Require SSL checkbox and click the Apply link in the Actions section on the right hand side of the screen.

                                               

 

 

 

6. Test Web Service

6.1     Install Advanced REST client tool

  1. Using Chrome browser, click on the Apps, select Store, search “advanced REST client”.

 

 

  1. Choose “Advanced REST client” and click on “+Free

 

  1. Click Add on the popup.

4)New browser will open and Advanced REST client is installed. Select it.

 

5)This is the “Advanced REST Client” interface.

 

 

 

6.2         Check Web Service

  1. Write http://<ComputerName>/iConnector_SharePoint/ConnectorService.svc/json/CheckService?value=test

OR

 

  1. Provide this web service URL to CumulusPro.
Create your own Knowledge Base