on 04-25-2014 12:46 PM
Hi All,
Iam trying to use value of a field from request message in response message in a sync File-JDBC Scenario.
Please help me out.
Thanks,
Lalitha.
I have got udf as below for this purpose. But I want use Standard Beans.
REQUEST MESSAGE
//write your code here
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keySource = DynamicConfigurationKey.create("http://axis.com/EPH","RequestValue");if (conf != null) {
}
return Txn_Id;
RESPONSE MESSAGE
//write your code here
//write your code here
DynamicConfiguration conf = (DynamicConfiguration)container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
DynamicConfigurationKey keySource = DynamicConfigurationKey.create("http://axis.com/EPH","RequestValue");You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lalitha,
I just tried the bean configuration in SOAP to RFC interface. I did the module configuration in RFC receiver adapter. I followed the same set up as its mentioned in the links provided in the above posts. I used GetPayloadValueBean and putPayloadValueBean. did not use Remove bean.And its working as expected.
In your case since its File- JDBC[Sync]-File you would need to configure the module parameters in the JDBC reciever channel. Which would put the required field value from the request into the response payload . And then you can map that accordingly further.
Thanks,
Jane
Thanks for your reply.I know how to do a Sync scenario. But I want use Value of a field from request in response using GetPayloadValueBean and putPayloadValueBean.
Regards,
Lalitha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thanks for your responses.
I have seen both the blogs,where they have mentioned how to use parameters. But not in adapter (Sender or receiver);
I have three Adapters. File Sender, JDBC Receiver and File Receiver.
Its a File to JDBC Sync Scenario.
If possiblle please provide some more info than provided in blogs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Laitha,
You need to use an Async/Sync bridge. In this wiki you have an example of FILE-RFC-FILE, similar that your scenario (changing RFC by JDBC): File-RFC-File(Without BPM) - Process Integration - SCN Wiki
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
See the following link
BR,
Anirban
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.