locked
issue with relative listen URI on the endpoint RRS feed

  • Question

  • How to specify Relative Uri, Listen uri, base address in web.config..........i have one Virtual Directory called "SFDE.WebServices" and i have 14 WCF Services under there and i create folder for each directory and in that i have a SVC File......so absolute path=http://localhost/SFDE.WebServices/Foldername/Filename.SVC so i need to specify realtive uri so address property is empty

    So i need to know What i have to provide as a baseAddress property, listenUri, address, property

    here is my web.config

    <services>
       <service name="SFDE.ESS.Services.ESSManagmentService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/SFDEESS.svc" binding="basicHttpBinding" contract="SFDE.Services.Contracts.IESSService" />
       </service>
         
       <service name="SFDE.ESS.Services.LocationServices" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/LocationServices.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.ILocationServices" />
          </service>
         
       <service name="SFDE.ESS.Services.EmployeeService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/EmployeeService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.IEmployeeService" />
          </service>
         
       <service name="SFDE.ESS.Services.ExpenditureService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/ExpenditureService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.IExpenditureService" />
          </service>
         
       <service name="SFDE.ESS.Services.FareService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/FareService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.IFareService" />
          </service>
         
       <service name="SFDE.ESS.Services.BoardingLodging" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/BoardingLodgingService/BoardingLodgingService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.IBoardingLodgingProcess" />
       </service>
         
       <service name="SFDE.ESS.Services.FamilyService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/FamilyService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.IFamilyService" />
          </service>
         
       <service name="SFDE.ESS.Services.OtherExpenseService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/OtherExpenseService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.IOtherExpenseService" />
          </service>
         
       <service name="SFDE.ESS.Services.DepartmentService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/DepartmentService/DepartmentService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.IDepartmentService" />
          </service>
         
       <service name="SFDE.ESS.Services.LeaveRequestService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/LeaveRequestService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.ILeaveRequestService" />
          </service>
         
       <service name="SFDE.ESS.Services.LeaveBalanceService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/LeaveBalanceService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.ILeaveBalanceService" />
          </service>
         
       <service name="SFDE.ESS.Services.TravelMasterService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/TravelMasterService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.ITravelMasterService" />
          </service>
         
       <service name="SFDE.ESS.Services.ServiceDeskService" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/ServiceDeskService.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.IServiceDeskService" />
          </service>

       <service name="SFDE.ESS.Services.Commons" behaviorConfiguration="serviceBehavior">
        <endpoint address="http://localhost/SFDE.WebServices/Commons/Commons.svc" binding="basicHttpBinding" contract="SFDE.ESS.Services.Contracts.ICommonsService" />
          </service>
      </services>


    Manish K. Bhalodi
    Monday, December 12, 2011 12:13 PM

All replies

  • This is the Sync Framework Developer forum. you might want to post this on the WCF forum.
    Tuesday, December 13, 2011 8:15 AM