This documentation is archived and is not being maintained.

<interopXmlType> Element

This topic is specific to a legacy technology that is retained for backward compatibility with existing applications and is not recommended for new development. Distributed applications should now be developed using the  Windows Communication Foundation (WCF).

Creates a bidirectional map between a common language runtime type and an XML type and XML namespace. You use this element when a type is specified with the xsi:type attribute in SOAP. This element may occur in an application configuration file, machine configuration file.

   clr="FullTypeName, AssemblyName"  
   xml="XmlType, XmlNamespace" 

The following sections describe attributes, child elements, and parent elements.


Attribute Description


Required attribute.

Specifies the full type name and assembly name of the type for which you want to create mapping to an XML type and XML namespace. This includes version, culture, and public key information if the containing assembly is in the global assembly cache.


Required attribute.

Specifies the XML type name and the XML type namespace for which you want to create a mapping to a type and assembly.

Child Elements


Parent Elements

Element Description


Contains information about remote objects the application consumes and exposes.


The root element in every configuration file used by the common language runtime and .NET Framework applications.


Contains type mappings used with SOAP.


Contains information about remote objects and channels.

The following example associates the element ElementName and the XML namespace Example:mynamespace with the .NET type TypeName implemented by the AssemblyName assembly. The same is true of the XML type and namespace.

      <application name="soapInterop">