コード例 #1
0
        public static MemoryStream GetSOAPBody(MemoryStream bodyContent)
        {
            if (bodyContent == null)
            {
                throw new ArgumentNullException("bodyContent");
            }

            XmlNode      body = GetSOAPBodyNode(bodyContent);
            MemoryStream ms   = CommunicationUtil.ConvertXmlNodeToMemoryStream(body);

            return(ms);
        }