line 10 is the soap thing, right? I don't know about SOAP. But, I know a little bit about debugging.
And turn on SOAP::Lite debug mode.. there might be one.. use SOAP::Lite +trace; ?
Looks like you have chained method/class calls. Maybe you can break it up... instead of
Something likeprint SOAP::Lite -> proxy('http://homepages.feis.herts.ac.uk/~123456/cgi-bin/policy.c +gi') -> uri('urn:policy') -> checkPolicyPrice($policyCode,$date) -> result;
use Carp; my $s = new SOAP::Lite +trace; # not sure if this goes on the use stat +ement or the optional constructor method $s->proxy('http://homepages.feis.herts.ac.uk/~123456/cgi-bin/policy.c +gi') or confess; $s-> uri('urn:policy') or confess; $s-> checkPolicyPrice($policyCode,$date) or confess; my $output = $s-> result or confess; print $output;
That may help track down the problem.
In reply to Re: Testing .pl, .pm, .cgi work together
by leocharre
in thread Testing .pl, .pm, .cgi work together
by vebram
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |