internal void WriteHeaderMethodSignature(NameInfo nameInfo, NameInfo[] typeNameInfos)
{
nameInfo.Dump("WriteHeaderString nameInfo");
attrList.Clear();
attrList.Put("xsi:type", "SOAP-ENC:methodSignature");
isUsedEnc = true;
if (nameInfo.NIisMustUnderstand)
attrList.Put("SOAP-ENV:mustUnderstand", "1");
attrList.Put("xmlns:"+nameInfo.NIheaderPrefix, nameInfo.NInamespace);
attrList.Put("SOAP-ENC:root", "1");
StringBuilder sb = new StringBuilder();
// The signature string is an sequence of prefixed types, where the prefix is the key to the namespace.
for (int i=0; i<typeNameInfos.Length; i++)
{ if (i > 0)
sb.Append(' ');
sb.Append(NameTagResolver(typeNameInfos[i], true));
}
NamespaceAttribute();
Write(InternalElementTypeE.Member, nameInfo.NIheaderPrefix+":"+nameInfo.NIname, attrList, sb.ToString(), true, true);
}