wsdl-viewer
wsdl-viewer copied to clipboard
the xsl not follow the second imported xsd to analyse input message...
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
Thanks for the report. Yes, the WSDL accepts only one import, all the others are ignored.
how to add the hability to have more level of import ? beceause the majority of my wsdl have 2 level at minimum...