private static bool GetNSAndAssembly(Type type, out String ns, out Assembly assem)
{
Util.Log("SdlGenerator.GetNSAndAssembly "+type);
String xmlNamespace = null;
String xmlElement = null;
bool bInterop = false;
SoapServices.GetXmlElementForInteropType(type, out xmlElement, out xmlNamespace);
if (xmlNamespace != null)
{
ns = xmlNamespace;
assem = null;
bInterop = true;
}
else
{
// Return the namespace and assembly in which the type is defined
ns = type.Namespace;
assem = type.Module.Assembly;
bInterop = false;
}
return bInterop;
}