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

5479Exporting variables from server to the service script

Expand Messages
  • thelastcondor2
    Jul 7, 2006
      Hi, i'm wondering if it's possible, and if yes how, to export
      variables from the dispatching script, to the dispatched service,
      without go trought ENV.
      Something that look this way:
      The dispatching script

      use SOAP::Transport::HTTP;
      $VALUE={"x"=>"hello"};
      SOAP::Transport::HTTP::CGI
      -> dispatch_to('Demo')
      #make visible $VALUE to the dispatched script
      -> handle;

      The 'DEMO' script:

      package Demo;
      sub demo {
      $x=$VALUE{"x"};
      ....
      #return something
      }

      Thx
    • Show all 2 messages in this topic