• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

question on xsi.schemaLocation and SOAP message

 
William Wayne
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have a question when I was reading "J2EE Web Services" by RHM (third print).

As we know, a XML document which refers to a XML schema will use xsi.schemaLocation to point to the real location of the XML schema. The following is an example from page 57 of this book:

//////////////////////////////////////////////////////
<?xml version="1.0" encoding="UTF-8"?>
<purchaseOrder
xmlns="http://www.monson-haefel.com/jwsbook" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.monson-haefel.com/jwsbook
http://www.monson-haefel.com/jwsbook/po.xsd">
....
....
</purchaseOrder>

/////////////////////////////////////////////////////
But in page 91, the book says:

The xsi.schemaLocation attribute (the attribute that provides the URL of the schema) may be declared for validation, but in most cases the SOAP stack will have handled this matter at design time so that explicit declaration of the xsi:schemaLocation in a SOAP message is not necessary.

What does it mean? What does "design time" means here?

Thanks,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic