Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

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);
share|improve this question
    
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. –  Andrew Fawcett Jan 30 '13 at 20:10

1 Answer 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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.