wsdl-viewer icon indicating copy to clipboard operation
wsdl-viewer copied to clipboard

the xsl not follow the second imported xsd to analyse input message...

Open mcarbonneaux opened this issue 1 year ago • 2 comments

in this type of webservice soap, your xsl not follow (but detect the fact we have imported xsd) the imported xsd to print input/ouput message.

myxsd2.xsd:

...
<xsd:element name="oprequest">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="fieldname" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
...

mywsdl.wsdl:

...
<wsdl:types>
<xsd:schema>
<xsd:import namespace="myns" schemaLocation="myxsd1.xsd" />
<xsd:import namespace="myns" schemaLocation="myxsd2.xsd" />
</xsd:schema>
</wsdl:types>

<wsdl:message name="oprequest">
<wsdl:part element="tns:oprequest" name="oprequest" />
</wsdl:message>

<wsdl:operation name="myoperation">
<wsdl:input message="tns:oprequest" name="oprequest" />
</wsdl:operation>
...

they generate operation like that :

myoperation type oprequest

and at the end print the imported xsd:

Imported Schema myxsd2.xsd

mcarbonneaux avatar May 25 '23 20:05 mcarbonneaux

Thanks for the report. Yes, the WSDL accepts only one import, all the others are ignored.

tomi-vanek avatar Jul 09 '23 10:07 tomi-vanek

how to add the hability to have more level of import ? beceause the majority of my wsdl have 2 level at minimum...

mcarbonneaux avatar Jul 12 '23 15:07 mcarbonneaux