Forums Register Login

Question about importing XML Schema in WSDL

+Pie Number of slices to send: Send
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 ]
+Pie Number of slices to send: Send
I believe that's a typo -- the <xsd:import/> element should only be allowed as a child to the top-level <xsd:schema/> element.
Come have lunch with me Arthur. Adventure will follow. This tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1295 times.
Similar Threads
about import, which is correct?
Watsh Rajneesh notes mistake???
ws bb1.1: Explanation needed for examples
Doubt in WSDL import element
#import' is not permitted as constrained by 'http://www.w3.org/2001/XMLSchema#schema_._type';
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 13:26:25.