Not sure what I did but at least its not giving the "NullPointerException" anymore.
*Qualification is:* SOAP::Data->name(Qualification)->value("'Modified_Date' >=\"09\/24\/2008\"") I am now getting the following errors-- *Fault :ERROR (4558): Qualification line error; Faultcode :soapenv:Server.userException* and sometimes *Fault :ERROR (302): Entry does not exist in database; Faultcode :soapenv:Server.userException* Any ideas? PS: Ignore the ARSPERL in the subject line..its just a SOAP webservice consumption call. -- Thanks, Jason On Wed, Oct 13, 2010 at 5:56 PM, Jason Alexander <jaseon.alexan...@gmail.com > wrote: > Hi List, > > ARS 7.1p8 > MT 7.1p8 > > I am trying to consume a webservice via ARS PERL (written in EPIC IDE) > using Activestate PERL installed on my win xp sp2 laptop. I have installed > SOAP::Lite package and Crypt::SSLeaY package for SOAP calls over HTTPS. > > Here is the code -- > > =================== > > use SOAP::Lite; > my $username = 'xxx'; > my $password = 'xxx'; > > my $proxy='https://<MT server>/ars/services/ARService?server=<APP > SERVER>&webService=<WS NAME>'; > my $uri = "<WS NAME>"; > > my $soap = new SOAP::Lite > proxy=>$proxy, > uri=>$uri, > readable=>'1', > autotype=>0; > > my $header = SOAP::Header->name('AuthenticationInfo' => > \SOAP::Header->value( > SOAP::Header->name('userName' => $username)->type(''), > SOAP::Header->name('password' => $password)->type(''), > ) > ); > > @data = ( > SOAP::Data->name(Qualification)->value("'Modified_Date' > >=\"09\/24\/2008\"") > > $res=$soap->OpGetList($header,@data); > > =================== > but I am getting the following error when I try running this program: > > *Fault :java.lang.NullPointerException > SOAP::Data::DESTROY: () > SOAP::SOM::DESTROY: () > Faultcode :soapenv:Server.userException* > > The OpGetList method is configured to accept a query string and return the > result. > User has the proper privileges to view the form in question & query for > records. > > Can anybody help? > > -- > Thanks, > Jason > > _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug10 www.wwrug.com ARSlist: "Where the Answers Are"