While working with the service, we often face the error : "meta data
not accessible in the web service or Failure to invoke the service due meta data
inaccessiblity".
Add the below code in web.config :
<services>
<service name="SyncFalconService.SyncFalcon" behaviorConfiguration="metadataBehavior">
<endpoint address="" binding="wsHttpBinding" contract="SyncFalconService.ISyncFalcon"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
Add the below code in web.config :
<services>
<service name="SyncFalconService.SyncFalcon" behaviorConfiguration="metadataBehavior">
<endpoint address="" binding="wsHttpBinding" contract="SyncFalconService.ISyncFalcon"/>
<endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
</service>
</services>
Comments
Post a Comment