Siebel을 사용하여 채널 만들기
이 섹션에서는 XML 메시지를 제공하고 사용하여 Siebel과 직접 메시징을 위한 채널을 만드는 방법을 보여 줍니다.
//create a channel factory, capable of sending a request to Siebel and receiving a reply (IRequestChannel)
IChannelFactory<IRequestChannel> factory = binding.BuildChannelFactory<IRequestChannel>(new BindingParameterCollection());
//open factory
factory.Open();
//obtain a channel from the factory by specifying the address you want to connect to
IRequestChannel irc = factory.CreateChannel(address);
//open the channel
irc.Open();
//perform operations
…………
…………
…………
//close the channel
irc.Close();
//close the factory
factory.Close();
채널을 만든 후에는 해당 채널을 사용하여 Siebel에서 작업을 수행할 수 있습니다.
참고 항목
WCF 채널 모델을 사용하여 Siebel 애플리케이션 개발
WCF 채널 모델을 사용하여 Siebel 어댑터를 사용하여 비즈니스 구성 요소에서 운영 실행