[Xml-compile] Use of uninitialized value $maxmsgs

Mark Overmeer mark at overmeer.net
Thu May 30 11:45:09 GMT 2013


* Theo Bot (theo.bot at proxy.nl) [130530 11:25]:
> I got the following response from the server:
>    <faultcode>SOAP-ENV:Server.notImplemented</faultcode>
> How do I add the SOAP11 procedure for sayHello?

Did the patch work?

> >    $self->{XCSDA_conn_opts} =
> >  -    { client_timeout  => ($args->{client_timeout}  ||  30)
> >  -    , client_maxreq   => ($args->{client_maxreq}   || 100)
> >  -    , client_reqbonus => ($args->{client_reqbonus} ||   0)
> >  +    { expires  => ($args->{client_timeout}  ||  30)
> >  +    , maxreq   => ($args->{client_maxreq}   || 100)
> >  +    , reqbonus => ($args->{client_reqbonus} ||   0)
> >       , postprocess     => $args->{postprocess}
> >       };

Answer: see manual XML::Compile::SOAP::Daemon

  $daemon->operationsFromWSDL($wsdl, ...
    , callbacks => {sayHello => \&sayHelloHandler}
   );

Or

  $daemon->addHandle(sayHello => SOAP11 => \&sayHelloHandler);
-- 
Regards,

               MarkOv

------------------------------------------------------------------------
       Mark Overmeer MSc                                MARKOV Solutions
       Mark at Overmeer.net                          solutions at overmeer.net
http://Mark.Overmeer.net                   http://solutions.overmeer.net




More information about the Xml-compile mailing list