The following operations are supported. For a formal definition, please review the Web Services Description Language.
- string plumEval( string[] question_texts, string[] answers )
The WSDL that you use should specify only one function named "plumEval". This function will receive two arrays of strings: one with the text of each question, and the other with all the answers received on the current page. These arrays will be indexed in the same fashion, e.g., each array's elements will be ordered so that the questions correspond with the answers. This function should return a string, which will be saved as the response for the question calling this webservice. If there is a choice with skip logic that corresponds to this answer, it will be followed. ... This sample webservice returns "accepted" if any of the submitted answers were "yes", and "rejected" otherwise. To demonstrate that session cookies can be set and checked, after the webservice has "accepted" once, it will return "accepted again" for every future call within the same survey where any of the submitted answers were "yes".