on 02-12-2012 5:53 PM
Dear Experts,
I want to access udf value in multiple message mapping. Who to achive this scenario.
i look golable container- but it is the values that you want to read again when you next call any user-defined function in the same message mapping . But mine is multiple message mapping.
Thanks in advance
Regards,
Kumar
You might want to store the value in backend systems or database. If you do so, you can use Jdbc lookup or RFC lookup for multiple message mapping. That is one possible way. Another way is using fix values(value mapping) too.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First thanks for reply.
My scenario is following:
JDBC to SOAP and mail:
Fist validating the source value, if no error call SOAP, else send mail.
Currenty did:
create two mapping:
mapping1 : JDBC to SOAP -- validation the source value using UDF and jdbc lookup. If no error call SOAP. If any error want to store in some "common place" for access the error message
Mapping2: JBCD to Mail -- read the error message from "common place" and send the error message as boay of mail.
Am i doing correct way or is there any other good approch is available?
Thanks in advance.
Regards,
Kumar
Hi
>> *mapping1 : JDBC to SOAP -- validation the source value using UDF and jdbc lookup. If no error call SOAP. If any error want to store in some "common place" for access the error message
Mapping2: JBCD to Mail -- read the error message from "common place" and send the error message as boay of mail.* >>>
if there is any error u can store that message in file on PI system(a common place) and use that message while sending error message to mail.
Regards,
Gagandeep
Thanks for your reply,
currently i am using common place as one "oracle server table".
But what i feel is my current approch, may case performance issue. Becuse
mapping1:1) Creating connection in oracle database
2)insert into oracle table using udf.
mapping2:1) Creating connection in oracle database
2)read the oracle table using udf.
Is there any way to achive it in PI itself?
Is there any common place to store the values in PI itself?
Hi
>>Is there any way to achive it in PI itself?
According to my understanding you can store ur value in PI sever in simple file using FCC and read that file also using FCC and use further as u like
second option is u can store ur values in ztable of PI and the read that table when require by using FM.
regards
Hi,
>>>i look golable container- but it is the values that you want to read again when you next call any user-defined function in the same message mapping . But mine is multiple message mapping.
this is not possible
describe the scenario and we will tell you how to do it in another way
Regards,
Michal Krawczyk
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.