简体   繁体   中英

How to leave whitespace in xml element in soapUI groovy

I'm trying to insert nodes with whitespace values into my SoapUI request. When I try to do so, SoapUI removes the whitespace from my value, leaving me with empty tags in my xml for the request. It looks like when I want it to look like . I turned off "strip whitespaces" and "pretty print," but still cannot get whitespace values into my elements in the soap request. Can anyone help me figure out why this is?

Thanks.

I got this to work. I used unicode in the input csv file (\  for a space) and it was correctly interpreted by the groovy script an input into my xml request in soapUI

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM