in reply to Re: SOAP::Lite - Insecure dependency in eval while running with -T
in thread SOAP::Lite - Insecure dependency in eval while running with -T

Hi, I tried the trick (added in new line 3363):

sub generate_stub { ... $self->{'_stub'} = $1 if $self->{'_stub'} =~ /^(.*)/; return $self->stub; }

and the error has changes . Now it's:

Code execution error: Method [ method_name ] returned error: Bad stub:  at /usr/lib/perl5/site_perl/5.8.8/SOAP/Lite.pm line 3669

which with moving one line bellow (adding the fix line) is:

my %services = %{$self->schema->parse(@_)->load->services};

So the fix won't do.

As for the code example, I'll try to make something later during the day, but it's not so easy because I have XMLRPC web service calling SOAP service. And like I said, when it's on the same machine (but running on two different instances) everything's fine. When I put this SOAP to other machine I get this.

Replies are listed 'Best First'.
Re^3: SOAP::Lite - Insecure dependency in eval while running with -T
by Anonymous Monk on Mar 25, 2011 at 14:22 UTC
    Well, sprinkle some warn statements here and there and figure it out :)