Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about importing XML Schema in WSDL

 
Henry Zheng
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I believe that's a typo -- the <xsd:import/> element should only be allowed as a child to the top-level <xsd:schema/> element.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic