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


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


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


Regards
rax227
Posted

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



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