wsdl2html icon indicating copy to clipboard operation
wsdl2html copied to clipboard

Response Blank when more than 1 element

Open meemic-man opened this issue 2 years ago • 0 comments

When converting a WSDL that has methods with more than one response elements, it ends up putting them as parameters for the request.

Example:

<xsd:element name="getStuffResponse">
    <xsd:complexType>
        <xsd:sequence>
            <xsd:element name="Stuff" type="xsd:string"></xsd:element>
            <xsd:element name="More Stuff" type="xsd:string"></xsd:element>
        </xsd:sequence>
    </xsd:complexType>
</xsd:element>

Example 2:

<message name="NDFDgenResponse">
	<part name="dwmlOut" type="xsd:string"/>
	<part name="dwmlOut2" type="xsd:string"/>
</message>

In both cases, the elements will be listed under the request parameters instead of listed under the response.

meemic-man avatar May 07 '22 04:05 meemic-man