You need to sign in to do that
Don't have an account?
Apex to wsdl arrays giving errors
Hi All
I am getting response to these classes in soap format and everything is fine
public pagereference GetAssessmentTypes()
{
String SecurityCode='..............................................';
double ScorecardID=-1;
double DepartmentID=4994;
as3 = new prophecyconnect.ProphecyConnect_cfc();
string assesstypes=as3.GetScorecard(SecurityCode,ScorecardID);
system.debug('...................'+assesstypes);
return null;
}
but getting error for these
public pagereference UnarchiveScorecards()
{
string[] addlist1=new string[]{'1212'};
String SecurityCode='.................................................';
string[] ScorecardIDs=addlist1;
as3 = new prophecyconnect.ProphecyConnect_cfc();
string[] userupdateresponse=new string[]{as3.UnarchiveScorecards(SecurityCode,ScorecardIDs)};
system.debug('...................'+userupdateresponse);
return null;
}
here there is an array to send so i took an array and sent the request for which i am getting html response instead of soap how to resolve the issue
for all the array elements i am getting the same isue and working fine for non array classes