Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Question about importing XML Schema in WSDL

 
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 ]
 
author
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.
 
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
    Bookmark Topic Watch Topic
  • New Topic