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

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

Expand Messages
  • rahed
    ... 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
    Message 1 of 2 , Sep 20 1:13 PM
    • 0 Attachment
      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.


      --
      Radek
    Your message has been successfully submitted and would be delivered to recipients shortly.