http://www.perlmonks.org?node_id=1041350

jdudleyh has asked for the wisdom of the Perl Monks concerning the following question:

I have a script using XML::Compile (SOAP/WSDL 1.1) that is working fairly well. My only problem is, the connection is based on the SOAP address in the WSDL. I need the flexibility to change between different test servers. I've tried the following (amongst other things) to change the server without success:

my $call = $wsdl->compileClient ( operation=>'ServiceRequest', transport=>XML::Compile::Transport::SOAPHTTP->new ( address=>'http://new.server.name:18082/ServiceRequest' ), );

Overriding the value here generates a 404 Not Found.