in reply to pb with Soap::lite
You should start by creating the service object and then call the methods you want, and that are available on the contract (WSDL). In your example you are not showing what method you are calling.
#!/usr/bin/perl use strict; use warnings; use SOAP::Lite; my $service = SOAP::Lite -> service('http://url.wsdl'); # now call the login (?) method on the remote service # I am assuming the method you are attempting is Login my $tab = $service->call('Login' => @params_to_login);
As a suggestion, turn on debugging mode (use SOAP::Lite +trace => qw(method trace debug);) so that you can see the messages that are being passed between your client and the service, and also use Data::Dumper to explore the results you get from the method calls.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: pb with Soap::lite
by manuds (Initiate) on Feb 21, 2008 at 08:03 UTC | |
by olus (Curate) on Feb 21, 2008 at 12:07 UTC | |
by manuds (Initiate) on Feb 21, 2008 at 17:31 UTC |