perl - Why this code produces warning: Use of uninitialized value -


this code:

my $url = 'http://172.27.1.250:8080/x/services/xsoap'; $soap = soap::lite->new(      service=> 'http://172.27.1.250:8080/x/services/xsoap?wsdl',      proxy => $url ); $soap->autotype(0)->readable(1); $soap->ns('http://www.example.org/x/');  $som =  $soap->call('servicex',             soap::data->name('servicexrequest')->value($value)); 

generates following warning

use of uninitialized value $ns in string eq @ /home/user/perl5/lib/perl5/soap/lite.pm line 3396.

what should rid of without supressing warnings?

probably because soap::lite expecting $ns variable (an xml namespace identifier) have value, have not set.

your best course of action @ line 3396 , see going on there.

maybe it's bug in version soap::lite. have check rt queue module?


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -