Loading ...
Sorry, an error occurred while loading the content.

6023Re: [soaplite] Limiting which methods can be used.

Expand Messages
  • rahed
    Sep 20, 2007
      On 9/19/07, Bill Moseley <moseley@...> wrote:

      > I'm using this to dispatch to my classes in my mod_perl module:
      > my $server = SOAP::Transport::HTTP::Apache->dispatch_to(
      > $app_dir,
      > @module_list,
      > );
      > sub handler { $server->handler(@_) }
      > Now, the modules in @module_list get loaded and their methods are
      > exposed -- and then can be accessed by a SOAP client.
      > What I'm missing is how to define *which* methods should be made
      > available. If the class is used outside of SOAP::Lite I'd like to make
      > all its methods available, but limit which methods can be called when
      > used by SOAP::Lite.

      From SOAP::Server doc:

      Alternately, when the value is a package-qualified name of a
      subroutine or method, that specific routine is made available. This
      allows the server to make selected methods available without opening
      the entire package.

    • Show all 2 messages in this topic