Decoding data from XML into binary

I have a flow service in the Integration Server receiving an XML file which contains CDATA tags with UUEncoded binary files. Is there a way using webMethods to decode that string into a binary file, and then save it to the filesystem?