on 12-16-2008 6:17 PM
Hi Experts,
My Target Structure is 1..unbounded.
I need to check a condition
say if ABC equals 5, then I need to create that Node.
No else condition is there.
If i use
if ABC equals 5 then Pass the values to the target structure
else
some constant is mapped to target structure, empty node is created which is not required.
Please help me..
Regards,
SPK
Thanks a lot Experts
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pooja,
My requirement is
My Target Field's occurence is 1..unbounded.
If PARVW of source structure is WE,
I need to send the values "QQERREEGGFFGGF" to the Target FIELD "DATA32"
I used both if and IfWithoutElse.
If I use IF, an empty node is created, which should be avoided.
If I use IfWithoutElse, SUPPRESS values(for those condition is not met) occurs, due to this Check xml instance in Target structure error occurs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am sorry, but I still dint get the clear picture of your source and target structure.
As mentioned in my last response, you should be able to get your problem done by using createif and ifwithourElse. Try to change the context and see if it will fix your problem.
If you can provide the sample input xml and the expected target xml; it will be more clear to understand your requirement.
Thanks,
Pooja
Hi Sudhir,
Pls understand my requirement..
If i use (IF WITH ELSE)
if ABC equals 5 then Pass the values to the target structure
else
some constant is mapped to target structure, empty node is created which is not required.
if i use (IF WITHOUT ELSE)
Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
an error is displayed, since the condition fails somewhere.
Regards,
SPK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The error is showing that there is some inconsistency in the occurence of the source and target field you are trying to map.
You should be able to solve your problem using IfwithoutElse and createIf.
If you provide the your input and output structure in detail, we will be able to help you.
Thanks,
Pooja
Simply use ifWithoutElse boolean function.
thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use CreateIf functionality provided in graphical Mapping
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii
regards
Ganga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.