You need to sign in to do that
Don't have an account?
Jacobus
Add array list response from web service call
Hi,
I am trying to read the array list of a web service response.
Lets say this is my web service declaration.
I want to now put this in a map or list which I can read from?
Thanks
I am trying to read the array list of a web service response.
Lets say this is my web service declaration.
FAMExternalWebservice.SumbitReleaseFromThirdParty stub = new FAMExternalWebservice.SumbitReleaseFromThirdParty();and this is to call the web service method generated from the wsdl2apex
FAMExternalWebservice.ArrayOfGenericListItem insurers = stub.GetSalesForceInsurersDDL();This would return an arraylist of insurers.
I want to now put this in a map or list which I can read from?
Thanks
You can just iterate this "insurers" , and put it into a WRAPPER(https://developer.salesforce.com/page/Wrapper_Class) Collections, then you can use this WRAPPER collection for displaying it in VF or any other DML Operations and so on.