You have to give base uri as base address in wcf service. The relative address will be in your endpoint. One more thing which you have to note is you can have only one base address per binding/protocol.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)