in reply to Perl Web Service

How about a regex? Something like this:
$resp =~ s/<\/*c-gensym3>//gxms
NB that this is very much untested, though.