on 07-15-2013 4:41 PM
All,
I have created a new project in NWDS.
Downloaded and imported the CommunicationChannelService wsdl in NWDS.
Generated Client web proxy (Web Services >> Generate Client)
Created a new package and a class called readchannel.
Now please let me know which method I need to call to read the channel information?
Do I need to use communication channel restricted class?
Hi,
To read all communication channels from intigration directory you can use two operations from the channel webservice. First you use query service to read all communication channel names along with its component name and its party name.
Then after you get all the channel names from query service, use the read operation and provide the output of the query operation as input to read serivce to get complete details of each channel.
CommunicationChannelRestricted class is used for updating a communication channel in Integration directory. Since you are only intrested to read the channels, you dont need to use this class.
Thanks,
Anand
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anand,
Could you please explain in detail as to how to read the Communication Channel names. If possible could you give me the code. I'm successfully able to get the number of Communication Channels but was unable to read the names of the channels.
Here is the code:
public CommunicationChannels() {
serverPort);
try {
port = getPort();
catch (Exception e) {
public List query() {
new CommunicationChannelQueryIn();
new CommunicationChannelID();
port.query(queryIn);
return lMsgHdr;
}
Please provide me teh code to read the channel names.
Thanks,
Soundarya
Hi Vicky,
Go through below William Li's blog
Follow steps specified in blog , if you stuck some where ?let us know.
Regards
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.