는이 같은 서비스를 사용하여 내 웹 층 (S # arp는 아키텍처)에 SOAP 웹 서비스를 다시 IReportService 구현의?S # arp는 성 주입
감사합니다.
/// <summary>
/// The add application services to.
/// </summary>
/// <param name="container">
/// The container.
/// </param>
private static void AddApplicationServicesTo(IWindsorContainer container)
{
container.Register(AllTypes.Pick().FromAssemblyNamed("MyAssembly.ApplicationServices").WithService.FirstInterface());
}
여기이 당신을 도울해야하는 서비스
private readonly IDocumentManagementService _client;
public DocumentService(IDocumentManagementService client)
{
_client = client;
}
에서입니다 : 여기
나는 이런 식으로 뭔가를 시도했다. OK I 첨가했다 : 개인 정적 무효 AddWebTo (IWindsorContainer 용기) { container.Register ( AllTypes.Pick() .FromAssemblyNamed ("College.Web") .WithService.FirstInterface()); } 서비스 계층에 웹 서비스를 추가해야하는지/할 수 있는지 잘 모르겠습니다. – cs0815