+ Start a Discussion
salesforcequestions123salesforcequestions123 

List declaration for wsdlto apex code

Hi All

 

I have converted a wsdl to apex code in which all methods are woking but the methods that have array values are giving a html response instead of soap response.

 

How to declare a error

 

here scorecard is an double list but i am getting html reponse can some one tell me any mistake in my code

double[] newlist=new double[]{3223};
String SecurityCode='.................................................';
double[] ScorecardIDs=newlist;
as3 = new prophecyconnect.ProphecyConnect_cfc();
string assesstypes=as3.ArchiveScorecards(SecurityCode,ScorecardIDs);
system.debug('...................'+assesstypes);
return null;
}