Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy is UpdateServicereference adding HTTP endpoints, when i only specify net.tcp
    primarykey
    data
    text
    <p>One of my services has started to add extra HTTP endpoints when I right click on if and select UpdateServiceReference. This causes a run time error saying i have duplicate end points and must specify one by name. I am manually deleting the endpoints for now, but I would like to stop this. I only want the TCP endpoints.</p> <p>here is the service, below are the "extra" endpoints</p> <pre><code> &lt;system.serviceModel&gt; &lt;bindings&gt; &lt;basicHttpBinding&gt; &lt;binding name="BasicHttpBinding_IEmail" /&gt; &lt;/basicHttpBinding&gt; &lt;netTcpBinding&gt; &lt;binding name="tcpConfig" receiveTimeout="00:10:00" maxBufferPoolSize="5242880" maxBufferSize="1048576" maxReceivedMessageSize="1048576" /&gt; &lt;/netTcpBinding&gt; &lt;/bindings&gt; &lt;behaviors&gt; &lt;serviceBehaviors&gt; &lt;behavior&gt; &lt;serviceMetadata httpGetEnabled="true" /&gt; &lt;serviceDebug includeExceptionDetailInFaults="false" /&gt; &lt;/behavior&gt; &lt;behavior name="NotificationBehavior"&gt; &lt;serviceMetadata httpGetEnabled="true" /&gt; &lt;serviceDebug includeExceptionDetailInFaults="false" /&gt; &lt;/behavior&gt; &lt;/serviceBehaviors&gt; &lt;/behaviors&gt; &lt;serviceHostingEnvironment multipleSiteBindingsEnabled="true" /&gt; &lt;services&gt; &lt;service behaviorConfiguration="NotificationBehavior" name="PGFContracts.LiveContractsService.LiveTargetPriceAgreementService"&gt; &lt;endpoint address="LivePricing" binding="netTcpBinding" bindingConfiguration="tcpConfig" name="TCPLivePricing" contract="PGFContracts.LiveTargetPriceAgreementService.ILivePricing" /&gt; &lt;endpoint address="TpaNotification" binding="netTcpBinding" bindingConfiguration="tcpConfig" name="TCPTpaNotification" contract="PGFContracts.LiveTargetPriceAgreementService.ITargetPriceAgreementNotification" /&gt; &lt;host&gt; &lt;baseAddresses&gt; &lt;add baseAddress="net.tcp://localhost:8020" /&gt; &lt;/baseAddresses&gt; &lt;/host&gt; &lt;/service&gt; &lt;/services&gt; </code></pre> <p>these are the endpoints I dont want, the net.tcp ones are also generated correctly. Is it an IIS setting on the server?</p> <pre><code> &lt;endpoint address="http://xxx:8083/LiveTargetPriceAgreement/LiveTargetPriceAgreementService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ILivePricing" contract="LiveTPAService.ILivePricing" name="BasicHttpBinding_ILivePricing" /&gt; &lt;endpoint address="http://xxx:8083/LiveTargetPriceAgreement/LiveTargetPriceAgreementService.svc" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITargetPriceAgreementNotification" contract="LiveTPAService.ITargetPriceAgreementNotification" name="BasicHttpBinding_ITargetPriceAgreementNotification" /&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload