J
Junoti
Hello,
I've done some research prior to posting this, but I can't seem to
resolve an issue when I try to add a Service Reference to my
application. I can successfully add a reference for the "GoalService",
but nothing I try allows me to add one for the ComboService. Is there
something I'm missing? Here is my config file:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="metadataSupport">
<serviceMetadata />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="metadataSupport"
name="ComboService">
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:8080/ComboService"/>
</baseAddresses>
</host>
<endpoint address=""
binding="netTcpBinding"
contract="IComboService" />
<endpoint address="mex"
binding="mexTcpBinding"
contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="metadataSupport"
name="GoalService">
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:8080/GoalService"/>
</baseAddresses>
</host>
<endpoint address=""
binding="netTcpBinding"
contract="IGoalService" />
<endpoint address="mex"
binding="mexTcpBinding"
contract="IMetadataExchange" />
</service>
</services>
</system.serviceModel>
I've done some research prior to posting this, but I can't seem to
resolve an issue when I try to add a Service Reference to my
application. I can successfully add a reference for the "GoalService",
but nothing I try allows me to add one for the ComboService. Is there
something I'm missing? Here is my config file:
<system.serviceModel>
<behaviors>
<serviceBehaviors>
<behavior name="metadataSupport">
<serviceMetadata />
</behavior>
</serviceBehaviors>
</behaviors>
<services>
<service behaviorConfiguration="metadataSupport"
name="ComboService">
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:8080/ComboService"/>
</baseAddresses>
</host>
<endpoint address=""
binding="netTcpBinding"
contract="IComboService" />
<endpoint address="mex"
binding="mexTcpBinding"
contract="IMetadataExchange" />
</service>
<service behaviorConfiguration="metadataSupport"
name="GoalService">
<host>
<baseAddresses>
<add baseAddress="net.tcp://localhost:8080/GoalService"/>
</baseAddresses>
</host>
<endpoint address=""
binding="netTcpBinding"
contract="IGoalService" />
<endpoint address="mex"
binding="mexTcpBinding"
contract="IMetadataExchange" />
</service>
</services>
</system.serviceModel>