The disclosure is directed to a method of mapping an interface definition
language (IDL) based communication to a simple object access protocol
(SOAP) based communication. The method includes receiving an IDL schema
to be mapped to an XML schema and processing the IDL schema. The IDL
schema may be processed to identify IDL identifiers having an added
prefix, an IDL union element having a boolean discriminator type, or an
IDL interface type that includes a constant string. The method may also
include mapping each of the IDL identifiers by removing the added
prefixes, an optional element of the IDL union element to a first XML
schema type having different minimum and maximum occurs values, or the
IDL interface type by creating an XML schema enumeration having a value
set to a string value of the constant string. The method further includes
generating the XML schema.