Click here to Skip to main content
15,884,836 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Here My code in app.config file

<?xml version="1.0" encoding="utf-8" ?>
       <service name="HelloService.HelloService" behaviorConfiguration="mexBehaviour">
         <endpoint address="HelloService" binding="basicHttpBinding" contract="HelloService.IHelloService"></endpoint>
       <endpoint address="HelloService" binding="netTcpBinding" contract="HelloService.IHelloService">
            <dns value="localhost" />
       <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange">
         <add baseAddress="http://localhost:8733/HelloService"/>
         <add baseAddress="net.tcp://localhost:8090/HelloService"/>
       <behavior name="mexBehaviour">
         <serviceMetadata httpGetEnabled="true"/>

i hosted my webservice in console app to make sure that whether it is working or not i displayed time in commandprompt it has return the time.

but when i try to generate wsdl document by using base address it is giving page cannot be found error why is that?

i have been trying to figure it out but can't how to solve it help me please


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900