XML Schemas and Namespaces

All namespaces appear in the first <Envelope> element and look as follows:

<se:Envelope xmlns:se="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" 
xmlns:ve="http://www.velosel.com/schema/messaging-extension/1.0" 
xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://www.oasis-open.org/committees/ebxml-msg/schema/envelope.xsd
http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd  http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
  • xmlns:se="http://schemas.xmlsoap.org/soap/envelope/" is the reference to the SOAP Envelope, and defines the <Envelope>, <Header>, and <Body> tags.
  • xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" is the XML Schema instance namespace.
  • xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd" points to the ebXML Messaging Schema and defines the <MessageHeader>, <ErrorList>, and other ebXML Messaging elements. See (https://www.oasis-open.org/committees/download.php/6130/wd-ebMS-2_1-04.pdf).
  • xmlns:ve="http://www.velosel.com/schema/messaging-extension/1.0" is a dummy namespace required for extensions to the ebXML Messaging standard. It does currently not have a real XML schema attached to it.
  • The xsi:schemaLocation attribute maps the namespaces defined earlier to actual XML schemas.