in reply to SOAP::Lite geocode server
It'll show you all the data exchange, and might help you to track down the issue.use SOAP::Lite ( +trace => 'all', readable => 1, outputxml => 1, ); # +for debugging
I assume you're running the soap server under Apache, right? Check the error log, there's probably something there that'll be closer to the problem. Show us what it says if you can't figure it out.
Some additional suggestions:
my $result = $soap->call('geocode', $address); my $coords = $result->result; print "Latitude: ".$coords->{lat}."\n"; print "Longitude: ".$coords->{lon}."\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: SOAP::Lite geocode server
by rockneybot (Novice) on May 25, 2006 at 01:20 UTC | |
by rhesa (Vicar) on May 25, 2006 at 01:46 UTC | |
by rockneybot (Novice) on May 25, 2006 at 01:54 UTC | |
by rhesa (Vicar) on May 25, 2006 at 02:34 UTC |