+ Start a Discussion

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);