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






<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)