Regarding your web service function plumEval(String[] question, String[] answer), we have following questions:
1. If a caller inputs 14 digits(“01234567890123”) on the phone, which parameter will carry the input string? Can you give us a sample soap request in such a case which is similar with the soap in your Sample Webservice Source Code?
2. If we return accepted or rejected, is that case sensitive?
We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics
Input and output strings in Sample Webservice Source Code
IVR example of request
The input sting will be an element in the String[] answer array. For IVR example, if you have two questions for IVR, and the second one is the question accepting 14 digits, the request looks like this:
The return string is case sensitive.
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ns1="urn:http://survey.plumvoice.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ns2="urn:SampleWebservice" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns1:plumEval>
<question_texts SOAP-ENC:arrayType="xsd:string[2]" xsi:type="ns2:ArrayOfstring">
<item xsi:type="xsd:string">Some other question</item>
<item xsi:type="xsd:string">Text of question accepting 14 digits</item>
</question_texts>
<answers SOAP-ENC:arrayType="xsd:string[2]" xsi:type="ns2:ArrayOfstring">
<item xsi:type="xsd:string">Whatever was answered for question 1</item>
<item xsi:type="xsd:string">01234567890123</item>
</answers>
</ns1:plumEval>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Plum Support
http://www.plumvoice.com
http://www.plumvoice.com