Have anyone tried calling WCF service using extensible API for ArcGIS SharePoint and developed a custom tool ? any example / pointers will be appreciated !!
You need to explicitly define the WCF service end point. Because if you are using WCF service in any custom tool which is deployed on the SharePoint MAP WEBPART ,in that case it won�??t be able to read the WCF service endpoint from ServiceReferences.ClientConfig.
Use below code to create the WCF service endpoint through your code.
BasicHttpBinding basicBinding = new BasicHttpBinding(); basicBinding.MaxBufferSize = 2147483647; basicBinding.MaxReceivedMessageSize = 2147483647; EndpointAddress endPoint = new EndpointAddress(@�?�http://abc:5555/Service.svc�?�); ServiceClient client = new ServiceClient(basicBinding, endPoint);