in reply to Translation of quotes

SOAP travels over XML. It must entify your quotes to keep them from interfering with the normal meaning of quotes in XML. You must just de-entify them on the receiving end. Try:
$command =~ s/"/"/g;
There are no doubt modules which will do this for you, but I haven't worked with them recently enough to remember which ones.

Phil