1

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);
1
  • If you open up the generated Apex class soaNrccuaOrgOms, you should find an inner class called ArrayOfString, this itself will have members you need to set before passing your 'saleNumbers' variable to the TipOrderStatusUpdate method. Commented Jan 30, 2013 at 20:10

1 Answer 1

1

If you open up the generated Apex class soaNrccuaOrgOms, you should find an inner class called ArrayOfString, this itself will have members you need to set before passing your 'saleNumbers' variable to the TipOrderStatusUpdate method.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .