internal void WriteSerializationHeader(int topId, int headerId, int minorVersion, int majorVersion)
{
InternalST.Soap( this,"WriteSerializationHeader");
this.topId = topId;
this.headerId = headerId;
// write start of header directly to stream
switch(xsdVersion)
{
case XsdVersion.V1999:
InternalST.InfoSoap(_soapStart1999Str,">");
stream.Write(_soapStart1999, 0, _soapStart1999.Length);
break;
case XsdVersion.V2000:
InternalST.InfoSoap(_soapStart2000Str,">");
stream.Write(_soapStart1999, 0, _soapStart2000.Length);
break;
case XsdVersion.V2001:
InternalST.InfoSoap(_soapStartStr,">");
stream.Write(_soapStart, 0, _soapStart.Length);
break;
}
writer.Write(">\r\n");
} // InternalWriteSerializationHeader