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

5270Re: [soaplite] Newbie help. Err: Can't call method "name" without a package or object

Expand Messages
  • Eric Bridger
    Mar 15, 2006
      Quite a few changes between .60 and .67. Try the changes in-line below.

      On Wed, 2006-03-15 at 06:53, sainttim1 wrote:
      > Hi!
      > I keep gettng the error:
      >
      > document/literal support is EXPERIMENTAL in SOAP::Lite at /Library/Per
      > +l/5.8.6/SOAP/Lite.pm line 2818.
      > Can't call method "name" without a package or object reference at /Lib
      > +rary/Perl/5.8.6/SOAP/Lite.pm line 2980.
      >
      > With the following Soap function:
      > sub soapGet(){
      > my $service = SOAP::Lite
      > -> service('http://ip/Info.asmx?WSDL');
      $service->want_som(1);
      > my $som = $service -> GetHospitalInfo();
      > # my $som = $service -> call;
      >
      > if ($som->fault) {
      > print "SOAP FAULT:\n";
      > print Dumper $som;
      > exit;
      > }
      > This code runs great on one box running Perl 5.8.1 and Soap Lite .60, and on the other I
      > keep getting the above error with Perl 5.8.6 and Soap Lite .67.
      > I originally wrote the code on 5.8.1 and Soap .60, and it was fairly troublefree. But porting
      > it to a new server to replace the old, with the latest perl and soap, has cause the above.
      > Any ideas?
      > Many thanks
      >
      >
      >
      >
      >
      >
      >
      >
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
    • Show all 4 messages in this topic