Return an XML string representing a SOAP complex type.

    Args:
      type_name: The name of the type with namespace prefix if necessary.
      value: A python dictionary to hydrate the type instance with.

    Returns:
      A string containing the SOAP XML for the type.

def GetSoapXMLForComplexType(self, type_name, value):
    """Return an XML string representing a SOAP complex type.

    Args:
      type_name: The name of the type with namespace prefix if necessary.
      value: A python dictionary to hydrate the type instance with.

    Returns:
      A string containing the SOAP XML for the type.
    """
    schema = self.suds_client.wsdl.schema
    definition_type = schema.elements[(type_name, self._namespace_override)]
    marshaller = suds.mx.literal.Literal(schema)
    content = suds.mx.Content(
        tag=type_name, value=value,
        name=type_name, type=definition_type)
    data = marshaller.process(content)
    return data