On Fri, Aug 18, 2006 at 09:44:47AM -0500, Michael Jensen wrote:
> I am running into a weird problem moving from a plain perl script to
> putting the code into a mason page when using Google's search API,
> and need some ideas.
>
> Every time I run the mason page I get $results being undef.
> <%init>
> my $google_key='insertyourapikeyhere';
> my $google_wdsl = "/pathtofolderwithwsdlfile/GoogleSearch.wsdl";
> use SOAP::Lite;
> my $query = $keyword;
> my $google_search = SOAP::Lite->service("file:$google_wdsl");
Have you double/triple/quadruple-checked that that is successful?
Maybe the user the web server is running under, has no access to this
file (or the directory)?
Otherwise I would suggest to turn on SOAP::Lite debugging with
use SOAP::Lite +trace ....
and to tail -f into error_log (guessing).
\rho
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users