I am working on a project using wcf. We have a running service which is hosted on IIS, Developement service during developement cycle.
However, in order to seperate business-logic I would like to supply a second service that the client can also connect to, but also this service should
be able to use our other service functionality.
What I had was an interface in a seperate project (contract), implementation in a different, plenty of functionality, and the proper web.config settings. To create the second service, I added a second interface into contract with same attribute as the first. Then I added another project to implement that interface and added an endpoint to my config. Service projects compile, no warnings/errors, starting both services as developent service also works, but I cannot get more than an errorpage using a browser to view the standard page "You have created a service" (or whatever the title). The first service answer with that page though.
Here´s the endpoint configuration, can anyone spot a problem?
The config file of the first service is a bit bigger, but the content of the system.serviceModel-Node is almost identically bar the namespaces and interface names.
greets and thanx.
123carstenPosted Oct 6, 2010, 6:12 PM
thanks for Your reply, but yes I´ve added proper references.
However, I solved the problem, can´t remember what it was but anyhow I since have change the system completly over.
I´m now making two services available at the same base address, and they reside whithin the same dll. The main problem
however had it´s root in yet another technology involved in the project, which is using spring.Net to inject and create our services
and various other instances within the services themselves.
greetings from Germany
carsten
Amit ChoudharyPosted Sep 27, 2010, 1:12 AM
Have you added the proper reference of the second service project where you implemented the contract?
and also after launching the host try to open the svc file into browser.
and please post the error details if you still faces it.