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'
In reply to Problems creating a SOAP::Lite client by robert.heise
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |