Feedback

  • Contents
 

Appendix A: SOAP Transport Information and Control

The transport info structure must have a TransportInfo root element that is in no namespace.  It must have a name attribute that contains the name of the transport.  The transport name is useful for debugging, tracing, or to perform transport specific operations.  However, this Transport Information is not defined by the SOAP specification.  The TransportInfo element may have any number of child elements.  The following is the schema for the Transport Info structure.  For efficiency, a client may chose not to include transport information, but still send the transport name.  In this case, the TransportInfo element will be empty.

<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <xsd:element name="TransportInfo" type="TransportInfoType"/>
  <xsd:complexType name="TransportInfoType">
    <xsd:attribute name="name" type="xsd:string" use="required"/>
    <any minOccurs="0" maxOccurs="unbounded"/>
    <anyAttribute/>
  </xsd:complexType>
</xsd:schema>The Transport Control structure must have a TransportCtrl root element that is in no namespace. It may contain any number of attributes or child elements:

<?xml version="1.0"?> <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">   <xsd:element name="TransportCtrl" type="TransportCtrl"/>   <xsd:complexType name="TransportCtrl">     <any minOccurs="0" maxOccurs="unbounded"/>     <anyAttribute/>   </xsd:complexType>