Trouble with changing the end-point when calling services using stubs
- I generated a custom SOAP::Lite client using stubmaker.pl and an
appropriate WSDL file.
What I want to do is to override the endpoint at runtime. I tried:
my $client = new GeneratedStub;
$client->servicecall(); # etc.
but it insists on using the endpoints that it saw in the WSDL. Is
there any way to override this behavior? Should what I'm trying even
be supported? Am I doing something wrong?