public Test2ServiceTests(ProtocolVersion protocolVersion) { /* * test server is a `hessian-test.jar` * downloadable here: * http://www.java2s.com/Code/JarDownload/hessian/hessian-test.jar.zip * OR http://hessian.caucho.com/#Java */ _service = new HttpClient() .HessianService <ITest2Service>( //new Uri("http://localhost:8080/hessian/test2"), new Uri("https://nhessian-hessian-test.herokuapp.com/hessian/test2"), TypeBindings.Java, protocolVersion); }
public TestController(ITestService testService, ITest2Service test2Service) { _testService = testService; _test2Service = test2Service; }
public TestService(ITest2Service test2Service) { _test2Service = test2Service; }