Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

"The string ' ' is not a valid Boolean value".

All,

I am trying to consume a webservice from teh ES workplace. I used

Ingo Sauerzapf's document "How to consume ES webservices with Microsoft Visual Studio" and loved it. It was a great starting point. prior to this I had struggled through consuming an ES webservice with issues like deserialization etc. But after reviewing the article/blog/document - I was able to solve many of my problems instantly.

However, I have an unresolved issue dealing with "Boolean" values.

I am getting

" the string ' ' is not a valid Boolean value"

error in my code. When I try to consume this with ABAP editor I do not have a problem. Upon further investigation I see that within SAP we have the Data Domain for boolean as 'XSDBOOLEAN' with values "X-True and ' '-False". How do I resolve this with MS Visual Studio because we only have data type "BOOL" ?

Thanks for your help in advance.

Naresh.

Not what you were looking for? View more on this topic or Ask a question