private void EchoInput(IMessage reqMsg, IMessage respMsg) { IXMLSerializeData reqParams = reqMsg.Parameters; string inputString = reqParams.GetString(FindParam("Text", reqParams)); respMsg.Name = "EchoInputResponse"; respMsg.NamespaceURI = c_SOENamespace; respMsg.Parameters.AddString("Result", inputString); }
public void Deserialize(IXMLSerializeData data) { int elementIndex = -1; elementIndex = data.Find(m_xmlElementName); if (elementIndex > -1) { DecodeUserNamePassword(data.GetString(elementIndex)); } }
public void Deserialize(IXMLSerializeData data) { int idx = FindMandatoryParam("Name", data); this.Name = data.GetString(idx); idx = FindMandatoryParam("ID", data); this.ID = data.GetInteger(idx); idx = FindMandatoryParam("Extent", data); this.Extent = (IEnvelope)data.GetObject(idx, Constants.ESRINamespaceURI, "Envelope"); }
public void Deserialize(IXMLSerializeData data) { int elementIndex = -1; elementIndex = data.Find(m_xmlElementName); if (elementIndex > -1) { DecodeUserNamePassword(data.GetString(elementIndex)); } }
/// <summary> /// Deserialize the Raster Function from the datastream provided /// </summary> /// <param name="data">Xml stream to deserialize the function from</param> public void Deserialize(IXMLSerializeData data) { myName = data.GetString(data.Find("Name")); myDescription = data.GetString(data.Find("Description")); myPixeltype = (rstPixelType)(data.GetInteger(data.Find("PixelType"))); }
/// <summary> /// Deserialize the Raster Function from the datastream provided /// </summary> /// <param name="data">Xml stream to deserialize the function from</param> public void Deserialize(IXMLSerializeData data) { myName = data.GetString(data.Find("Name")); myDescription = data.GetString(data.Find("Description")); myPixeltype = (rstPixelType)(data.GetInteger(data.Find("PixelType"))); }