on 01-18-2007 6:37 AM
Hi folks,
is it possible to create in the XI mapping for a string the value <b>null</b> and not an empty string like "". It is necessarily for the Webservice over the soap adapter.
Thanks for answers
Johann
Hi,
Simple, just do not map the target node.
Regards,
Jai Shankar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Johann,
Make sure the min. occurance of the target node is 0. If you do not map the field it will not throw an error. It will throw an error only if the min occurance is equal to or greater than 1.
@Shabz,
I guess Mapping to a string constant "null" is not the same as null. Pls correct me if I am wrong.
Regards,
Jai Shankr
Hi Jai,
the problem is the structure should be dynamically. when i get no value for this elem I send <b>NULL</b> not "NULL" (you said ist correct) to the WS over XI. But when I get an value for this elem i will send the value to the Webservice.
So i can't take the frequency 0 only 0..1 but it throw an error in this composition.
Regards Johann
Hi,
You have to map the target element, otherwise it will give you an error.
You can map the target element with the constant(null). So it will give you the value null irrespective of your input. The 'null' value you get as the output is the String null. Its not the actual null.
Regards,
Sudheer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if i understood you correctly, then you can map a constant with the value <b>null</b> to the required field.
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.