本文介绍了无法在ServiceModel客户端配置部分中找到名称为“XXXXX”且合同为“XXXXX”的端点元素的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

项目已添加服务参考。当该项目独立运行时,建立连接没有任何错误。但是当该项目在产品中用作插件时,显示以下错误





找不到名称为XXXXX的端点元素并在ServiceModel客户端配置部分中收缩'XXXXX'。这可能是因为没有为您的应用程序找到配置文件,或者因为在客户端元素中找不到与此名称匹配的端点元素。'

A project has service reference added. When this project is run independently connection is established without any errors. But when this project is used as addin in a product, the below error shown


Could not find endpoint element with name 'XXXXX' and contract 'XXXXX' 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.'

推荐答案


这篇关于无法在ServiceModel客户端配置部分中找到名称为“XXXXX”且合同为“XXXXX”的端点元素的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-12 07:26