<?xml version="1.0" encoding="utf-8"?>
<definitions xmlns="http://schemas.xmlsoap.org/wsdl/" name="SampleWebservice" targetNamespace="urn:SampleWebservice" xmlns:typens="urn:SampleWebservice" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"><types><xsd:schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:SampleWebservice"><xsd:complexType name="ArrayOfstring"><xsd:complexContent><xsd:restriction base="soapenc:Array"><xsd:attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/></xsd:restriction></xsd:complexContent></xsd:complexType></xsd:schema></types><message name="plumEval"><part name="question_texts" type="typens:ArrayOfstring"/><part name="answers" type="typens:ArrayOfstring"/></message><message name="plumEvalResponse"><part name="plumEvalResponse" type="xsd:string"/></message><portType name="SampleWebservicePort"><operation name="plumEval"><documentation> 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".  </documentation><input message="typens:plumEval"/><output message="typens:plumEvalResponse"/></operation></portType><binding name="SampleWebserviceBinding" type="typens:SampleWebservicePort"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="plumEval"><soap:operation soapAction="urn:SampleWebserviceAction"/><input><soap:body use="encoded" namespace="urn:http://survey.plumvoice.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="urn:http://survey.plumvoice.com" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding><service name="SampleWebservice"><port name="SampleWebservicePort" binding="typens:SampleWebserviceBinding"><soap:address location="http://survey.plumvoice.com/ws/sample-webservice.php"/></port></service></definitions>

