on 07-06-2008 1:17 PM
hello experts
what is the name of the function in the mapping of RFC to WS, that if the RFC return in the attribute an empty string, I will not pass to the WS anything (the attribute will not pass to the WS), and if the RFC deliever something, it will pass the attribute.
for example - 2 scenarios:
RFC sends
<a>
<last name>gold</last name>
<name>kfir</name>
</a>
WS will recieve
<a>
<last name>gold</last name>
<name>
<part>bcd</part>
</name>
</a>
WS recieve
<a>
<last name>gold</last name>
<name>kfir</name>
</a>
WS will recieve
<a>
<last name>gold</last name>
<name>
<part>bcd</part>
</name>
</a>
scenario 2:
RFC sends
<a>
<last name>gold</last name>
<name>kfir</name>
</a>
WS will recieve
<a>
<last name>gold</last name>
<name>
<part>bcd</part>
</name>
</a>
WS will recieve
<a>
<last name>gold</last name>
</a>
Thanks for the help
Kfir
Hi,
You can use the condtitional mapping.
If you get the attributes then you can pass it to Web Service else pass null value..ie.e nothing will get passed. Make the occurance of those fields as optional.
Thanks
swarup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
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.