Getting error in MetastormOperation while connecting through proxy
Hi,
I am getting the following error in the below mentioned code. The screenshot is also attached.
Error:
"Could not find endpoint element with name 'MetastormECL' and contract 'Service' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this name could be found in the client element."
Code:
IMetastormOperation metastormOperation = new MetastormOperation();
Here is the content of the app.config file for Class Library.
<system.serviceModel>
http://celtic25/ECL.WS/Service.svc"
binding="basicHttpBinding" bindingConfiguration="MetastormECL"
contract="Service" name="MetastormECL" />
</system.serviceModel>
Thanks in advance.
Comments
-
With reference to the screenshot, it would appear you are using .Net ECL within a web application. In that case we would expect the binding information to be in the web.config for the Web App rather than in an App.config.
It would appear that security mode is also incorrect;
Instead of this:
<security mode="None"> <transport clientCredentialType="None" proxyCredentialType="None" realm=""/> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security>
We would expect this:
<security mode="TransportCredentialOnly"> <transport clientCredentialType="Windows" /> <message clientCredentialType="UserName" algorithmSuite="Default" /> </security>
0 -
Thank you very much pdenton. It is working now with your solution.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 155 General Questions
- 149 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 33 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories