Re: [soaplite] Denied access to method ...
- Cédric BOUFFLERS wrote:
>HelloYes I suspected something like that.
>Your problem looks like mod_perl namespaces/packages name collisions.
>With mod_perl you have to be aware of package name collision. Mod_perl is
>running all your script under the same PERL environment and thus they also
>share the same symbols and package name tables. Sometimes this lead to weird
>results if in 2 different projects and directories you have 2 packages with
>the same namespace and package names. Mod_perl will always use the first
>There is a quite well explained article on that topic :
>I could not figure out any pretty way to solve this out yet. I guess you
>have to rename all your namespace/package names including some sort of
>version numbers. That's what I plan to do in my cases although it will not
>If you have any idea to solve this problem in a fast and pretty way other
>than renaming all the namespaces/packages I'd appreciate a lot :-)
>Hope this helps.
>De : firstname.lastname@example.org [mailto:email@example.com] De la part
>de Kiffin Gish
>Envoyé : mercredi 5 octobre 2005 15:23
>À : firstname.lastname@example.org
>Objet : [soaplite] Denied access to method ...
>I have created a simple client and server Perl arrangement for
>SOAP::Lite using the sample code presented on the www.soaplite.com web
>I use the Apache::Registry example for mod_perl and it seems to work
>most of the time.
>However, I regularly run into the following problem on the client side:
>Fault: code='SOAP-ENV:Client', string='Denied access to method (ping) in
>class (Billing) at /usr/local/lib/perl5/site_perl/5.8.4/SOAP/Lite.pm
>If I restart the apache server, it starts working again but after awhile
>the same problem pops up.
>Any ideas what is going wrong?
If I switch over to a simple cgi-script called directly under cgi-bin
all works just fine.
I'm still pretty confused what you mean about namespace collisions. If I
delve deeper in the code I see that some hash value claims that the
given dispatch is still pending whereby a catch-all permission-denied
Gouda, The Netherlands