in reply to SOAP XML
Sounds like a reasonable direction. If you use SOAP::Lite, you can use it either standalone or via Apache. The distribution includes some sample code.