private TRESPONSE getResult<TRESPONSE>(System.ServiceModel.Channels.Message reply, CFInvokeInfo info){}
public static string ReadHeader(Message request, XmlObjectSerializer serializer){int headerIndex = request.Headers.FindHeader(HEADER_NAME, HEADER_NAMESPACE);if (headerIndex != -1){XmlNode[] contentNode = request.Headers.GetHeader<XmlNode[]>(headerIndex, serializer);string text = contentNode[0].InnerText;XmlSerializer deSerializer = new XmlSerializer(typeof(string));StringReader reader = new StringReader(text);string content = (string)deSerializer.Deserialize(reader);reader.Close();return content;}else{return null;}}
XmlNode[] contentNode = request.Headers.GetHeader<XmlNode[]>(headerIndex, serializer);