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

Method Call

Expand Messages
  • joycecho1121
    I m trying to call a method example: FOO::Name- find() In my server, I call FOO but in my client I can t access any of the methods in FOO::Name. use SOAP::Lite
    Message 1 of 2 , Aug 5, 2003
    • 0 Attachment
      I'm trying to call a method example: FOO::Name->find()

      In my server, I call FOO but in my client I can't access any of the
      methods in FOO::Name.

      use SOAP::Lite +autodispatch =>
      uri => 'http//joyce.net',
      proxy => 'http://localserver/soap.cgi';


      my ($exist) = FOO::Name->find($domainname);

      in my SOAP.cgi, i call

      SOAP::Transport::HTTP::CGI
      -> dispatch_to('/home/joyce', 'FOO')
      -> handle;

      CAN SOMEONE PLEASE HELP?
    • Randy J. Ray
      ... Well, to begin with you are dispatching to FOO , and not FOO::Name . However, without more in the way of client and server code (and the FOO::Name class,
      Message 2 of 2 , Aug 6, 2003
      • 0 Attachment
        On 2003.08.05 08:44, joycecho1121 wrote:
        > I'm trying to call a method example: FOO::Name->find()
        >
        > In my server, I call FOO but in my client I can't access any of the
        > methods in FOO::Name.
        >
        > use SOAP::Lite +autodispatch =>
        > uri => 'http//joyce.net',
        > proxy => 'http://localserver/soap.cgi';
        >
        >
        > my ($exist) = FOO::Name->find($domainname);
        >
        > in my SOAP.cgi, i call
        >
        > SOAP::Transport::HTTP::CGI
        > -> dispatch_to('/home/joyce', 'FOO')
        > -> handle;

        Well, to begin with you are dispatching to 'FOO', and not 'FOO::Name'.
        However, without more in the way of client and server code (and the FOO::Name
        class, for that matter), it's hard to say any more than that.

        Randy
        --
        """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
        Randy J. Ray Campbell, CA http://www.rjray.org rjray@...

        Silicon Valley Scale Modelers: http://www.svsm.org
      Your message has been successfully submitted and would be delivered to recipients shortly.