WSDL array data type declared in a concrete WSDL, the WSDL array in a SOAP Response will not be seen.

WSDL array data type declared in a concrete WSDL, the WSDL array in a SOAP Response will not be seen.

book

Article ID: KB0092700

calendar_today

Updated On:

Products Versions
TIBCO ActiveMatrix BusinessWorks -
Not Applicable -

Description

Description:
N/A

Issue/Introduction

WSDL array data type declared in a concrete WSDL, the WSDL array in a SOAP Response will not be seen.

Resolution

Check if the complex type "soapenc:Array" is valid (i.e., it does not contain invalid definitions.)

Example: If the concrete WSDL has the following definition, the array will not be seen. To resolve this, remove the line "<sequence/>" from the following and save the WSDL.

>>>>>>>>>>>>>>>>>

        <complexType name = "ArrayOfinqjoeiRow">

                <complexContent mixed
= "false">
                    <restriction base = "soapenc:Array">
                        <sequence/>
                        <attribute ref = "soapenc:arrayType" wsdl:arrayType = "xsdl:inqjoeiRow[]"/>
                    </restriction>
                </complexContent>

            </complexType>

>>>>>>>>>>>>>>>>>


As highlighted, the use of <sequence/> is illegal in an array definition. After removing this you will be able to see the array element.