You need to sign in to do that
Don't have an account?
sduda
APEX WebService - Valid Parameters?
I am trying to create a APEX code class with a method defined as a WebService. What are the valid parameter types that I can pass to this method? I tried using a Set, but it says that it's not a valid parameter type (It doesn’t give this error if the method isn't a WebService). Are only primitive data types valid? Is it possible to pass a Set of primitive data types?
Sets & Maps are not supported because there's no standard SOAP serialization for these programatric structures.
http://www.salesforce.com/us/developer/docs/apexcode/salesforce_apex_language_reference.pdf