cancel
Showing results for 
Search instead for 
Did you mean: 

calling a communication channel externally

sabyasachi_mohapatra3
Participant
0 Kudos

Hi Experts

I want to dynamically call the communication channel from bpm during runtime.For this i am using a transformation step and writing a java code to call the url.But how to pass the username and password required to login into the adapter framework.Below is the java code i am using :

URL channelurl = new URL("http://hostname:port/AdapterFramework/ChannelAdminServlet?party=&service=\"NP_DEV_3RD_POC1\"&channel=\"CC_Sender_File_FiletoMail\"&action=\"start\"");

URLConnection channelconn = channelurl.openConnection();

channelconn.connect();

Edited by: Sabyasachi Mohapatra on Nov 23, 2009 3:30 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

sabyasachi_mohapatra3
Participant
0 Kudos

ok