Hi Matthew,

I think this should do the trick:

* Matthew Horsfall (alh) ([email protected]) [151210 14:33]:
> my $svc = XML::Compile::WSDL11->new($file, prefixes => \%prefixes);
> $svc->compileCalls();

  +  my $ua = LWP::UserAgent->new(keep_alive => 1);
  +  $svc->compileCalls(user_agent => $ua);
> 
> my $res = $svc->call(...)

Calls are compiled the first time they are used, or when you explicitly
use compileCalls()    [call that before your daemon starts forking, if
this is in an daemon]

Does that work?
-- 
Regards,
               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       [email protected]                          [email protected]
http://Mark.Overmeer.net                   http://solutions.overmeer.net


_______________________________________________
Xml-compile mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/xml-compile

Reply via email to