Help for this page

Select Code to Download


  1. or download this
    use SOAP::Lite;
    my $client = SOAP::Lite->new;
    ...
    
    my $code = $client->service($WSDL_URL);
    my $result = $code->someMethod( $someParam );
    
  2. or download this
    Possible SOAP version mismatch: Envelope namespace http://schemas.xmls
    +oap.org/wsdl/soap/ was unexpected. Expecting http://schemas.xmlsoap.o
    +rg/soap/envelope/.
    
  3. or download this
    my $soap = SOAP::Lite
             ->uri($uri)
    ...
             ->on_action( sub { return $uri . '/' . $method } );
    
    my $result = $soap->$method( SOAP::Data->name( someParam => $some_valu
    +e ) );
    
  4. or download this
    use SOAP::Lite ( +trace => 'all', readable => 1, outputxml => 1, );