I have a local WCF service in my solution that I refer to. However, my controller class cannot get the service namespace? Traditionally, I would like to use svcUtil to write a wrapper class, but since it is internal, I could just add a “Service Reference”, touch the namespace, and then just call my service (ie var service = new QServiceReference.MyClass ();)
I can’t show the pictures, so here for my solution,
Solution -> Services Folder -> QService Folder QService Project -> Web Folder -> Zipporah.Queuing.Web (project) -> Services References -> QServiceReference -> Controllers Folder -> KioskProcessController
My class (KioskProcessController) looks like this:
using System.Web.Mvc; using Zipporah.Queuing.Web.QServiceReference; (ITS THIS NAMESPACE REFERENCE THAT DOES NOT WORK) namespace Zipporah.Queuing.Web.Controllers { public class KioskProcessController : ZipController { public ActionResult Index() { return View(); } public ViewResult Queue() { return View(); } public ViewResult PreAppointment() { return View(); } } }
Sorry if this structure is not clear (as already mentioned, I can not post photos)
Any tips or thoughts would be most appreciated?
source share