robert.heise has asked for the wisdom of the Perl Monks concerning the following question:
Im trying to create a SOAP::Lite client using SOAP::Lite. However i cant seem to get the syntax correctly. I need to create a server connection dynamically so I have to construct the proxy and uri parameters with an inpute variable. However, when i do that it either doesnt accept my variable or im getting a '' host INET error.
my $uri = "tcp://$server/ENG/AddressManagement/NameServerManagement"; my $proxy = 'tcp://rheise-linux:82'; my $result; eval { use SOAP::Lite +autodispatch => uri => $uri, proxy => 'tcp://rheise-linux:82', on_fault => sub { my( $soap, $res ) = @_; confess (ref $res ? $res->faultstring : ($soap->transp +ort->status, "\n")); };
When I substitute proxy => with proxy => $proxy I get the error message: proxy: transport protocol not specified
Anybody work with SOAP::Lite and passing in dynamic parameters verse strings?
thanks
2006-11-11 Retitled by g0n, as per Monastery guidelines
Original title: 'SOAP::Lite'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Problems creating a SOAP::Lite client
by Tanktalus (Canon) on Nov 10, 2006 at 19:34 UTC | |
by robert.heise (Initiate) on Nov 13, 2006 at 15:12 UTC | |
by Tanktalus (Canon) on Nov 13, 2006 at 15:50 UTC |