![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. |
| |||||||
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Guest
Posts: n/a
| "This service has no endpoint defined" I have this error starting VS2008 debug on a WCF library project: "The service cannot be started. This service has no endpoint defined. Please add at least one endpoint for the service in config file and try again." I defined well contract, but it seems there is some error. My contract is: Namespace BLL <ServiceContract()> _ Public Interface ICrud Inherits ICrud(Of BusinessEntities.Company) End Interface End Namespace <ServiceContract()> _ Public Interface ICrud(Of t) <OperationContract()> _ <TransactionFlow(TransactionFlowOption.Allowed)> _ Function Create(ByVal item As t) As t <OperationContract()> _ <TransactionFlow(TransactionFlowOption.Allowed)> _ Sub Update(ByVal item As t) <OperationContract()> _ <TransactionFlow(TransactionFlowOption.Allowed)> _ Sub Delete(ByVal item As t) End Interface Then I have a class that implements that interface: Namespace BLL Public Class Crud Implements ICrud <OperationBehavior(transactionscoperequired:=True)> _ Public Function Create(ByVal item As BusinessEntities.Company) As BusinessEntities.Company Implements BLL.ICrud.Create ..... And, at least, my app.config has defined the endpoint: <endpoint address="Crud" binding="wsHttpBinding" bindingConfiguration="Transactional" contract="Fullnamespace.BLL.ICrud"> But I still have that error message. What is wrong? thanks |
|
|
| |