c# - ColdFusion .net integration service - unable to locate endpoint .net dll -
i have .net class library dll has service reference. endpoint specified in app.config file
endpoint address="blah .. blah" behaviorconfiguration="clientcertificatebehavior" binding="wshttpbinding" bindingconfiguration="wshttpbinding_iauthnservice" contract="authnservice.iauthnservice" name="wshttpbinding_iauthnservice"
so when dll built .dll.config file generated.
the .dll used/invoked within coldfusion 10 this
<cfobject type=".net" name="myinstance" class="davitauserauthentication.main" assembly="path/assembly name" > <cfset myxmldata =myinstance.testservicemethod("#param1#","#param2#")>
i getting following error.
"could not find default endpoint element references contract 'authnservice.iauthnservice' in servicemodel client configuration section. this might because no configuration file found application, or because no endpoint element matching contract found in client element."
however, when call other method on dll not use service reerence. working fine.
is there way register config file cf server.
mayuresh
Comments
Post a Comment