Monday, February 15, 2010

WSDL import and XSD import

an interesting article on the mysteries of WSDLs... its conclusions are:
  • It is a good practice to use XSD imports to import schema, and to use WSDL imports to import WSDL.
  • It is a good practice to import all of the namespaces that you use.
  • An attribute value of the import namespace must match the imported targetNamespace value.
  • The primary purpose of an import statement is to import namespaces. The schemaLocation and location attributes, though sometimes necessary, are really only hints.

No comments: