on 03-30-2018 9:13 AM
Dear Experts,
I'm trying to build a scenario in CPI that would insert a value from a Property file which i stored in src.main.resource package.
I'm looking into Externalized Parameters below screenshot. I'm trying to pass these values as endpoint to SOAP receiver. Please suggest if anyone have done this before.
Note: The endpoints has to be dynamically selected based on the input fields value for example ABC1, ABC2 and ABC3. I've to trigger different endpoints for each value here.
Regards,
Thouheed
Hi Thouheed,
First create a value mapping table with all the values. After that create a message mapping with input structure containing ABCXXX. In output you will get address corresponding to input value. Use this xpath value in content modifier to set it as header value. Use below blog , how to set dynamic address in soap adapter :
Message mapping you can create dummy one with input structure containing value ABCXXX and output with one field as Address.
Hope this is what you are looking for.
Thanks,
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ashish,
We understand what you're saying but here our requirement is quite different.
We need to fetch multiple address based on multiple values. For example ABC1 can be till ABC10001. This ABCXXX is a part of input payload. We are reading ti dynamically and as of now we are routing it as a mapping part fix value.
But real time we can not do this mapping change. That is the reason i'm approaching externalized parameters(property file) option. Please suggest.
Regards,
Thouheed
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.