Your second example using the string element should work. If you know the schema of the XML that you are recieving, you can do the following.