function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SaaniaSaania 

How to pass ArrayOfString value to apex function?

Hi, I have an apex class generated from a WSDL. There is a function in the class that takes an ArrayOfString object as input. For testing, how can I assign a value to a variable of type ArrayOfString?

I have the variable declared as:

 soaNrccuaOrgOms.ArrayOfString saleNumbers= new soaNrccuaOrgOms.ArrayOfString();

and the function is called as:
 Boolean result = obj.TipOrderStatusUpdate(saleNumbers);

Thanks,
Saania