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

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

Can you let us know what version of IS and patches installed you are using?

Hi Mark,

We are using IS version 6.1 and there are no patches installed.

Thanks,
Madhuri

Madhuri,
I would go out to Advantage and check out the latest patches for 6.1 assuming they are still supporting it. There have been numerous updates to the web services stack in IS over the past couple of years. I can tell you that this problem isn’t in the 7.1.X stack so if you can upgrade there are a lot of advantages to 7.1.X not just web services.

As a work around you can probably also edit the document reference and manually change the type for that array.

Thanks a lot Mark. Will check it out.