on 06-22-2006 3:27 PM
Hi,
I need to implement an adaptermodule to create a SOAP-Header element. I use the SOAP Adapter (receiver) in this case with the flag "Not use SOAP env.) One element within this header element will be the URL of the Webservice with I declare in the Adapterconfig.
How can I access this config within a Adaptermodule or must I implement a modul parameter ?
Regards,
Gerald
Hi,
You can access the comm. channel parameters in the module.
here is the sample code:
cid = moduleContext.getChannelID();
ch =(Channel) LookupManager.getInstance().getCPAObject(CPAObjectType.CHANNEL,cid);
String dir = ch.getValueAsString("file.targetDir");
this is to get the value of target directory in file adapter module.
try something similarly.
hope this helps.
regards,
P.Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gerald,
Yes you have to implement the Adapter Module.
Thanks
Prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
96 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.