• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

XML/WSDL imports

 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
a excerpt from RMH:

There has been a lot of confusion about the purpose of the WSDL import element. Some believed it could be used to import either WSDL documents or XML schema documents, while others believed it was only for importing WSDL documents. Varying interpretations have created interoperability problems, so the Basic Profile specifies that a WSDL import element may refer only to WSDL documents. 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.

My Conclusion: XML imports are local to the element for which they have been defined. So these are local to the WSDL document in which they are defined, and are not visible to other document even if imported.

Correct?
 
Bob Nedwor
hangman
Ranch Hand
Posts: 215
Eclipse IDE Oracle Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isn't there a BasicProfile 1.0a Validator out there somewhere...where you can just put in the .wsdl and the errors are provided? Something similar to the XHTML Validator, but for .wsdl documents?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic