on 03-07-2010 12:37 PM
hello
I have an RFC2WS scenario. I have a problem that if the RFC will send an empty value, I would like nothing to be deliever to the WS and that this element will not pass on, other wise, if there is a data deliver from the RFC the data will be passed.
I thought to use mapwithdefault or exist, but always the WS recieve an empty string and the element exist.
is there a set function to use or any written function that anyone knows of?
(this suppose to be like xsi:null)
Thanks
Kfir
Hi,
you can try to put XSLT mapping as a second mapping and put xsi:nil
into all empty elements - code is here:
I never tested it but give it a try
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.
solved.
I made some functions that will make a demo of the situation. if the value is empty, the String in the WS will not be shown, other wise will show the value
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if the source node is coming in the structure ..map with default will not work..
may be u can compare the value in that node with a blank constant and if it is satisfied...u can deliberately send the mapping in error
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.