<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to access WCF service using extensible API for ArcGIS SharePoint ? in ArcGIS for SharePoint Questions</title>
    <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/how-to-access-wcf-service-using-extensible-api-for/m-p/346092#M937</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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&amp;nbsp; ServiceReferences.ClientConfig.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use below code to create the WCF service endpoint through your code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; BasicHttpBinding basicBinding = new BasicHttpBinding();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; basicBinding.MaxBufferSize = 2147483647;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; basicBinding.MaxReceivedMessageSize = 2147483647;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; EndpointAddress endPoint = new EndpointAddress(@�?�&lt;/SPAN&gt;&lt;A href="http://abc:5555/Service.svc�?�);"&gt;http://abc:5555/Service.svc�?�);&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ServiceClient client = new ServiceClient(basicBinding, endPoint);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Argha&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2012 08:13:10 GMT</pubDate>
    <dc:creator>ArghaBera</dc:creator>
    <dc:date>2012-04-02T08:13:10Z</dc:date>
    <item>
      <title>How to access WCF service using extensible API for ArcGIS SharePoint ?</title>
      <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/how-to-access-wcf-service-using-extensible-api-for/m-p/346091#M936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have anyone tried calling WCF service using extensible API for ArcGIS SharePoint and developed a custom tool ? any example / pointers will be appreciated !!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Roger&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2012 15:42:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-sharepoint-questions/how-to-access-wcf-service-using-extensible-api-for/m-p/346091#M936</guid>
      <dc:creator>RogerF</dc:creator>
      <dc:date>2012-02-28T15:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to access WCF service using extensible API for ArcGIS SharePoint ?</title>
      <link>https://community.esri.com/t5/arcgis-for-sharepoint-questions/how-to-access-wcf-service-using-extensible-api-for/m-p/346092#M937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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&amp;nbsp; ServiceReferences.ClientConfig.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Use below code to create the WCF service endpoint through your code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; BasicHttpBinding basicBinding = new BasicHttpBinding();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; basicBinding.MaxBufferSize = 2147483647;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; basicBinding.MaxReceivedMessageSize = 2147483647;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; EndpointAddress endPoint = new EndpointAddress(@�?�&lt;/SPAN&gt;&lt;A href="http://abc:5555/Service.svc�?�);"&gt;http://abc:5555/Service.svc�?�);&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ServiceClient client = new ServiceClient(basicBinding, endPoint);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Argha&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 08:13:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-for-sharepoint-questions/how-to-access-wcf-service-using-extensible-api-for/m-p/346092#M937</guid>
      <dc:creator>ArghaBera</dc:creator>
      <dc:date>2012-04-02T08:13:10Z</dc:date>
    </item>
  </channel>
</rss>

