Last post Jun 27, 2012 08:58 AM by tahazubairahmed
Jun 21, 2012 09:35 AM|tahazubairahmed|LINK
i want to call the NET TCP service in browsers (Exmaple: net.tcp://localhost/Services/Service.svc)
After this i want to call this service at client end
I am successfully upload the service in IIS using (works with BasicHTTPBinding but not work with NETTCPBinding)
Further i am also set the following things
but unable to browse the net.tcp service on browser
here is a service config file
<service name="Service" behaviorConfiguration="MyBehav">
<!--<endpoint name="WCFHTTPBinding" address="" contract="IService" binding="basicHttpBinding" bindingConfiguration="portSharingBinding" />-->
<endpoint name="WCFNETTCPBinding" address="" contract="IService" binding="netTcpBinding" bindingConfiguration="portSharingBinding"/>
<add baseAddress="net.tcp://localhost:808/Services/Service.svc" />
<binding name="portSharingBinding" portSharingEnabled="true"/>
Jun 21, 2012 09:56 AM|Mudasir.Khan|LINK
in IIS when you click on the application does it show you the link to browse with net.tcp ? meaning its configured successfully .
whats the error you are getting ?
Jun 21, 2012 10:22 AM|tahazubairahmed|LINK
It browse only when i set
When i use basicHttpBinding binding in endpoint instead of netTcpBinding
While if i Add / Change the binding name basicHttpBinding to
netTcpBinding it gives me error.
Could not find a base address that matches scheme net.tcp for the endpoint with binding NetTcpBinding. Registered base address schemes are [http].
Further if i also change the baseAddress="net.tcp://localhost/"
it remains give me the same error
Note: All the changes i made in Service Config file
Jun 26, 2012 09:15 PM|Syed Aoun Ali Naqvi|LINK
when You calling the service references is there any error??? or it just show error after upload in IIS???
Jun 27, 2012 08:58 AM|tahazubairahmed|LINK
Thanks to all of your reply
Finally i resolve my problem i.e. Enable the Protocols in IIS http,net.tcp must be set in MyWebName instead of Default Website Advance settings