on 04-10-2007 1:37 PM
Hi there,
I have the following problem:
I get from a webservice over SOAP a null. In xml xsi:nil="true". How can i query this value.
I created this userdefined function. But it doesn't work.
if(allocateNewUidForInternalEmployeeReturn != null || allocateNewUidForInternalEmployeeReturn !="" || allocateNewUidForInternalEmployeeReturn !=" " )
return "1"; // response ok
else return "0"; // response not ok
Have anyone an idea. THX for answers.
Regards Johann
It'd be better if u posted both input xml and desired output.
Regards,
Henrique.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Henrique,
here is my response from the webservice wtih the null value:
....
<ns1:allocateNewUidForInternalEmployeeReturn xsi:type="xsd:string" xsi:nil="true" />
</ns1:allocateNewUidForInternalEmployeeResponse>
part with correct value
<ns1:allocateNewUidForInternalEmployeeReturn xsi:type="xsd:string">V489906</ns1:allocateNewUidForInternalEmployeeReturn>
</ns1:allocateNewUidForInternalEmployeeResponse>
now my question: how can i catch the null value in the xi-mapping
Regards Johann
User | Count |
---|---|
78 | |
9 | |
9 | |
7 | |
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.