CAM-SOAPApp

 view release on metacpan or  search on metacpan

t/server.t  view on Meta::CPAN

   {
      die "Fork error...\n";
   }
   
   pass('forked off a server daemon process, waiting 2 seconds');
   
   sleep 2; # wait for server
   
   require IO::Socket;
   my $s = IO::Socket::INET->new(PeerAddr => "localhost:$PORT",
                                 Timeout  => 10);
   ok($s, 'server is running');
   if ($s)
   {
      close $s;
   }

   my $som;
   my $result;
   my $uri = 'http://localhost/Example/Server';
   my $soap = SOAP::Lite->can('ns') ? SOAP::Lite->ns($uri) : SOAP::Lite->uri($uri);

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.318 second using v1.00-cache-2.02-grep-82fe00e-cpan-fdf144b69116 )