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

1051OO Perl and Soap...please help!

Expand Messages
  • bcase@telus.net
    Nov 28, 2001
    • 0 Attachment
      hello.

      I have created a soap server that serves out a class. how do i
      instantiate a class object on the client end and have access to the
      object methods.

      for example - i instantiate an object on the client end and call the
      object method "pop3Connect"....i get this error that it can find it
      #Can't locate object method "pop3Connect" via package "SOAP::SOM"
      it is looking in the wrong place.

      your help is much appreciated.
      Jeremy Aiyaduria

      _client.pl____________________________________________________________
      #!perl -w

      use SOAP::Lite;


      my $login = "####";
      my $pass = "###";
      my $smtphost = "##.##.##";


      my $soap = SOAP::Lite
      ->uri( 'http://localhost/SendRecieve' )
      ->proxy ('tcp://localhost:8080');

      my $Retrieve = $soap->SendReceive->new(
      Pop3Login => $login,
      Pop3Pass => $pass,
      Pop3Host => $smtphost
      );

      $Retrieve->pop3Connect();


      #Can't locate object method "pop3Connect" via package "SOAP::SOM" at
      #D:\backup\cl
      #ient.pl line 38.
    • Show all 2 messages in this topic