SOAP-ENC:Array in Response

Hi All,

I generated a service calculateDeposit using the wsdl attached here. I used web connector on the provided wsdl and then created a flow service based on it.

The problem is, eventhough the wsdl has specified doc/literal style, in the response returned from the service, i have soap encoded array types being used. This gives me the below error in my code:

Error: SOAP 1.1 fault: SOAP-ENV:Client [no subcode]
"Validation constraint violation: data type mismatch SOAP-ENC:Array in element "

The response returned from the flow service is below:

<?xml version="1.0" encoding="UTF-8" ?>

<SOAP-ENV:Envelope
xmlns:SOAP-ENV=“http://schemas.xmlsoap.org/soap/envelope/
xmlns:SOAP-ENC=“http://schemas.xmlsoap.org/soap/encoding/
xmlns:xsd=“http://www.w3.org/2001/XMLSchema
xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance
SOAP-ENV:encodingStyle=“http://schemas.xmlsoap.org/soap/encoding/”>
SOAP-ENV:Body
<ser-root:calculateDepositResponse xmlns:ser-root=“http://localhost/OUK_ENDUSER_CSS.Services” SOAP-ENC:root=‘1’>
<tns1_x003A_calculateDepositResponse xsi:type=“sc1:calculateDepositResponse” xmlns:sc1=“http://localhost/OUK_ENDUSER_CSS.Services”>






<ArrayOfFacility3Item xsi:type=“SOAP-ENC:Array” SOAP-ENC:arrayType=“sc1:Facility3[1]”>

IPTV
100
1







wM
CSS
123456
CSS
CSS
2009-03-30 12:00:00



</tns1_x003A_calculateDepositResponse>
</ser-root:calculateDepositResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Is there anyway to ensure response doesn’t contain these arrays? Any help is much appreciated. Thanks.
calculateDeposit_try.wsdl (14.3 KB)