[Xml-compile] Use of uninitialized value $maxmsgs

Theo Bot theo.bot at proxy.nl
Thu May 30 11:49:04 GMT 2013


Mark,

The fix worked partially. I fannly made this, but I think it could be
lesser:
$self->{XCSDA_conn_opts} =3D
      { expires  =3D> ($args->{client_timeout}  ||  30)
      , client_timeout  =3D> ($args->{client_timeout}  ||  30)
      , maxmsgs   =3D> ($args->{client_maxreq}   || 100)
      , reqbonus =3D> ($args->{client_reqbonus} ||   0)
      , postprocess     =3D> $args->{postprocess}
      };

maxreg should be maxmsgs, and expires, maybe, should be client_timeout.

Theo




On Thu, May 30, 2013 at 1:45 PM, Mark Overmeer <mark at overmeer.net> wrote:

> * 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} =3D
> > >  -    { client_timeout  =3D> ($args->{client_timeout}  ||  30)
> > >  -    , client_maxreq   =3D> ($args->{client_maxreq}   || 100)
> > >  -    , client_reqbonus =3D> ($args->{client_reqbonus} ||   0)
> > >  +    { expires  =3D> ($args->{client_timeout}  ||  30)
> > >  +    , maxreq   =3D> ($args->{client_maxreq}   || 100)
> > >  +    , reqbonus =3D> ($args->{client_reqbonus} ||   0)
> > >       , postprocess     =3D> $args->{postprocess}
> > >       };
>
> Answer: see manual XML::Compile::SOAP::Daemon
>
>   $daemon->operationsFromWSDL($wsdl, ...
>     , callbacks =3D> {sayHello =3D> \&sayHelloHandler}
>    );
>
> Or
>
>   $daemon->addHandle(sayHello =3D> SOAP11 =3D> \&sayHelloHandler);
> --
> Regards,
>
>                MarkOv
>
> ------------------------------------------------------------------------
>        Mark Overmeer MSc                                MARKOV Solutions
>        Mark at Overmeer.net                          solutions at overmeer.net
> http://Mark.Overmeer.net                   http://solutions.overmeer.net
>
>


-- =

Met vriendelijke groet,

Theo Bot
Network Management Engineer
Website: http://www.proxy.nl
LinkedIn: http://www.linkedin.com/in/theobot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/xml-compile/attachments/20130530/3e=
24feb1/attachment-0001.htm


More information about the Xml-compile mailing list