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

Re: [soaplite] FW: Access to SOM object within the server?

Expand Messages
  • Jay A. Kreibich
    ... Don t forget that this only works if the package myMethod has the package SOAP::Server::Parameters somewhere in its @ISA tree. This is what causes the
    Message 1 of 2 , Sep 30 5:28 AM
      On Fri, Sep 30, 2005 at 07:50:37AM -0400, Thomas Eden scratched on the wall:
      > On the server side, assuming myMethod is the called method:
      >
      > sub myMethod {
      > my $self = shift; # get rid of class/object reference
      > my $som = pop; # grab the SOAP::SOM object
      >
      > if ( $som->valueof( 'Body' ) ) {
      > ...
      > }
      > };

      Don't forget that this only works if the package myMethod has the
      package "SOAP::Server::Parameters" somewhere in its @ISA tree. This
      is what causes the SOM object to be appended to the function
      parameters.

      -j

      --
      Jay A. Kreibich | CommTech, Emrg Net Tech Svcs
      jak@... | Campus IT & Edu Svcs
      <http://www.uiuc.edu/~jak> | University of Illinois at U/C
    Your message has been successfully submitted and would be delivered to recipients shortly.