internal static String GetXmlNamespaceForType(Type type, String dynamicUrl)
{
String typeName = type.FullName;
Assembly assem = type.Module.Assembly;
StringBuilder sb = new StringBuilder(256);
Assembly systemAssembly = typeof(String).Module.Assembly;
if(assem == systemAssembly)
{
sb.Append(SoapServices.namespaceNS);
sb.Append(typeName);
}
else
{
sb.Append(SoapServices.fullNS);
sb.Append(typeName);
sb.Append('/');
sb.Append(assem.nGetSimpleName());
}
return sb.ToString();
} // GetXmlNamespaceForType