Hey guys, I came across the following lines in Richard Monson-Haefel's book (at the end of Section 5.2), and got confused. It's about importing XML Schema in WSDL document. Hope someone may shed some light on this:
If you need to import an XML schema element, you should do so in the XML schema definition contained in the WSDL types element, using the standard XML schema import statement as described in Section 3.2.5. It's important to note that you cannot use the XML schema import statement to import an XML schema directly from the types element of some other WSDL document.BP
But what does the last sentence mean? Does it mean that I can not import the content inside the types section of another WSDL document?
Thanks! --Henry [ March 29, 2004: Message edited by: Henry Zheng ] [ March 30, 2004: Message edited by: Henry Zheng ]
Henry Zheng<br /> <br />I went numb when I learned to see.
posted 11 years ago
I believe that's a typo -- the <xsd:import/> element should only be allowed as a child to the top-level <xsd:schema/> element.