in reply to Soap Formatting

I found some code for setting 'names' in the soap call, and tried:
import SOAP::Data 'name' || print "\n!Couldn't import!\n"; eval { $service = SOAP::Lite ->name('username' => 'user') ->name('password' => 'pass') ->service('http://server/file.asmx?WSDL'); }; #|| ($_); # $@ will have the error message, perldoc -f eval
But I get an error:
Can't locate class method "name" via package "SOAP::Lite" at script.pl line 98

This closer?

Replies are listed 'Best First'.
Re^2: Soap Formatting
by mda2 (Hermit) on May 18, 2006 at 02:45 UTC
    Try co correct your code...
  • use "call"
  • ->name isnīt a method of SOAP::Lite ...

    --
    Marco Antonio
    Rio-PM