2.3.5 ConnectionInfo

Contains the information used to establish a connection to a data source.

Parent Elements

DataSource

Child Elements

Authentication

SelectCommand

UpdateCommand

WsdlUrl

Attributes:

AltDataSource: A Uniform Resource Locator (URL) to another UDC file in the same library. The protocol server MUST NOT support absolute URLs for this value. The protocol server MUST use the UDC file specified in this attribute instead of the current UDC file.

Purpose: Determines whether the connection is for a query or submit operation. MUST be one of the following values: "ReadOnly", "WriteOnly", or "ReadWrite". MUST be ignored by the protocol server.

The following W3C XML Schema ([XMLSCHEMA1] section 2.1) fragment specifies the contents of this element.

 <xsd:element name="ConnectionInfo">
   <xsd:complexType>
     <xsd:all>
       <xsd:element name="WsdlUrl" minOccurs="0" type="xsd:string"/>
       <xsd:element ref="udc:SelectCommand"/>
       <xsd:element ref="udc:UpdateCommand"/>
       <xsd:element ref="udc:Authentication" minOccurs="0"/>
     </xsd:all>
     <xsd:attribute name="Purpose" use="required">
       <xsd:simpleType>
         <xsd:restriction base="xsd:string">
           <xsd:enumeration value="ReadOnly"/>
           <xsd:enumeration value="WriteOnly"/>
           <xsd:enumeration value="ReadWrite"/>
         </xsd:restriction>
       </xsd:simpleType>
     </xsd:attribute>
     <xsd:attribute name="AltDataSource" type="xsd:string" use="optional"/>
   </xsd:complexType>
 </xsd:element>