when add service reference to Silverlight 4 Project, I got this error:Custom tool error: Failed to generate code for the service reference 'BaseInfoServices'. Please check other error and warning messages for details.
but when the endpoint "/ConfigurationService" have been removed, the service be added successful.
How to fixed the error?
code:<service behaviorConfiguration="ServiceBehaviorHCNService"
name="TMCSoft.HCN.Service.Implement.BaseInfoService">
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:4504" />
</baseAddresses>
</host>
<endpoint address=""
binding="customBinding"
bindingConfiguration="CustomTcpBinding"
contract="TMCSoft.HCN.Service.Contract.IBaseInfoService" />
<endpoint address="/ConfigurationService"
binding="customBinding"
bindingConfiguration="CustomTcpBinding"
contract="TMCSoft.HCN.Service.Contract.IConfigurationService" />
<endpoint address="mex"
binding="customBinding"
bindingConfiguration="CustomMexTcpBinding"
contract="IMetadataExchange"/>
</service>
Thanks.